Choice of Two products but you May Only Order One

General ShopSite user discussion

Choice of Two products but you May Only Order One

Postby results » Thu Dec 08, 2011 9:40 am

Is it possible to have two products offered to the customer, but they can only purchase one of them? That is, they cannot order 1 of SKU 01 and 1 of SKU 02. If they put SKU 01 in their cart, they cannot add SKU 0002. If they remove SKU 01 from their cart, they can add SKU 02 to their cart .. and visa versa.

I found a forum post on here that says I can limit the quantity WITHIN SKU 01 and SKU 02. Either/or Radio button option? Of course it needs to tell the back end which product was chosen and separate shipping rates apply, so SKU 02 cannot merely be a variation of SKU 01.

Obviously this is contrary to wanting to sell lots of items, but it is due to a special promotion.
results
 
Posts: 5
Joined: Thu Dec 01, 2011 10:53 pm

Re: Choice of Two products but you May Only Order One

Postby Jim » Thu Dec 08, 2011 11:03 am

There is no built in way to handle this. You might be able to add some custom javascript to check if product 1 and 2 are in the cart at checkout time and if they are both there then prevent the checkout process from proceeding and provide an error saying they can only checkout with one of them so they need to remove one. Once they have just one in the cart the javascript could allow the checkout to proceed.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 89 guests