Installation
Requirements
Section titled “Requirements”- CS-Cart or CS-Cart Multi-Vendor 4.17.2 – 4.22.x (tested on CS-Cart Ultimate 4.17.2 with PHP 8.1, Multi-Vendor 4.17.2 with PHP 8.1 and Multi-Vendor 4.21.2 with PHP 8.3).
- PHP 7.2.5 – 8.3, as supported by your CS-Cart version.
- MySQL/MariaDB with InnoDB.
- Inventory tracking on (Settings → General → Inventory tracking) for stock-based statuses. Without it, every product counts as in stock.
Download
Section titled “Download”Bought on cs-cart.kaviolabs.com: sign in and open My licenses. Each add-on has its own row with the license key, the licensed domain and Downloads with the archive kv_stock_status_manager-<version>.zip (one row per add-on also when you bought a package or kit). Bought as a guest? Create an account (or sign in) with the e-mail address of the order and open the confirmation link that is e-mailed to you; the purchase then appears under My licenses. Bought on the CS-Cart Marketplace: download the archive from your Marketplace account; the Marketplace license number works as the license key.
Install
Section titled “Install”- Go to Add-ons → Manage add-ons, click the + (upload) button and upload
kv_stock_status_manager-<version>.zip. - Find Stock Statuses & Lead Times in the list and click Install. The add-on is active after the installation.
- Enter your license key in Settings → License (or the CS-Cart Marketplace license number in Add-ons → Manage add-ons).
- Open Products → Stock statuses. Six sample statuses and one sample rule are ready (see below); edit or delete them as you like.
- Optional: add a Stock status filter in Products → Filters (see Usage).
No cron job is needed.
What the installation creates
Section titled “What the installation creates”| Item | Details |
|---|---|
| Statuses | In stock (default for products in stock), Only [qty] left, Ships in [days] days, Special order, Coming soon, Discontinued |
| Rule | “Low stock”: stock 1 to 3 shows “Only [qty] left” |
| Default out of stock | None: out-of-stock products keep the standard CS-Cart text until you choose a status or add a rule |
The samples are created only when the add-on has no statuses yet; reinstalling over existing data never adds them twice.
CS-Cart Ultimate: one license covers every storefront of the installation. The licensed domain is the store’s main domain without www.; www. and other subdomains of that domain are included, so www.example.com and shop.example.com run on a license for example.com.
Privileges
Section titled “Privileges”Administrators need View catalog to see the pages and Manage catalog to change them, like the rest of the catalog. On Multi-Vendor, the Vendor access setting decides what vendors can do (see Configuration).
Upgrading
Section titled “Upgrading”Upload the new package over the installed add-on (or use the Upgrade Center). Statuses, rules, product settings and order history are kept; missing tables, settings and texts are added automatically on the next admin page view.
From 1.0.x to 1.1.0: nothing to do. The new settings (theme availability row in lists, badge shape and corner radius, out-of-stock products last, out-of-stock variations) arrive with defaults that keep the 1.0 look: pill badges, no change to the sorting, variations shown as before. Two things are now automatic: the compact status in the grid is left out where your theme already shows its own availability line, and in the list view it is no longer added when the stock block of the item already shows the status. Choose Always show in Theme availability row in lists to keep the 1.0 grid output.
Disabling and uninstalling
Section titled “Disabling and uninstalling”- Disable: the storefront shows the standard stock text again. “Stock status” product filters are switched off together with the add-on; switch them on again in Products → Filters after you enable the add-on.
- Uninstall removes the add-on tables (statuses, rules, product settings, the order history of statuses), its settings, texts and the “Stock status” product filters. Products, stock and orders are not changed.