Usage
Everything lives under Orders → Carrier rules & print queue, with five pages: Print queue, Rules, Parcel profiles, Carriers and Dry run.
1. Check your carriers
Section titled “1. Check your carriers”Carriers lists every label add-on the rules can use and what a rule may set for it:
- Ready: installed, enabled and licensed. Rules can use it.
- Off or not licensed: installed but switched off or without an active licence. Labels cannot be created until it is ready.
- Not installed: the add-on is not in this store.
Some label add-ons let a rule pick the service (DHL Express, UPS, FedEx, Canada Post: from their own service list; Sendcloud: a shipping option code). For the others (PostNord, DPD, GLS, InPost, Packeta) the service comes from the order’s shipping method or the add-on’s settings. Sendcloud, PostNord and GLS also accept the number of parcels; Sendcloud and PostNord accept the parcel weight from a parcel profile.
2. Create parcel profiles (optional)
Section titled “2. Create parcel profiles (optional)”Parcel profiles describe your boxes: size in cm, packaging weight in kg and a weight limit in kg. A rule with a profile:
- adds the packaging weight (once per parcel) to the order weight and passes the result as the shipment weight to label add-ons that accept a weight;
- is skipped for orders heavier than the limit, so the next rule decides. Limit and packaging weight are per parcel: a rule with 2 parcels and a 5 kg box with 0.2 kg packaging takes orders up to 2 x 4.8 kg.
The box size is for the people who pack: in version 1.0 the label add-ons use their own package dimensions (settings of each label add-on), not the profile’s size.
3. Write rules
Section titled “3. Write rules”Rules → New rule. A rule has three parts.
Rule: name, position (lower runs first), status.
Conditions (leave a condition empty to ignore it; every filled condition must match):
| Condition | Matches when |
|---|---|
| Shipping country | the shipping country is (or is not) one of the chosen countries |
| Postcodes | the shipping postcode is (or is not) one of the lines: exact SW1A1AA, wildcards 75* or SW1?*, ranges 10000..19999. Spaces are ignored. |
| Order weight | the order weight is in the range (store weight unit) |
| Order total | the order total is in the range (primary currency) |
| Number of items | the number of shipped units is in the range |
| Longest product side | the longest side of the largest product is in the range (product shipping properties) |
| Shipping method | the customer chose one of these shipping methods at checkout |
| Products in categories | at least one product is in one of the categories or below them |
| Product tags | at least one product has one of the tags / no product has any of the excluded tags (core Tags add-on) |
| Vendor | Multi-Vendor marketplace rules: the order belongs to one of these vendors |
Carrier and parcel: the label add-on, the service (or Default of the label add-on), the parcel profile, the number of parcels, and the mode:
- Wait in the print queue: a person creates the labels from the queue.
- Create the label automatically: the next cron run creates the label; you only print.
Choose Choose by hand in the queue as the carrier to send matching orders to the queue without a carrier.
The rules run from top to bottom and the first matching rule wins. Put specific rules (heavy parcels, remote postcodes, fragile goods) above general ones (“everything else to country X”). The list shows how many orders each rule matched.
Example set for a store in Sweden:
- Heavy (order weight from 20 kg): DHL Express, product Express Worldwide.
- Nordics with the Small box profile (limit 5 kg): PostNord.
- Nordics: PostNord, 2 parcels.
- Everything else in the EU: Sendcloud, option code of your contract, automatic.
4. Test with the dry run
Section titled “4. Test with the dry run”Dry run runs your current rules on past orders (last N orders, a period, statuses) and shows for every order the decision (carrier, rule, service) and, for the rules above it that did not match, the reason (country, weight above maximum, heavier than the parcel profile limit …). Nothing is written: no queue items, no labels.
5. Work the print queue
Section titled “5. Work the print queue”Orders enter the queue when they reach a queue status (settings), or when you select them in Orders → Orders and choose Add to carrier print queue in the actions menu.
| Tab | Orders | Actions |
|---|---|---|
| To create | carrier chosen, no label yet; or Needs a carrier | Create labels, Run rules again, Assign carrier, Remove from queue |
| Ready to print | labels created (or waiting a few seconds for the carrier’s file) | Print selected (one file), Remove (orders still waiting for the file) |
| Failed | the label add-on refused the label; the message says why | Retry, Run rules again, Assign carrier, Remove |
| Printed | printed batches | Print again, Back to “Ready to print”, download earlier batches |
| Removed | taken out by hand | Run rules again, Assign carrier |
Create labels asks the label add-on of each selected order for its label (up to 50 orders per click). On hosts that end long requests, the orders not started in time stay in the queue and the notice says how many: click again to continue. Labels are bought by your carrier add-ons with your carrier accounts, exactly as when you click their own “Create label” button: tracking numbers and shipments appear on the order page as usual.
Print selected builds one file: a merged PDF for PDF labels, one ZPL file for ZPL labels, a ZIP when formats are mixed. One file holds up to 200 orders and 64 MB of labels; the rest stays in Ready to print for the next batch. Its download starts automatically; the batch stays under Printed → Recent batches for downloading again.
Assign carrier sets carrier, service, parcel profile and parcels for the selected orders by hand (for orders without a matching rule, or to override a rule). Sendcloud option codes are kept exactly as typed, including functions (postnl:standard/insured=3000,signature).
Run rules again re-runs the rules for selected orders without a label (after you changed the rules).
An order is never given a second label by this add-on: a double click, two people and the cron are serialised per order, and the label add-ons return the label they already made for an order instead of buying another one. An order that already has a shipment at one label add-on (also one with a pending or unknown result) is not switched to another carrier: Assign carrier, Run rules again and Create labels refuse it and name the carrier; cancel that shipment in its add-on first. If a label is made directly in a label add-on (for example on the Sendcloud order tab) while the order waits in the queue, the queue takes that label over; if a Sendcloud label is cancelled there, the order moves to Failed with a note (Retry creates a new label).
A label file that has not arrived 24 hours after the label was created (for example when the label add-on could not fetch it) moves the order to Failed with a hint. Check the order in the label add-on, then Retry (it takes the existing label, no second one is bought) or Remove.
This add-on never changes order statuses. Automations of the label add-ons themselves (for example “set a status on delivery” of the UPS add-on) keep working as you set them there.
Multi-Vendor
Section titled “Multi-Vendor”- The marketplace owner’s rules route every vendor order. With Vendors use their own rules and print queue on, a vendor’s own rules run first for its orders, then the marketplace rules.
- Vendors see only their own orders, rules, parcel profiles and printed batches. Marketplace rules and profiles are shown to them read-only.
- Orders of a checkout with several vendors are routed per vendor order; the main (parent) order is never queued.
- Labels are bought with the account the label add-on uses for that vendor (marketplace account or the vendor’s own account, as set in that add-on), and only when that add-on allows vendors to create labels: UPS, FedEx and Canada Post with the vendor’s own account or “Vendors may create labels” on; PostNord, DHL Express, DPD and GLS with the vendor’s own account; Sendcloud by the vendor’s contract mode; InPost and Packeta as in their own order tab. The same rule applies to a vendor’s click in the queue and to the cron for a vendor’s own automatic rules. A refused order moves to Failed with the reason; the marketplace administrator can still create it. Carriers a vendor may not use are not offered in the vendor’s rule editor and Assign carrier.
CS-Cart Ultimate
Section titled “CS-Cart Ultimate”Rules belong to a store, or to All stores (created with All stores selected). For an order, the rules of its store run first, then the all-stores rules. Store administrators see and change their store’s rules, profiles and queue only.