Buy The Set for Combination Discounts
Buy the Set is a Zen Cart™ extension which allows
your customers to purchase all items in a
Combination Discounts
grouping with a single click. The items must be products (specified
with PROD) which do not have attributes.
Relevance: Zen Cart™ 1.3.5 and forward, with
Combination Discounts
Cost: $30
Support Thread: My commercial software is not supported on the Zen Cart forum. Please email me questions instead.
FAQ: click here
See it Live: Go to
product 9 in my demo shop you will see the cross-sell message for two
other products,
along with a button that allows all three products to be purchased with a single click.
The code that created this Combination Discounts linkage was:
$this->add_linkage(PROD,12,1,PROD,9,1,PROD,18,1,"$", 30);
If you add all these products to your cart, you will be able to see the
discount in your cart because of
Discount Preview
Overview:
This product complements my
Combination Discounts extension by allowing you to have a single button
that adds all the items to the cart.
The button is displayed on the product info page for products which do not have attributes and which are linked using an add_linkage() statement with only PROD purchases specified.
Product Info Page displaying Buy The Set
Restrictions
- The linkage must be use PROD purchases only; linkages with CAT or PRICE will not display a "buy the set" button.
- The products in the linkage must not have attributes.
- The marketing text must be at the very top (recommended) or the very bottom of the
page. Details are provided in the README file.
- Buy The Set is for Combination Discounts only; it does not understand Better Together linkages.
For Better Together, see
Buy Both Now.
Installation Problems:
The most common installation problems for this module are as follows:
- Forgetting to put the marketing text either before or after the form (see the README that comes with the module.
If you are having trouble installing this module, you should also refer
to my
Guide to Mod Installation on Zen Cart.
I'm also happy to install any of my mods for a fee.
FAQ
Q: Why doesn't Buy The Set work with products with attributes?
A: Buy The Set automatically adds the items in the discount to the cart.
You can't just add something with attributes to the cart automatically because you don't know the correct attribute settings; there are as many possibilities as the arithmatic product of the number of options. There's no way to know which
one is right.
So then the customer would have to go in and modify that item and add a new one with the correct attributes (because you can't edit an item in the cart), and then delete the old one. In addition, if there was javascript validation of the attributes,
this would be sidestepped if I allowed Buy The Set to automatically add
items to the cart. So given all these complications, I decided to not allow it
and clearly advertise this fact.
Make your payment by PayPal. You will receive
further instructions after payment. Thank you!
I charge a fee of $30 for Buy The Set.
Want more Zen Cart?
Tips and Tricks
Contributions
Extensions
Custom Software
Newsletter