Shipping Module Development for OkayCMS
Shipping module development for OkayCMS
When the courier you need is not in the base package, or you need your own cost calculation logic, a separate module gets written.
What is usually required
- connection to the courier's API: branch lists, cost calculation, waybill creation;
- choosing a branch or parcel locker directly in checkout, with search;
- cost calculation by weight, dimensions, order total or zone;
- custom rules: free delivery above a threshold, oversize surcharge, regional restrictions;
- passing the waybill number to the customer and tracking its status.
Details that affect the timeline
The branch database. It changes daily, and pulling it from the API on every page load is not an option — the page would crawl. A local copy with a scheduled refresh is required.
Weight calculation. If product weights are not filled in, any calculation produces nonsense. Sometimes the data has to be put in order before the module can be built.
Dimensions. Couriers charge on volume as well as weight. For bulky products the price difference is substantial.
What you receive
A working module with admin settings and instructions. The code is yours, with no domain binding.
Tags: okaycms, shipping, module, development, api