
Zen Cart Sale Ending/Special Ending
Sale Ending/Special Ending is a Zen Cart™ contribution which displays the end date of a sale or special. The end date is shown if an Expiry Date is set on the special (Admin > Catalog > Specials) or an End Date is set on a sale (Admin > Catalog > Salemaker).Donate! Show your appreciation by supporting my efforts.
Relevance: Zen Cart™ 1.3.9, 1.5.x
Current Version: 1.3 (Sale Ending/Special Ending), 1.3 (on Listing Pages), 1.0 (in Centerboxes) (version history)
Support Thread: Sale Ending/Special Ending Support Thread
Cost: The basic show end date on the product info page is free, but a donation is appreciated.
The extension which shows the sale / special ending on listing pages is $20.

The extension which shows the sale / special ending on centerboxes is $20.

Would you like to ask me questions before buying? I'm happy to help likely purchasers make the right decision. Just use my contact form.
Installation Instructions: click here
Installation Difficulty: Moderate (Some file merging)
Location: Zen Cart Plugins, under Marketing Tools.
Download: Sale Ending/Special Ending in Zen Cart Plugins
Buy:
The extension which shows the sale / special ending on listing pages is $20. Buy Now!
The extension which shows the sale / special ending on centerboxes is $20. Buy Now!
Pre-purchase questions? No problem! Just click here.
FAQ: click here
Overview:
This contribution shows the date when a sale or special ends.E-Commerce expert Jason Billingsley sent out this tweet a while ago:

The Sale Ending/Special Ending mod enables you to do this on the product info page. The default display without the Sale Ending/Special Ending mod is as follows:

With the Sale Ending/Special Ending mod, the end date is shown if an Expiry Date is set on the special (Admin > Catalog > Specials) or an End Date is set on a sale (Admin > Catalog > Salemaker).

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. 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.- Back up everything! Try this in a test environment prior to installing it on a live shop.
- Unzip the file you have received.
- Copy the contents of "common_files" to the root directory of your shop.
-
Use
zc138, zc139 or zc150
, depending on which version of Zen Cart you have. Merge the files in with what you have in your cart. NOTE that these files assume your template name is "custom," so any file with "custom" in its name will need to be renamed if you are using a different template name. - Donate! Show your appreciation by supporting my efforts.
- Edit the file
includes/functions/extra_functions/sale_special_ending.php.
-
Change the last parameter in the function sale_special_ending to true, i.e.
function sale_special_ending($id, $longdate = true, $one_day_back = true)
Like Sale Ending/Special Ending?
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.Showing Sale Ending/Special Ending on Listing Pages


Sale Ending / Special Ending on listing pages is only $20.00! It shows the Sale Ending / Special Ending text on the All Products, New Products, Featured Products, Search Results and manufacturer and category listing pages.
Showing Sale Ending/Special Ending in Centerboxes

Sale Ending / Special Ending on Centerboxes is only $20.00! It shows the Sale Ending/Special Ending text in the centerboxes for New Products, Featured Products and Specials.
Major Versions of Sale Ending/Special Ending
- 1.3 01/03/2015 - Updated for 1.5.3
- 1.2 11/06/2011 - Updated for 1.5.0
- 1.1 03/01/2011 - Update to allow people to quote the date as 1 day before the Zen expiry date.
- 1.0 06/01/2010 - First Release
Major Versions of Sale Ending/Special Ending in Centerboxes
- 1.0 12/01/2012 - First Release
Major Versions of Sale Ending/Special Ending on Listing Pages
- 1.3 09/18/2016 - Updated for Zen Cart 1.5.5a
- 1.2 01/03/2015 - Updated for Zen Cart 1.5.3
- 1.1a 11/06/2011 - Updated for Zen Cart 1.5.0
- 1.1a 02/21/2011 - Added new Sale Ending features
- 1.1 09/18/2010 - Updated for 1.3.9f
- 1.0 06/01/2010 - First Release (1.3.8)
FAQ
Q: How can I modify the styling of the Sale Ending/Special Ending text?A: There is a css file called
includes/templates/YOUR_TEMPLATE/css/stylesheet_sale_special_ending.cssSimply modify the class
ssblock
in this file.
Q: How can I show Sale Ending/Special Ending text on listing pages?
A: Buy the "Sale Ending/Special Ending on Listing Pages extension from me for $20.00. It shows the Sale Ending / Special Ending text on the All Products, New Products, Featured Products, Search Results and manufacturer and category listing pages.
Q: How can I show Sale Ending/Special Ending text in the Centerboxes on my home page and other pages?
A: Buy the "Sale Ending/Special Ending on Centerboxes extension from me for $20.00. It shows the Sale Ending/Special Ending text in the centerboxes for New Products, Featured Products and Specials.
Q: How can I change the long expiry date from "Friday 26 October, 2012" to "Friday October 26, 2012"?
A: The
longdate
within this plugin uses the settings for zen_date_long, which is set in includes/languages/english.php
Override this by copying it to includes/languages/YOUR_TEMPLATE/english.php
, and change
define('DATE_FORMAT_LONG', '%A %d %B, %Y');to
define('DATE_FORMAT_LONG', '%A %B %d, %Y');

The extension which shows the sale / special ending on listing pages is
$20.
Buy Now!
The extension which shows the sale / special ending on centerboxes is $20. Buy Now!
The fee covers software only; installation is extra if you require help.
The extension which shows the sale / special ending on centerboxes is $20. Buy Now!
The fee covers software only; installation is extra if you require help.