Jump to content

Getting errors for mixed carts with no valid couriers


Recommended Posts

Hi all,

 

This is driving me crazy - I really hope someone can help me.

 

My website is based in the UK. We ship internationally but some products can't be sent by international post because they are aftershave which is not allowed.

 

In Prestashop 1.6.0.11 I have UK carriers and International carriers setup. For all of the products that can't be sent by international post I set the UK carriers to be the selected carriers for those products.

 

If someone adds one of the restricted products to the shopping basket then everything works ok, if the customer is UK then it will show the UK carriers, if the customer is international then the basket warns them that there are no available carriers and doesn't let them proceed.

 

The problem is when the customer has two products or more in their basket and it is a mixture of products that can and can't be sent by the international carriers. Prestashop tries to be clever and split the products into different orders but one order is left with just prohibited products on and it can't assign a carrier to it. This results in either an error in the checkout for the customer (a broken page) or sometimes it will allow the order to be placed but without a carrier assigned.

 

Does anyone know if it is possible to change it so that if there are some products in the basket with no suitable carriers for the delivery address then it will not allow the customer to place the order.

 

Thanks

 

Link to comment
Share on other sites

×
×
  • Create New...