Sale Ending

Image by jimdollar

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.8, 1.3.9, 1.5.0

Current Version: 1.2

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.00. Buy Now!.

Installation Instructions: click here

Installation Difficulty: Moderate (Some file merging)

Location: Zen Cart Downloads page, under Marketing Tools.

Download: Sale Ending/Special Ending on the Zen Cart Downloads Page

Support Thread: Sale Ending/Special Ending Support Thread

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:

tweet from Jason


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:

Example without Sale Ending/Special Ending


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).

Example with Sale Ending/Special Ending


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 "common_files" to the root directory of your shop.
  4. 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.
  5. Donate! Show your appreciation by supporting my efforts.
Note: The way Zen Cart handles expiry dates is that a sale or special with an end date of X actually ends at midnight the day before X. For instance, a sale which has an enddate of July 12th actually ends at midnight on July 11th, but the sale ending date shows July 12th. Some people don't like this. If you want the sale to end at midnight on July 12th and show this date in sale ending/special ending, set the end date to July 13th in Zen Cart (us usual) do the following:
  1. Edit the file includes/functions/extra_functions/sale_special_ending.php.
  2. 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.

Would you like to show Sale Ending/Special Ending on listing pages?

Sale Ending/Special Ending on Category Listing page


Sale Ending/Special Ending on New Product Listing page


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.

I charge a fee of $20.00 for the Sale Ending/Specials Ending on Listing Pages extension. The fee covers software only; installation is extra if you require help.


Major Versions

  • 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

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.css
Simply 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.



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.