Installation
Requirements
Section titled “Requirements”- CS-Cart, CS-Cart Ultimate, Multi-Vendor or Multi-Vendor Ultimate 4.17.2 or later.
- The add-on Payment Fees & Surcharge Rules (install and enable it first; CS-Cart refuses to install COD Control without it).
- Administrator access to the store’s admin panel.
- For confirmation codes by SMS or WhatsApp: Phone OTP Login with a real delivery (WhatsApp Cloud API, Twilio SMS or a generic gateway) or SMS Notifications for Twilio. Without either, customers can still confirm on WhatsApp or wait for your call.
Install the add-on
Section titled “Install the add-on”- Download the
kv_cod_control-<version>.zippackage from your Kavio Labs or CS-Cart Marketplace account. - In the admin panel, open Add-ons > Manage add-ons.
- Click the gear button and choose Manual installation, then upload the archive.
- Find COD Control in the list and make sure its status is Active.
- Open the add-on settings, enter your license key on the License tab (or the CS-Cart Marketplace license number in Add-ons > Manage) and review the other tabs (see Configuration).
- Open Administration > Payment fees > Payment methods (Payment Fees & Surcharge Rules) and check that your COD method has the kind Cash on delivery. It is detected automatically for methods that use the core COD template.
- Optional: add the cron URL shown on the Outcomes and automation tab to your scheduler so orders nobody confirmed are cancelled.
The install creates two order statuses, Refused at delivery and Returned to sender, and selects them in the outcome settings.
Update
Section titled “Update”- Upload the new package the same way. Your settings, rules, lists and orders are kept.
- Delete the contents of
var/cache(or use your usual cache clearing).
See CHANGELOG for what changed in each version.
Uninstall
Section titled “Uninstall”Open Add-ons > Manage add-ons, click the add-on’s gear button and choose Uninstall. This removes the add-on’s rules, the blocklist and buyer history, the COD records and their history, the settings and the language variables. Export the blocklist first if you want to keep it (COD Control > Blocklist > Export). Orders are not changed. The two statuses are removed only when no order uses them. Fee rules you created live in Payment Fees & Surcharge Rules and stay there.