New Landing How can we help? Themeforest Theme Support Dante hide cart icon when empty

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Dante
  • #71010
    Gizan86
    Member
    Post count: 252

    Hi is there a way to hide the cart icon in the header when the shopping bag is empty? I would like it only to appear when users put an item in the cart.

    Thanks!

    #71075
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Unfortunately not as standard, if you required this functionality you would need to hire a developer

    – Kyle

    #71087
    Gizan86
    Member
    Post count: 252

    Ok that’s too bad, thanks for the quick reply though.
    Would it be possible then to change the URL of the button in the header cart widget? (see screenshot)

    #71090
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    That will use whatever page you set as your shop page in WooCommerce settings

    – Kyle

    #71118
    Gizan86
    Member
    Post count: 252

    Thanks, I understand, but I would like it to refer to a static page:

    http://www.freshfolds.nl/start

    As people need to check their zipcode before they will be refereed to my shop page.

    #71131
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Unfortunately that’s not possible as standard, you would need to edit the WooCommerce files. You can get support from them here: wordpress.org/support/plugin/woocommerce

    – Kyle

    #71151
    Gizan86
    Member
    Post count: 252

    Thanks, could you maybe provide a css fix to hide this button?

    #71159
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You could hide the button using:

    .checkout-button {
      display: none!important;
    }

    However it will also hide the button if you do have items in the bag, therefore they would not be able to go to the checkout that way

    – Kyle

    #71183
    Gizan86
    Member
    Post count: 252

    ok thanks, in that case i will contact the woocommerce support.. thanks for the help

    #71212
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register