Ecommerce efficiency – ZenCart Salemaker date auto renewal FREE

Author:

Salemaker Date Auto Renewal: A Time-Saving Feature

With Salemaker Date Auto Renewal, you can automatically skip US federal holiday dates for salesmaker promotions on your Zen Cart store. To add more holidays to be skipped, simply modify the $skipHolidayDays array in the code.

Easy Installation and Configuration

Installing Salemaker Date Auto Renewal is a breeze:

  1. Upload salemakercron.php : Place this file in your web root directory.
  2. Add Cron Schedule : In your hosting panel, schedule a daily cron job at midnight (after 12am) using the following command:

Copy Code

5 0 * * * wget https://www.your_domain_name.com/salemakercron.php

Important Notes and Compatibility

  • This script is designed to work with Zen Cart versions 1.5.8a, 1.5.7 (and possibly older), as well as Zen Cart 2.0.0 or newer.
  • However, it may not be compatible with other PHP versions; testing with PHP 8 has been confirmed successful.

Salemaker Date Auto Renewal Criteria

To take advantage of this feature:

  • Set salesmaker promotions to have no ending date (or set the end date to 0001-01-01).
  • The script will automatically skip US federal holiday dates for these promotions.

By implementing Salemaker Date Auto Renewal, you can save time and resources while maintaining a seamless shopping experience for your customers.

Download it here Free

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x