From 5ad6b8aaeca94369c71722b3a8934a873203375d Mon Sep 17 00:00:00 2001 From: Kekeocha Justin Chetachukwu <39213342+justinkekeocha@users.noreply.github.com> Date: Mon, 18 Sep 2023 18:53:55 +0100 Subject: [PATCH] Update payment.md Signed-off-by: Kekeocha Justin Chetachukwu <39213342+justinkekeocha@users.noreply.github.com> --- docs/payment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/payment.md b/docs/payment.md index b3cb33668..87cd8a897 100644 --- a/docs/payment.md +++ b/docs/payment.md @@ -84,7 +84,7 @@ class Item extends Model implements ProductLimitedInterface ``` I do not recommend using the limited interface when working with a shopping cart. -If you are working with a shopping cart, then you should override the `PurchaseServiceInterface` interface. +If you are working with a shopping cart, then you should override the `ProductLimitedInterface` with the `PurchaseServiceInterface` interface. With it, you can check the availability of all products with one request, there will be no N-queries in the database. ## Proceed to purchase