List of fields I can override on product page for dynamic pricing

Shopify Partner
3 0 0

Is there a list of what I can override on the product page? For example, I'm using 

<input name="properties[custom]">

and that gets added to my line item. What I want to do is something like 

<input type="hidden" name="price" value="{{ product.price }}">

and be able to dynamically set the value via JS so that when a user makes a custom version of a product, I can calculate the price.

I've tried the above along with things like name="variant[0][price]" and name="variant[{{ product.variants.first.id }}][price]" without any luck.

Alternatively, is there a way to dynamically set the price in some other way? I could also calculate the price on the cart page if there were some way to change the total cart value.

0 Likes
Highlighted
Tourist
6 0 0

Hi Will - were you able to create a solution to this? Please send an update if so!

0 Likes