Skip to Content
Former Member
Jul 08, 2019 at 07:56 PM

Add to cart multiple Products


Let's say I receive a list of products from frontend to add to cart. Currently I will iterate over the product codes and use OOTB DefaultCommerceAddToCartStrategy#addToCart for adding each product one by one which is relatively slow.

Is there any other way to improve this?

Note: Diverse list of products hence cannot bundle.