Hiding the cart widget…if empty

HomeForumsGeneral HelpHiding the cart widget…if empty

This topic has 1 voice, contains 1 reply, and was last updated by  VeeBee 86 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
February 17, 2012 at 12:06 pm #4945

Maitresinh

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.

February 22, 2012 at 12:53 am #5015

VeeBee

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)
Reply To: Hiding the cart widget…if empty
Your information:






<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">


© 2012 DukaPress. All rights reserved.
Design By Madoido.