Price (variant products included) does not update with multiple quantities selected

Solved

Price (variant products included) does not update with multiple quantities selected

Haebyul
Tourist
4 0 2

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! 

 

 

Accepted Solution (1)

BSS-Commerce
Shopify Partner
3477 463 527

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

view - 2023-10-31T175347.131.png

Image:view - 2023-10-31T175547.057.png

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

view - 2023-10-31T175657.999.png

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


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Reply 1 (1)

BSS-Commerce
Shopify Partner
3477 463 527

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

view - 2023-10-31T175347.131.png

Image:view - 2023-10-31T175547.057.png

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

view - 2023-10-31T175657.999.png

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


BSS Commerce - Full-service eCommerce Agency