Support » Plugin: WooCommerce » Prices excl/incl tax aren’t updating correctly

  • Resolved SmeXhy

    (@smexhy)


    Original topic:

    “Hello, I noticed, that when I am using price prefix to show price excluding tax, it won’t display when I change the amount of that product on the product page.

    So when it is set by default to 1 after loading the product page, I will see the prefix (the price including tax + excluding tax), but when I change it to 2 or more with the + – symbols or I will manually enter the amount it will update just the base price and it won’t add the prefix at all. Is it bug with WooCommerce, or theme? Thanks.”

    Sorry, I didn’t find time to answer to your reply, so my previous support thread was locked.

    Here is thy GIF to clarify what I meant:
    https://imgur.com/gLQ85fp

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support yukikatayama

    (@yukikatayama)

    Automattic Happiness Engineer

    hi @smexhy,

    Thank you for the screenshot to better understand the issue. This would be default behavior. The price of the singular product does not change even if you are not using the tax suffix:


    Link to image: https://cld.wthms.co/GlQmd0

    If you want the product’s price to change there based on updated quantity, it will require custom coding to do. If you need assistance with coding, we recommend contacting a developer from one of these services at https://woocommerce.com/customizations/.

    Thank you, this explaind everything for me! I have one more question regarding this prefix. Is it somehow possible to make CSS changes only to the prefix, not to the whole price text?

    So when I have for example:

    €12 (€6 excl. tax)

    I want to highlight the tax differently as the main price, in this case I would like to make price excl. tax smaller and in different color.

    Is this prefix somehow different css class than the main price? Thank you!

    • This reply was modified 3 months, 4 weeks ago by SmeXhy.
    • This reply was modified 3 months, 4 weeks ago by SmeXhy.
    • This reply was modified 3 months, 4 weeks ago by SmeXhy.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.