Support » Plugin: WooCommerce Cart Count Shortcode » Hide link completely when 0 items in cart

Viewing 4 replies - 1 through 4 (of 4 total)
  • Anybody?

    did you ever resolve this as I have exactly the same question

    Nope 🙁

    Plugin Author prontotools

    (@prontotools)

    Hi @cbservices and @p_r_i_m_e,

    Sorry for late response.

    Now we don’t have plan for this feature yet but we have some workaround.
    You can specify class in custom_css shortcode parameter to hide that element.

    Example shortcode:
    [cart_button icon="cart" empty_cart_text="Store" items_in_cart_text="Cart" show_items="true" custom_css="custom-class"]

    Example CSS:

    .custom-class a[href*="/shop/"] {
        display: none;
    }

    Thanks,
    Pronto Tools

    • This reply was modified 1 year, 9 months ago by prontotools.
    • This reply was modified 1 year, 9 months ago by prontotools.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide link completely when 0 items in cart’ is closed to new replies.