Mutually Exclusive Products?
I want to be able to sell products that cannot be combined - if they add item A to their cart, then try to add item B, it should remove item A and then add item B. If then then add item A again, it should remove item B and add item A.
I'm happy to write the code to do the add/remove, but I'm unsure where in the architecture of zc this best belongs.
Can anyone offer a tip?
Re: Mutually Exclusive Products?
Check the wiki. Wilt has a tutorial in the Developer's API section that describes setting up a buy-$x-get-free-gift, and part of the code for that would be similar to what you want to do.
By zytroop in forum Setting Up Categories, Products, Attributes
Last Post: 13 Oct 2009, 03:36 AM
By elegantgowns in forum Setting Up Categories, Products, Attributes
Last Post: 5 Feb 2008, 05:39 AM
By mouse13 in forum Setting Up Categories, Products, Attributes
Last Post: 8 Aug 2006, 08:44 PM
Content and Graphics Copyright (c) 2003 - 2013 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC