Personalized checkout and custom promotions with Shopify Scripts
Hello, like in the title, the price does not update according to quantity selected, and only displays the single unit price. I have linked my site here.
Note: There are product variants as well.
Any insights would be appreciated!
Solved! Go to the solution
This is an accepted solution.
Hi @Haebyul ,
Catch the click event when each variant is clicked. Each selected variant will have 1 input and be set to checked
Image:
Input will have value as the corresponding quantity
Insert a script to get the value and get 2 values to change every time variant selected is pressed
Recalculate the price after each click according to your needs.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is an accepted solution.
Hi @Haebyul ,
Catch the click event when each variant is clicked. Each selected variant will have 1 input and be set to checked
Image:
Input will have value as the corresponding quantity
Insert a script to get the value and get 2 values to change every time variant selected is pressed
Recalculate the price after each click according to your needs.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024