What's on Sale?
Image by opacity

What's On Sale?

What's on Sale is a Centerbox mod. It looks like the Specials Centerbox, but instead of displaying Specials it displays Sales.

Donate! Show your appreciation by supporting my efforts.

Relevance: Zen Cart™ 1.3.9, 1.5.0

Current Version: 1.0.1 (See version history).

Cost: Free, but donation appreciated

Installation Instructions: click here

Location: Zen Cart Downloads page, under Marketing Tools.

Download: What's on Sale on the Zen Cart Downloads Page

Support Thread: What's on Sale? Support Thread

Overview:

What's on Sale is a Centerbox mod which acts like the Specials Centerbox, except for Sales. It has all the same configuration switches as the Specials Centerbox.

Note that unlike Specials, there is no "Sales" page in the Categories sidebox; the What's on Sale mod only provides a Centerbox.

The Centerbox may show sale categories (see image on the left) or products (see image on the right).

What's On Sale showing categories What's On Sale showing products


The Centerbox is shown by default only on the main page. You may also show it on the category with subcategories page, errors and missing products page, product listing page, and empty shopping cart page by installing the optional files.

Details:

Sales and Specials are two different things in Zen Cart. Specials are item by item price reductions. Sales are price reductions which are given on entire categories of items. Sales are created using the Admin menu item in Admin->Catalog->SaleMaker.

Because the Sale and Special facilities are separate, items can be on sale and special at the same time. There are rules which govern price computation when an item is both on sale and on special, which are based on the setting you used when you created the sale.

You may configure the sale to do any of these three things:
  • Ignore Specials Price - Apply to Product Price and Replace Special
  • Ignore SaleCondition - No Sale Applied When Special Exists
  • Apply SaleDeduction to Specials Price - Otherwise Apply to Price
The configuration setting you have chosen is shown on the second line next to the image when sale categories are shown (see image on the left above). You may of course not show this simply by changing the language file for this mod.

Installation Instructions:

This mod assumes your template name is "custom." If you have used another template name, use that name when installing this mod instead of custom.
  1. Back up everything! Try this in a test environment prior to installing it on a live shop.
  2. Unzip the file you have received.
  3. Copy the contents of the unzipped folder to the root directory of your shop. Note: be sure to substitute your template's name for "custom". For instance, if your template is named "mystore", then
    ./includes/modules/custom/sales_index.php
    
    would go in
    ./includes/modules/mystore/sales_index.php
    
  4. Run the script
    install.sql
    
    against your database using your Admin panel under Admin->Tools->Install SQL patches.
  5. Configuration settings are provided in
    • Admin->Configuration->Maximum Values
    • Admin->Configuration->Stock
    • Admin->Configuration->Index Listing
    You will probably want to set one of "Maximum Display of Sale Products" or "Maximum Display of Sale Categories" in the admin screen Admin->Configuration->Maximum Values to 0 (I think it looks better with one or the other, but it's up to you).
  6. If you would also like to see the What's on Sale centerbox on the category with subcategories page, errors and missing products page, product listing page, and empty shopping cart page, install the files in "optional", again substituting your template name for "custom".
  7. Donate! Show your appreciation by supporting my efforts.

Like What's on Sale?

I have lots of other cool software for the rest of your Zen Cart. Please consider supporting my work by buying software or making a donation.

Major Versions

  • 1.0.1 11/06/2010 - Issue with a single category being on sale
  • 1.0 11/01/2010 - First Release




Certificates of appreciation most welcome!
If the information you learned reading this site is helping your store make more money, please consider making a donation. Thank you!


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

Terms | Privacy | SiteMap | Newsletter | Contact Me | Contents © 2003-2011 That Software Guy, Inc.
Zen Cart Project Home Page | Zen Cart Forum | Zen Cart™ is © Zen Ventures, LLC.