That Software Guy! eCommerce Starts Here!

Zen Cart Better Together Centerbox

Better Together Centerbox
The Better Together Centerbox is a centerbox - just like the New Products, Featured Products and Monthly Specials Centerboxes. It shows off all your Better Together linkages. It appears on your main page and may (optionally) also be put on the index page for categories and product lists, the product info page and the shopping cart page.

Donate: This is free software. Show your appreciation by supporting my efforts. Donate

Relevance: Zen Cart™ 1.3.9 and 1.5.x, along with Better Together.

This extension is part of the Better Together World.

Current Version: 1.0a (1.0f for I Want Both)
Occasionally, new features are documented prior to being publicly available; please check the version history to ensure the feature you want is available in your version.

Support Thread: Better Together Centerbox Support Thread

Cost: The Better Together Centerbox is Free, but donation appreciated.
The I Want Both button is $20.00. Buy Better Together Centerbox with I Want Both!

Installed Cost: $60 Buy professional installation by That Software Guy

Installation Instructions: click here

Installation Difficulty: Easy-Moderate

Location: Zen Cart Downloads page, under Marketing Tools

Download: Better Together Centerbox from Zen Cart Downloads Page

Buy: Buy Better Together Centerbox with I Want Both! Or email your pre-purchase question to .

FAQ: click here

See it live: Sample Better Together Discount Centerbox
(Note that the sample also uses I Want Both.)

Bugs: click here

osCommerce User? This is a Zen Cart page. Look at the Better Together for osCommerce World for osCommerce help.

The Better Together Centerbox displays your Better Together discounts on your main page with descriptive text and images. Discounts are shown in a series of table rows that look like this:
Better Together Centerbox
If desired, you can also add a button to buy both products with one click. This is a paid upgrade to the Better Together Centerbox.

Note that for the I Want Both button to work, both items in the Better Together linkage must be products, and neither may have non-defaultable attributes. (In other words, add_prod_to_prod and add_twoforone_prod linkages are supported.)
(Note: Products with defaultable attributes may be used, if you have installed my Default Attribute mod.)
Better Together Centerbox with I Want Both

The Better Together Centerbox with I Want Both is $20.00. (Note: this low price covers software only for self-installation.)

Buy Now

Would you like to ask me questions before buying? I'm happy to help likely purchasers make the right decision. Just email your inquiry to . Please be sure to include your cart type and version (e.g. Zen Cart 1.5.1, OpenCart 2.3.02, osCommerce 2.4, etc.) and the mod you want to buy.

Note that for I Want Both to work, both items in the Better Together linkage must be products, and neither may have non-defaultable attributes. The discount will still be displayed but the button will not if either item is a category or a product with non-defaultable attributes.

Note that I Want Both works best with Discount Preview. This way, customers can see their discount on the shopping cart page instead of having to wait for the Checkout Payment page.

Installation Instructions:

  1. Back up everything! Try this in a test environment prior to installing it on a live shop.
  2. Copy the contents of the unzipped folder to the root directory of your shop.
    The names of these files reflect a template name of "custom." If you are using a different template name, please change file paths using "custom" to use your template name instead. Note: If you are using Zen Cart 1.5.5 or higher, your template name will be "responsive_classic" if you have not changed it.
  3. You may also add the Better Together Centerbox to the following other pages:
    Just copy these files from includes/templates/template_default/templates to includes/templates/YOUR_TEMPLATE/templates (if they don't already exist). Then for each one, look for the line that starts with "while" and put the following line right before it:
           DIR_WS_TEMPLATE, $current_page_base,'templates'). 
  4. The default number of offers to be shown is three; to change this number, just change the variable $MAX_BETTER_TOGETHER_OFFERS in includes/templates/YOUR_TEMPLATE/templates/tpl_modules_better_together.php

Major Versions for Better Together Centerbox

  • 1.0a 04/09/2011 - Small bug fix in includes/templates/custom/templates/tpl_index_default.php
  • 1.0 04/02/2011 - First Release

Major Versions for Better Together Centerbox with I Want Both

  • 1.0f 08/01/2016 - Adding Default Attribute support.
  • 1.0e 03/08/2012 - Update for Zen Cart 1.5.0.
  • 1.0d 11/02/2011 - Packaging error in 1.0c.
  • 1.0c 10/15/2011 - IWB button wrong for prod to prod.
  • 1.0b 07/16/2011 - Validation error in form.
  • 1.0a 04/09/2011 - Small bug fix in includes/templates/custom/templates/tpl_index_default.php
  • 1.0 04/02/2011 - First Release


  • In version 1.0 there was a defect in ./includes/templates/custom/templates/tpl_index_default.php; this was fixed in version 1.0a.


Q: What's the difference between the Better Together Centerbox and I Want Both, Buy Both Now and the Better Together Promotional Page with Add Both to Cart?
A: They're all separate products. Buy Both Now works with the marketing text on the product info page; Add Both to Cart works on the Promotional page, the Centerbox (and I Want Both) displays on the main page.

Q: What do you mean by "defaultable attributes" or "single valued defaultable attributes?"
A: The two terms mean the same thing. They're just attributes for which a default value can be selected without needing input from the product info page. "Single valued" means the attribute has just one value. For example, a radio button with just one value (such as "PDF" or "ZIP file") is single valued. A radio button with two values (such as "red" or "green") would not be single valued. Similarly, "defaultable" means the single value can be easily set without needing additional input. For example, product with a single TEXT attribute would be single valued but not defaultable, since it's not known what the correct value would be. Similarly, a product requiring a file upload would not be defaultable.

Note that in order to take advantage of defaultable attributes, you need my Default Attribute contribution.

I charge a fee of $20.00 for the Better Together Centerbox with I Want Both. Buy Now!
The fee covers software only; installation is extra if you require help.