Installation
Requirements
Section titled “Requirements”- CS-Cart or Multi-Vendor 4.17.2 to 4.21.x, any edition (CS-Cart, CS-Cart Ultimate, Multi-Vendor, Multi-Vendor Ultimate).
- PHP 7.2.5 to 8.3 as your CS-Cart version allows.
- A Kavio Labs licence key or a CS-Cart Marketplace licence number (see Configuration).
Install
Section titled “Install”- Open Add-ons > Manage add-ons > Upload & install add-on and choose
kv_product_warnings-<version>.zip(or install it from the CS-Cart Marketplace). - Open the add-on’s settings (Add-ons > Manage add-ons > Mandatory Product Warnings) and, on the License tab, enter your key.
- Open Products > Product warnings > Library, add the warnings you need and link them to products (Usage).
The installation also adds the snippet “Product warnings” after the products table of the order invoice and the order summary document (Design > Documents), which the order e-mails use. If you edited those documents and removed the products table snippet, add {{ snippet("kv_product_warnings") }} where you want the warnings.
Update
Section titled “Update”Upload the new version over the old one (Add-ons > Manage add-ons > Upload & install add-on) or use the Upgrade Center. Your warnings, links, order records and settings stay; the add-on repairs its own tables and settings on the first request after the update.
Uninstall
Section titled “Uninstall”Uninstalling keeps your warnings, their links, the order records and the add-on settings (the licence key included), because they are your evidence of what a customer was shown and a reinstall or an upgrade by upload would otherwise lose them. The documents lose the snippet call. To delete everything for good, open the add-on settings, tick Permanently delete all warnings and order records on uninstall, save, and uninstall again.