Hello,
I need help with a marketplace.
I want to make sure that when the user already has the product in the shopping cart, he can’t add it again.
I’ve tried this but nothing works.
thanks for your help.
Hello,
I need help with a marketplace.
I want to make sure that when the user already has the product in the shopping cart, he can’t add it again.
I’ve tried this but nothing works.
thanks for your help.
Hey @victor11 ,
The expression to check if the product is already added in the user’s cart seems to fine. The 2 reasons which might cause the issue:
Another optimisation you should try is to apply the condition on the 1st block instead of 2nd to avoid creating the records is the product is already added to user’s cart.
This topic was automatically closed after 70 days. New replies are no longer allowed.