Hi.
I’ve created custom product template:
Customer select many product’s options (from metafields).
I add this selected options to properties and calculate total product price by js (also send in hidden property)…
Case 1. (SOLVED) Change cart line item price to property selected calculated price.
Solution:
Created custom app with cart transform function extension: updateOperation: override item price to value from property;
Case 2. (NOT SOLVED) Calculate shipping based on selected product’s properties.
- I’am calculated item shipping cost based on selected product’s properties. BUT I can change shipping.
Delivery Customization Function allows me only hide, rename or reorder available shipping option. But not create new option with calculated price.
#Order discount (create negative discount and add it as shipping fee) - not allow add negative values
#Carrier Calculated Shipping custom app have not access to line item properties…
Create shipping option for this product - with 0 price;
Add via cart transform update operations shipping fee amount…
Show to customer this fee in item property..
Are any ideas?
Thank You!