X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   General questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=66)
-   -   Only allow 1 kind of product in an order (https://forum.x-cart.com/showthread.php?t=77730)

siddharth.puri@wheelandba 03-22-2020 09:23 PM

Only allow 1 kind of product in an order
 
Hi is there a way to stop the customers from buying other products in cart if a certain product is in cart.

I am selling a specific item that will be shipped from a 3rd party location . Therefore I don't want anything else bought with it in that order.

is it possible?

Thanks and Regards,
Siddharth Puri

Ed B. 03-23-2020 05:07 AM

Re: Only allow 1 kind of product in an order
 
Even if you manage to make it work. it will be confusing for the clients. Why don't you open separate shops?

cflsystems 03-23-2020 08:43 AM

Re: Only allow 1 kind of product in an order
 
Quote:

Originally Posted by siddharth.puri@wheelandba
Hi is there a way to stop the customers from buying other products in cart if a certain product is in cart.

I am selling a specific item that will be shipped from a 3rd party location . Therefore I don't want anything else bought with it in that order.

is it possible?

Thanks and Regards,
Siddharth Puri





It is possible with custom module. However with something like this you may just angry customers. Instead why not setup fixed freight shipping cost for that product - then your shipping will go up to cover the cost.


Otherwise having a custom module for this you have to inform customers when product is added why no more can be added and to place separate order for the rest. If cart already has any other products and customer is trying to add the restricted one - what do you do - prevent them from adding it or empty the cart and add the restricted product?
In any case this is not a customer friendly action.


If this is just for one product then like I said have it setup with fixed freight, if more than one - maybe you should have separate store for these products.


All times are GMT -8. The time now is 07:46 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.