That Software Guy, Inc.'s Logo

Software Consulting Services
Need Help? Call That Software Guy!

buy the set

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

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

Combination Discounts with 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.

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.

  I charge a fee of $30 for Buy The Set.


Want more Zen Cart?     Tips and Tricks     Contributions     Extensions     Custom Software     Newsletter

   Terms | Privacy | SiteMap | Newsletter | Contact Me | ©2003-2008 That Software Guy, Inc.