Author |
Topic  |
|
vaheh
VP-CART New User

USA
115 Posts |
Posted - August 05 2013 : 14:28:32
|
Hi,
Is there a way to force customer to only one Item from Category A and if he wants he can select One Item from Category B but he can''t select more than one Item at the same time from one specific Category.
Lets say if they have selected Halo-Ring in that order session they can''t select another Ring base but they can select one Diamond from Diamond Category.
Thanks, Vaheh |
|
carfin
VP-CART Expert
  
United Kingdom
948 Posts |
Posted - August 06 2013 : 03:43:06
|
Hi,
the only way to do this would be to add code for a category check in shopaddtocart.asp and display an appropriate message to your customer that they cannot add another item from that category. In my opinion it''s never a good idea to tell a customer they cannot do something - if you do, they will most likely go elsewhere.
Regards,
Carrol www.deanston-electrical.co.uk |
 |
|
vaheh
VP-CART New User

USA
115 Posts |
Posted - August 06 2013 : 11:13:56
|
Hi Carrol,
Thank you for your response. Message is out of the menu since they can disregard it easily.
This website is going to be a very special website for this purpose I need to have something like this.
Thanks, Vaheh
|
 |
|
carfin
VP-CART Expert
  
United Kingdom
948 Posts |
Posted - August 06 2013 : 11:47:49
|
Hi Vaheh,
I have had a look at the code and the cart does not store the category id of any product because products can belong to more than one category, so this would not be the solution. I will think a bit more on this. Maybe others in the forums can try and figure out a way round this.
Regards,
Carrol www.deanston-electrical.co.uk |
 |
|
vaheh
VP-CART New User

USA
115 Posts |
Posted - August 13 2013 : 17:55:53
|
Hi Carrol,
Thank you so much.
Thanks, Vaheh |
 |
|
|
Topic  |
|