That Software Guy, Inc.'s Logo

Software Consulting Services
Need Help? Call That Software Guy!

buy both now

Buy Both Now for Better Together

Buy Both Now is a Zen Cart™ extension which allows a shopowner to facilitate the one-click purchase of a combination of items grouped using my Better Together Contribution.

Relevance: Zen Cart™ 1.3.5 and forward, with Better Together

Cost: $30

FAQ: click here

See it Live: Go to product 3 in my demo shop you will see the cross-sell message for product 25, along with a button that allows both products to be purchased with a single click. The code that created this Better Together linkage was:
         $this->add_prod_to_prod(3, 25, "%", 50);


Overview:

This product complements my Better Together contribution by allowing you to have a single button that adds both items to the cart - just like Amazon does. The button is displayed on the product info page for products with no attributes which are linked using add_prod_to_prod.






Product Info Page displaying Buy Both Now

Better Together with Buy Both Now

Restrictions

  • The linkage must be add_prod_to_prod(). Linkages like add_cat_to_cat() and add_prod_to_cat() will not display a "buy both now" button.
  • The product must not have attributes. If you look at product 14 in my demo shop you will see that since it has attributes, it does not display a "buy both now" button.
  • The marketing text must be at the very top (recommended) or the very bottom of the page. Details are provided in the README file.
  • Of course it works for twoforone_prod linkages! Look at product 6 in my demo shop for an example.
  • Buy Both Now is for Better Together only; it does not understand Combination Discounts linkages.
  • For Combination Discounts, see Buy The Set.

FAQ

Q: Why doesn't Buy Both Now work with products with attributes?
A: Buy Both Now automatically adds the two items 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 Both Now 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 Both Now.


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

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