Configuration
Open Add-ons → Manage add-ons → Carrier Selection Rules & Label Print Queue → Settings. On CS-Cart Ultimate the General settings can differ per store (choose the store in the store selector first).
General
Section titled “General”| Setting | What it does |
|---|---|
| Enable | Switches the add-on on or off. Off: no order is routed, labels cannot be created or printed; rules, the queue and printed batches stay. |
| Order statuses that add an order to the print queue | When an order reaches one of these statuses, the rules choose its carrier and the order waits in the print queue. Default: Paid. Cancelled, declined, failed, incomplete and backordered orders are never queued. Each order is routed once; later status changes do not route it again (use Run rules again in the queue). |
| When no rule matches | Add the order to the queue without a carrier: the order waits in To create with “Needs a carrier” until you assign one. Leave the order out of the queue: nothing happens; you can still add it by hand from the orders list. |
| Vendors use their own rules and print queue | Multi-Vendor only. On: vendors see Orders → Carrier rules & print queue for their own orders; their own rules run before the marketplace rules, and they keep their own parcel profiles. Off: only the marketplace owner uses the add-on (marketplace rules still route vendor orders). |
| Labels per cron run (automatic rules) | How many labels one cron run creates for rules set to Create the label automatically. Default 25. |
| Cron key | Secret of the cron URL, generated on install. Change it if the URL was shared by mistake. |
| Delete all data on uninstall | Off (default): uninstalling keeps rules, parcel profiles, the queue, printed batches and settings. On: the next uninstall deletes them permanently. |
Rules in Wait in the print queue mode do not need a cron: a person creates the labels from the queue. Rules in Create the label automatically mode create their labels when the cron runs. The cron also picks up label files that some carriers deliver a few seconds after the request (InPost) and releases requests that never finished.
Add one line to the server crontab (every 10 minutes is enough):
*/10 * * * * php /path/to/your/store/admin.php --dispatch=kv_carrier_selection_rules.cronor call the URL shown in the settings from an external cron service:
https://your-store.com/index.php?dispatch=kv_carrier_selection_rules.cron&key=<cron key>The exact command and URL for your store are shown under Cron in the settings.
Licence
Section titled “Licence”Enter your Kavio Labs licence key on the License tab (or the CS-Cart Marketplace licence number in Add-ons → Manage). Without an active licence, rules no longer route new orders and the print queue cannot create or print labels. Your rules, parcel profiles, queue, printed batches and the labels stored in your carrier add-ons are kept.
Label add-ons
Section titled “Label add-ons”Each label add-on keeps its own settings: carrier account, sender address, label format (PDF or ZPL), customs data. Set them up in that add-on first; this add-on uses them as they are. The label format you choose there decides what the print batch contains: PDF labels are merged into one PDF, ZPL labels are joined into one printer file.