Book a call
Home/Case studies/E-commerce
E-commerce

Tariffs and surcharges calculated in the cart, not after the order

An extra charge had to follow the client own rules, show in the order total before payment, and arrive intact on the NetSuite sales order.

atsovia · case study · suitecommerce (sample data)Live

Surcharge applied in the cart

Recalculated on every cart change
Running
Under 1k
1k to 5k
5k to 10k
10k to 25k
Over 25k
0.0sCart updated · 3 linesstart
0.2sSurcharge rules evaluatedmatched
0.3sCharge added to order totalapplied
0.4sRevalidated at submissionchecked
0.5sWritten to sales orderdone
Sample data · demo accountCase studies · E-commerce
The problem

What was broken

The business had to add a tariff or surcharge to orders placed through the SCA site. It is not a product and not a standard price, so the standard pricing and checkout had nowhere to put it, and the amount the customer saw had to match the amount NetSuite recorded.

What we built

What runs now

We built the surcharge logic into the cart and checkout themselves, so the charge is calculated from the client business rules and carried through to the sales order.

  • Charge calculated from the client own business rules
  • Shown in the order summary before the customer pays
  • Recalculated when quantities, additions or removals change the cart
  • Revalidated at submission so the cart and NetSuite cannot drift apart
  • Written through to the NetSuite sales order
How it runs

One flow, end to end.

The path a cart takes once this is running. The charge is recalculated at every step, so the total the customer sees is the total that posts.

atsovia · surcharge flow (sample)Live
CartRules evaluatedCharge appliedRevalidatedSales order
cart changesrules readcharge appliedtotals updatedorder written

Eligible orders now carry the right surcharge automatically, and the customer sees it before they pay rather than after.

Start a conversation

Considering NetSuite, or already living with it?

Tell us what is not working. If it is a half-hour fix we will tell you that, and you can decide whether to pay anyone at all.

Emailhello@atsovia.com
Phone+91 97200 78591