Updating prices based on calculations done with Javascript

Highlighted
Excursionist
20 0 2

Hi all,

 

Is it possible to affect the cost of what is sent to the cart using JS and Liquid?

 

I have a product and for that product I have written some Javascript that can work out what the price should be based on certain inputs selected by the user along with certain custom data for that product.

 

So let's say something costs 9.99 and I am able to workout using JS that the cost per quantity for that product should be 8.99. Without using an App is there a way that I can tell Shopify that this is the price to use. 

 

I know that I can update how the price is displayed to the user but how do I ensure the correct price is passed to the cart?

0 Likes
Highlighted
Excursionist
38 0 0

Let's manage store price with multiple feature app, Shopify price calculator app support multiple Product measurement units can be set according to the nature of the product. You can select from 8 different measurement types. Like variable-sized products based on length, weight, area, volume, and even boxes. d3d55b046f8cab37e4d7c2226d5f55f9

 

0 Likes