Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Is it possible to update a checkout's subtotal by program.

Is it possible to update a checkout's subtotal by program.

BowllingShen
Visitor
1 0 0

Hi, we have a campaign center for shopify and our other shops, there are some campaigns like "buy $1000 get 10%off", so we want to update the checkout's subtotal after the checkout is created with BuySDK. is it possible to do that?

Reply 1 (1)

HunkyBill
Shopify Partner
4853 60 571

The flow that works is to detect the $1000 threshold BEFORE checkout completes, provide a 10% discount, and let Shopify adjust the subtotal to be correct. You do not adjust things AFTER checkout.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com