1

I need to implement a functionality that do this :

After an api call, I get some SKU of product. This product needs to be added to the cart, but as a free product.

By doing this, this could cause a conflict issue with a possible existing product not free already in the cart

How to achieve this ?

1) Add a free product to cart

2) Avoid conflicts with existing product

Any help would be appreciated. Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.