Checkout ui extension - change shipping cost

Checkout ui extension - change shipping cost

Mickael_Houet
Shopify Partner
4 1 3

Good day,

I develop a checkout ui extension app in react. I need to recalculate the shipping cost based on multiple options selected by customer. So, I need to force the custom calculate shipping cost to the cart, before payment.

How can I modify the shipping cost via an checkout ui extension app, in React ?
I cannot find any api on documentation to do a so simple thing.

 

The only way to do so for the moment is to create a carrier service and refresh this carrier service by modify a field on shipping address (company), but it seems to be a not very clean way 😕

Thank you



Replies 0 (0)