For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, and POS UI extensions
I would like to add an additional cost to Cart Line Price depending on line item properties. How can we do this with checkout extensions?
You can add an additional item of cost you want to add in line item
This Cart Transform API tutorial should point you in the right direction.
Scott | Developer Advocate @ Shopify