Home Forums WoodMart support forum hide wishlist and cart counter if empty

hide wishlist and cart counter if empty

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #444418

    exe.kareem
    Participant

    hello, can you give me the function for the wishlist button and add to cart button to hide the counter ‘0’ circle if empty? thanks

    Attachments:
    You must be logged in to view attached files.
    #444496

    Hello,

    You can disable the product count for the Wishlist in the element settings: https://gyazo.com/0c8eb76c86431e1065efc5c015634a4c

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .wd-header-cart.wd-design-5 .wd-cart-number {
    display:none;
    }

    Best Regards

    #444596

    exe.kareem
    Participant

    but i want to show the counter if item is added aswell

    #444854

    Hello,

    Unfortunately, it is not possible.

    We can either hide or show the counter.

    If you have any questions please feel free to contact us.

    Best Regards

    #444969

    exe.kareem
    Participant

    https://xtemos.com/forums/topic/hide-0-in-empty-cart/

    u provided the solution for the same question here but it’s outdated i think.

    #445546

    Hello,

    The customization code you show relates to the Basel theme and it cannot be applied to WoodMartt, unfortunately.

    WoodMart theme cannot be customized this way.

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 6 posts - 1 through 6 (of 6 total)