Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Only allow 1 kind of product in an order

 
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 03-22-2020, 09:23 PM
 
siddharth.puri@wheelandba siddharth.puri@wheelandba is offline
 

Advanced Member
  
Join Date: Nov 2019
Posts: 50
 

Default 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
__________________
Siddharth Puri
Version 5.3.6.1
Reply With Quote
  #2  
Old 03-23-2020, 05:07 AM
 
Ed B. Ed B. is online now
 

eXpert
  
Join Date: Apr 2016
Posts: 297
 

Default 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?
__________________
X-cart 5.2.12, php 5.6
Ed from Grenoble, France
Reply With Quote
  #3  
Old 03-23-2020, 08:43 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 13,839
 

Default 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.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:12 AM.

   

 
X-Cart forums © 2001-2020