• Resolved daanverh

    (@daanverh)


    As of Woostify version 1.8.5, we can toggle “Add Hide zero value for the menu cart” in the WordPress customizer. This is a useful feature! There was also a feature added to show the “Subtotal for the menu cart”.

    (screenshots in link below are made in Dutch language)
    https://imgshare.io/image/pc9xBu
    https://imgshare.io/image/pc9Y7X
    https://imgshare.io/image/pc9m05

    However, for the “subtotal” (visually on the left side of the cart icon) there is no conditional logic to ‘hide’ the amount when the value is zero (woostify-header-total-price).

    I basically want another toggle switch in the customizer to :
    “Ignore the null value on the sub-total”

    I assume this could be a pretty easy implementation if you find it useful in the theme. If not, is there a possibility that you can advise a workaround using ‘code snippets’ ?

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author dylan ngo

    (@duongancol)

    Hi,
    We use Javascript for the subtotal here so it’s better to add this function to the theme.
    We’ll do it and release it in version 1.9.5.

    Thanks so much for the feedback!

    Thread Starter daanverh

    (@daanverh)

    Wonderful! Thank you.

    Thread Starter daanverh

    (@daanverh)

    @duongancol ,
    Can you advise if this matter is already taken care of?
    I have updated to the latest 1.9.6, but i have still value “€0” next to the shopping cart in the header.

    Theme Author dylan ngo

    (@duongancol)

    Did you raise a ticket about this problem?

    Thread Starter daanverh

    (@daanverh)

    I have only reported this case in this forum. Is this a special feature request? What should i do?

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

The topic ‘Conditional logic – hide zero value – Subtotal for menu cart’ is closed to new replies.