The checkout promises a buyer agrees to
At the pay button the buyer accepts a set of values: the items and quantities, the price, the delivery method and date, the address, the tax and, for trade accounts, the payment terms. Each value becomes work for someone. The warehouse picks the items and meets the dispatch time, the carrier delivers on the promised day, and finance issues an invoice whose tax matches what was charged.
When checkout computes those values from theme settings, an app’s own table or a number typed into a banner, the order disagrees with the ERP from the moment it is placed. Someone then corrects it by hand, after the payment has gone through.
The last unit of stock
The stock a checkout should trust is available-to-promise: on hand, minus units reserved for open orders, minus the safety stock you will not sell. Most platforms reduce inventory when the order is placed. Two buyers can have the last unit in their carts at once, and one of them gets an apology. The figure is only as fresh as the ERP’s sales orders. If orders still reach the ERP by hand the next morning, as in the morning re-key, available-to-promise is a day old by the time checkout reads it.
Feed the store’s number from the ERP on every change. Sell the safety stock only on purpose. Decide in advance what happens to the second order, either a backorder with a date or a cancellation with a message.
With more than one warehouse, checkout also decides which location ships. That choice changes the dispatch date and the carrier, and in India it can change the tax.
Delivery dates
A delivery date is a calculation. It takes the dispatch cut-off at the shipping location, the handling time, the carrier’s transit time to that pincode or postcode, and the days the warehouse is closed. A banner that says “ships in 24 hours” stays up after the 3PL moves its cut-off. Take cut-offs and serviceable areas from the 3PL or carrier data, refresh them when they change, and compute the date per location.
The same data decides payment options. Cash on delivery is often available only on some pincodes and below an order value set by the courier. Checkout should read that list from the courier or the 3PL. A copy pasted into an app’s settings goes stale the first time the courier changes it.
Tax at checkout
In India the place of supply decides the tax type. A Delhi seller shipping within Delhi charges CGST and SGST. The same seller shipping to Bengaluru charges IGST. Each item needs its HSN code and rate from the item master. A trade buyer who wants input tax credit needs their GSTIN and legal name on the invoice, so checkout has to collect them and pass them to the sales order. VAT in the UK and sales tax in the US raise the same questions under different rules.
Rounding causes smaller, steadier errors. If the store rounds tax per line and the ERP rounds on the invoice total, a three-line order can differ by a paisa. Pick one rule and use it in both systems.
A typical order
Picture this order. A trade buyer in Bengaluru orders three items from a Delhi store. The theme was set up with one tax rate, prices tax-inclusive, and no GSTIN field. Checkout charges the right total, by luck. The order carries no GSTIN and no split between tax types, so finance reissues the invoice by hand and the buyer waits for it before claiming credit. Checkout also promised delivery in two days, while the 3PL’s transit table for that route says four.
Where the theme fits
The theme presents the values, and the rules belong in the platform’s checkout logic and in the integration that feeds it. On Shopify the theme does not run inside checkout at all. Delivery, discount and payment rules there are set in the admin or built as Functions and apps. On WooCommerce and Adobe Commerce they are server-side code and configuration. On every platform the inputs should come from the ERP and the 3PL.
Test checkout like code. Keep a set of test addresses and baskets, one per tax case, serviceability case and stock case, and run them after every app install and every change to shipping or tax settings. Compare each result with what the ERP would have produced for the same order.
Feeding stock, tax data and delivery tables from the ERP is ERP integration work. The checkout itself, with its fields and apps, is part of Ecommerce development, and the drop-off between cart and payment is what conversion optimisation measures.





