From c1565c53a3d61f712f3f6079cacad72bec0dafe7 Mon Sep 17 00:00:00 2001 From: Kekeocha Justin Chetachukwu <39213342+justinkekeocha@users.noreply.github.com> Date: Mon, 18 Sep 2023 18:51:56 +0100 Subject: [PATCH] docs: update for clarity Signed-off-by: Kekeocha Justin Chetachukwu <39213342+justinkekeocha@users.noreply.github.com> --- docs/cart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cart.md b/docs/cart.md index 56c103bfd..48e6f085f 100644 --- a/docs/cart.md +++ b/docs/cart.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. ## Fill the cart