Jump to content

Prevent product to be added to cart if shipping is not compatible with products already in cart

Mercader Virtual

Recommended Posts


This is the situation:

I have Product A that can be shipped only with Carrier 1.
I also have Product B, but this one can only be shipped with Carrier 2.

If user adds Product A to cart, I would like to throw an error and prevent the user to add Product B to cart, since there's a mismatch with the carriers.

Prestashop allows both products to be added but it doesn't show any carrier available, I guess because the incompatibility. This represents a serious UX problem since user doesn't have a clue what's going on, which will result in a lost customer.

By preventing the user to add an incompatible product to cart, and letting her know why the product can't be added, will improve a lot the shopping experience.

I will appreciate any comments on this matter.


Edited by Mercader Virtual (see edit history)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More