Skip to content

Commit

Permalink
Update payment.md
Browse files Browse the repository at this point in the history
Signed-off-by: Kekeocha Justin Chetachukwu <[email protected]>
  • Loading branch information
justinkekeocha authored Sep 18, 2023
1 parent a83b72a commit 5ad6b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/payment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ad6b8a

Please sign in to comment.