Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
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?
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.