WoodMartW
WoodMart
Mar 8

Hide header cart & wishlist count when zero/empty

This may have been suggested previously, but would be a neat little option in my view. The header cart icon count should not be visible when the cart is empty (zero count) Same with an empty Wishlist. Adding an item or items to cart and/or Wishlist (via ajax) would trigger the icon count. Most Shopify sites and an increasing number of Woocommerce themes including Flatsome, Blocksy and the native Woocommerce Mini-Cart block incorporate this feature. I've previously implemented this programmatically on my own site, however Woodmarts ajax options must be de-selected for it to work correctly. With this in mind, I cannot imagine it would be difficult for your devs to produce and would prove useful as a turn on or off header builder option neatening the layout.  This idea could also work with the Woocommerce Gutenberg cart and checkout blocks if/when Woodmart supports them.
PendingPending