If this is your first visit, check our documentation. To post, register or login.

Subscriptions

Started by dbltoe on 4 Oct 2026, 4:54 AM · Views: 122

Results 1 to 3 of 3
4 Oct 2026, 4:54 AM [edited]
#1
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Subscriptions

Subscriptions v1.0.0: subscribe-and-save products with pay-link renewals, for Zen Cart 1.5.8 through 3.0.0, as an encapsulated plugin

GitHub: https://github.com/dbltoe/Subscriptions

Download: https://github.com/dbltoe/Subscriptions/releases/tag/v1.0.0 (also free at https://myzencartzone.com/index.php?main_page=product_info&products_id=34)

Zen Cart: 1.5.8a, 2.0.x, 2.1.0, 2.2.x, 2.3.x and 3.0.0, one package

PHP: 7.4 through 8.5

License: GPL-2.0

What it does

Sell anything your customers buy again and again, on a schedule that fits: coffee every two weeks, great jerky every two months, balsamic vinegar every quarter, oil filters every six months. Zen Cart has had no current subscription plugin for any 2.x release; this is one.

  • Product page: the customer picks One-Time Purchase or an interval you offer (Every 2 Weeks, Every Month), with an optional subscribe-and-save discount shown beside each one.

  • Checkout: a required consent checkbox with your subscription terms, on both the standard checkout and One Page Checkout. The exact terms, time, and IP are saved with each subscription, and the signup email repeats them. Subscriptions need a customer account; guest checkout still works for everything else.

  • Renewals by pay link: before each delivery, the customer gets a Renew Now email. The link fills their cart with the same items and options, and they check out as usual at that day's prices and shipping, with any payment module you have. Nothing is ever charged automatically.

  • My Subscriptions in My Account: Renew Now, skip, pause, resume, change the interval or quantities, cancel.

  • Customers > Subscriptions in the admin: search, status filters, the full history with who did what, the consent record, and your own actions (skip, pause, resume, change date, cancel).

  • A renewal not placed in time is skipped, and the next one is reminded; three missed in a row pause the subscription and the customer is told.

  • Five emails (signup, reminder, paused, canceled, paused after missed renewals), each previewable in the free Preview Email plugin.

Encapsulated. One folder under zc_plugins/, installed from Plugin Manager. No core or template file is changed: the delivery choice is an ordinary product option the plugin manages, so every template already shows it. Uninstalling takes it off every product page.

Installing

  1. Upload zc_plugins/Subscriptions/ so it lands at <store root>/zc_plugins/Subscriptions/v1.0.0/.

  2. Admin > Modules > Plugin Manager > Subscriptions > Install.

  3. Set up the scheduler (below).

  4. Write your terms in Configuration > Subscriptions > Subscription Terms.

  5. Edit a product: in the new Subscription panel, choose Optional or Required, tick its intervals, set a discount if you like, and save.

The scheduler

Zen Cart has no scheduler of its own, so the reminders go out from an address that a cron job opens every 6 hours. Customers > Subscriptions shows the exact command for your store (Scheduler Setup) and when it last ran. In cPanel's Cron Jobs: Minute 17, Hour */6, and * for Day, Month, and Weekday, with a command like:

curl -fsSL "https://www.example.com/index.php?main_page=subscriptions_cron&key=YOUR-KEY" >/dev/null

Any outside cron service that opens a web address works too. Run Renewals Now on the admin page runs it on demand; it's safe to run anytime.

Auto-renewal laws

Several US states, California the strictest, require clear terms before purchase, affirmative consent, a confirmation that repeats the terms, and a way to cancel online. The plugin gives you all four. What your terms say is up to you; the readme has pointers. This isn't legal advice.

Zen Cart 3.0

3.0's cart currently fails on attribute price factors, which is how the discount works on 1.5.8 through 2.3; on 3.0 the plugin applies the same discount another way, automatically. Disabling the plugin in 3.0's Plugin Manager takes the delivery choice off product pages.

The full documentation (readme.html) is inside the plugin and linked from the Plugin Manager panel: configuration, product setup, renewals, the admin page, emails, customizing, translating, upgrading, uninstalling, and troubleshooting.

Reporting a problem

Please include your Zen Cart and PHP versions, your checkout (standard or One Page Checkout), and what you saw. If reminders aren't going out, check when Customers > Subscriptions says the scheduler last ran. For anything else, look in logs/ for a myDEBUG- file from that moment and attach it.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

5 Oct 2026, 5:30 AM [edited]
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: Subscriptions

Subscriptions v1.0.1 (free) is out

It fixes upgrading in Plugin Manager. An Upgrade could stop with "Cannot redeclare class", because Plugin Manager runs the new version's installer while the old version's classes are still loaded. The plugin now loads each class only when it isn't already loaded, so this upgrade and every later one go through cleanly. Nothing else changed: your settings, subscriptions and emails are exactly as they were.

You don't have to upgrade today, since 1.0.0 is working as it is, but doing it now means future upgrades won't trip over this.

Upgrading: upload the v1.0.1 folder beside your current one in zc_plugins/Subscriptions, then in Modules > Plugin Manager select Subscriptions and click Upgrade, then Upgrade again on the confirmation screen. Clean Up removes the old folder afterward.

The download link in the first post still points to 1.0.0. The current release is here:

https://github.com/dbltoe/Subscriptions/releases/tag/v1.0.1

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

28 Oct 2026, 12:27 AM [edited]
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: Subscriptions

Subscriptions v1.0.2 is out

Two changes, both in the admin. Nothing changes on your storefront, in your settings, in your subscriptions or in your emails.

  • Plugin ID 2463. The Plugins Library has given Subscriptions its permanent ID, and 1.0.2 carries it, so Plugin Manager can tell you when a new version is out.
  • A Settings button in Plugin Manager. Once Subscriptions is installed, its panel in Plugin Manager has a Settings button that opens Configuration > Subscriptions. The buttons are now one row: ReadMe | Settings | Forum Thread | GitHub.

Upgrading: upload the v1.0.2 folder beside your current one in zc_plugins/Subscriptions. Then in Modules > Plugin Manager select Subscriptions, click Upgrade, and click Upgrade again on the confirmation screen. Clean Up removes the old folder afterward.

On Zen Cart 1.5.8 through 2.1.x, Plugin Manager keeps the ID it recorded at install. The changelog inside the plugin has a one-line SQL patch to set it there; it's optional.

Download: https://github.com/dbltoe/Subscriptions/releases/tag/v1.0.2

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com