• Resolved jcloude

    (@jcloude)


    Hi everyone, I’ve noticed that the native WooCommerce quantity selector doesn’t update the total price on the product page. I am aware that the final calculation is performed correctly in the cart, but from a UX perspective, it would be much more helpful for the user to see the price increase visually when selecting 2, 3, or more units before adding them to the cart.

    Is there a built-in setting I missed, or do I need a specific snippet or plugin to enable this dynamic price update?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Vitalii Kiiko

    (@mrpsiho)

    Hi! You wrote “…it would be much more helpful for the user to see the price increase visually…”. But the price does not increase when you change the quantity. Only total get increased. And WooCommerce does not display total value on the product page, only in the cart.

    However, Uni CPO 4 plugin returns param price_vars.raw_total in the response. You may create a bit of custom code and display this value somewhere and somehow.

    Thread Starter jcloude

    (@jcloude)

    Hi! Great, I hadn’t noticed there was a parameter for the total cart calculation. This is an excellent solution, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.