Hiding the cart widget…if empty

Home Forums General Help Hiding the cart widget…if empty

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4945
    Maitresinh
    Guest

    hello there

    I just found Dukapress, and it’s yet my favorite one. It’s worth buying the shopping pro module.

    Just a question anyway: i wonder how could i hide the shopping cart in the widget when it’s empty. No options for that ? any tweaking ?

    I’ve tried with a conditionnal plugin to hide widget, but it’s not designed for that.

    #5015
    VeeBee
    Guest

    It is possible to do this Maitresinh.

    It requires creating a new widget output for the shopping cart (or editing the dp-widgets.php file), and some changes to the dp-cart.php.

    My dp-cart.php changes currently get overwritten when upgrading Dukapress (of course), these are the essential changes to make the auto-hiding work, one day I will try and work out how to do it outside of Dukapress plugin, so that it isnt overwritten on upgrade.

    V

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Help’ is closed to new topics and replies.
© 2024 DukaPress. All rights reserved.
Design By Madoido.