Skip to content

Installation

  • CS-Cart, CS-Cart Ultimate, Multi-Vendor or Multi-Vendor Ultimate 4.17.2 or later.
  • Administrator access to the store’s admin panel.
  • A cron job (one line, or a web cron call of one URL) if you want the reopening e-mails sent. Without it the store still follows the schedule, but no reopening e-mail is sent.
  1. Download the kv_store_holiday_mode-<version>.zip package from your Kavio Labs or CS-Cart Marketplace account.
  2. In the admin panel, open Add-ons → Manage add-ons.
  3. Click the gear button and choose Manual installation, then upload the archive.
  4. Find Store Holiday Mode in the list and make sure its status is Active.
  5. Open the add-on settings and review them (see Configuration).
  6. Open Marketing → Store holiday mode and add your first period (see Usage).

Add one line to your crontab, using your own store path:

* * * * * php /path/to/store/admin.php --dispatch=kv_store_holiday_mode.tick

It switches periods on and off at the exact minute, sends the reopening e-mails and deletes sign-ups after the retention period. The store follows the schedule without it, but the reopening e-mails are sent only when this line runs.

Hosts without command-line cron can call the address from a web cron service every minute instead:

https://your-store.example.com/admin.php?dispatch=kv_store_holiday_mode.tick&cron_password=<your cron password>

The password is the one from Settings → Security settings → Cron password (set one first). The add-on opens only this one admin page to anonymous requests; without the correct password it answers “Access denied”.

  1. Update only through the Upgrade Center: Administration > Upgrade center, click +, upload the update package, then click Install. Your settings and data are kept.
  2. Clear the cache: Administration → Storage → Clear cache.

Where to get the update package. Bought on cs-cart.kaviolabs.com: sign in, open Downloads in your account and download the Upgrade Center package for the version installed in your store (file kv_store_holiday_mode.zip; keep this file name). Bought on the CS-Cart Marketplace: if the Marketplace offers an update for your version, it is listed in Administration > Upgrade center; if it is not listed, write to support with your order number and installed version and we send you the Upgrade Center package. More about updates.

See CHANGELOG for what changed in each version.

Open Add-ons → Manage add-ons, click the add-on’s gear button and choose Uninstall. By default uninstalling keeps your data: holiday periods, texts, reopening sign-ups, order ship dates and the settings. Install the add-on again and everything is as you left it. To delete everything for good, install it, tick Delete all data on uninstall in the settings, save and uninstall again. The reopening sign-ups contain e-mail addresses, so tick it if you must erase them.