Theme used: Dawn
I'm looking for a method to have a product's price updated based on the quantity, and a few other values (radio buttons, checkboxes) while on the product page, and have the cart updated with new price when its submitted.
I was thinking of using an if statement function with addEventListener to the specific inputs (radio)
I have all the liquid "assign" variables setup for the price to change to in the assets>price.lquid for the if statement function.
Thanks in advance.
.. looking for a method to have a product's price updated based on the quantity..
Natively changing price based on quantity is tier pricing, aka volume pricing aka quantity breaks, that's only available for shopify Plus plans with price lists or checkout-scripts.
All others need to implement advanced theme customization whereby you either add multiple products to the cart or swap different products of the correct price in and out of the cart and or use discounts ; and or use apps.
If your DIY'ing it there are topics on it, and in some I've describe the general approach.
...and a few other values (radio buttons, checkboxes) while on the product page
That's moving into the realm product personalization.
Make the shift from discounts to donations, and witness your business not only thrive fina...By Holly Dec 4, 2023
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...By Arno Nov 27, 2023
You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...By Skye Nov 8, 2023