Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP 7.0 Questions
 Force Customer to one product per cateogory
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

vaheh
VP-CART New User

USA
115 Posts

Posted - August 05 2013 :  14:28:32  Show Profile  Visit vaheh's Homepage  Reply with Quote
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  Show Profile  Reply with Quote
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
Go to Top of Page

vaheh
VP-CART New User

USA
115 Posts

Posted - August 06 2013 :  11:13:56  Show Profile  Visit vaheh's Homepage  Reply with Quote
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
Go to Top of Page

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - August 06 2013 :  11:47:49  Show Profile  Reply with Quote
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
Go to Top of Page

vaheh
VP-CART New User

USA
115 Posts

Posted - August 13 2013 :  17:55:53  Show Profile  Visit vaheh's Homepage  Reply with Quote
Hi Carrol,

Thank you so much.

Thanks,
Vaheh
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00