Variations prices not being updated

Context - I’m trying to set up photo prints with different sizes. Each size has a different price.

I added the different prices to each variant but the text for the price is not updating when a photo print size is chosen. As a workaround, I decided to add the price to the title of each variant (shows up in the option dropdown) but will the cart update the pricing accordingly?

Thanks.


Link to project

Hi,
Sorry, I can’t give you a direct answer as I’m not sure how your cart is processing the values of the product. Some use a value of the item in a post and some might use the value of the Sku from a database.

The flow you can use is a javascript that can use the selection to change the value of the price field. So, you start with the lowest amount as the default price and when a different variable is selected, the new scripted price is assigned.

If the price is pre-set from a database, when building your product option variables you might be able to assign the different price to the variable.

Without these options, the cart will usually not be able to understand the price change from the title difference.

Hi @Day!

The variant price should update on the live site. It currently does not update when previewing in the Designer.

If it does not update on the lives please let me know, and I’d be happy to look into this further.

Hey John. Thanks for this - I’ve just spent the better half of this morning trying to figure this out. Can I suggest that this information be included in the Webflow University article for product variants? Additionally, it would be great if the price did update on the designer site - it would certainly save time in debugging. Thanks

Hi @johnramos - can you share the solution for this? I’m currently having the same issue.

1 Like

@johnramos same issue here. I’ve added the “add to cart” module to my product page and then I have a separate text string for the price that show’s the default variant price. When I click on a variant , the price string does not update. What am I missing here?

I finally figured out the problem. My domain name was purchased through another provider and I had the DNS settings pointing to webflows non-SSL DNS nameservers. Once I switched them over to make my site secure, the price variants update the price after I published the shop.

Have been playing around with this, but not sure what you mean exactly. I’d really appreciate further instruction on how you did this. My A records are pointing to 75.2.70.75 and 99.83.190.102 - not sure what I’m missing, but the variant price still not updating