Post by JAY6390 » Wed Jul 14, 2010 11:48 pm

I've just finished creating a free cart module hider for those interested. Basically it will hide the cart module until someone adds items to the cart. It nicely slides up and down (sounds ominous :laugh: ) when products are added to the empty basket or the basket is emptied

Get it free now from HERE

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by JAY6390 » Wed Jul 14, 2010 11:51 pm

Video of cart in action (apologies for the poor quality)
http://screenshots.jaygilford.com/cart_hide_module.swf

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by SteveSherry » Thu Jul 15, 2010 12:31 am

Excellent mod Jay

My Website ¦ Summer Madness Special Offer ¦


Active Member

Posts

Joined
Thu Apr 08, 2010 7:47 am
Location - Wirral, UK

Post by JAY6390 » Thu Jul 15, 2010 12:43 am

Thanks Steve, enjoy :)

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by Maansy » Thu Jul 15, 2010 2:55 am

its how it should be. thanks Jay :)

ALL Templates :: 1.5.1+ Templates :: 50%-75% PRICE DROP ONLY at OpencartStuff.com


User avatar
Active Member

Posts

Joined
Thu Jun 24, 2010 6:04 am


Post by JAY6390 » Thu Jul 15, 2010 3:13 am

No problem :)

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by mystifier » Fri Jul 23, 2010 3:52 pm

Hi Jay,

I really like the idea of your Cart Module Hider; it would be great if it worked this way as standard. It caused a couple of problems though:

- The select area to show an enlarged image has somehow been greatly extended, so if I try to delete an object from the cart module, the enlarged image pops up instead (IE7/8 even on your demo).

- The cart module layout (modified in my case to show buttons instead of text links) is lost again in IE7. There is a fundamental problem with the standard cart module and IE7 that I have never got to the bottom of (eg. delete button disappearing). I just about got it to stick together but using your module breaks it again.

It would be great to put together an IE7 resistant combined module that only shows when not empty with proper buttons. I may have a bash when I have time though my php is a bit flaky. ;)

Free v1.4.9 Extensions: Default Specials | Improved Search | Customer Activity Report | Customer Groups | Royal Mail With Handling | Improved Product Page | Random Products | Stock Report | All Products


User avatar
Active Member

Posts

Joined
Tue May 18, 2010 5:15 pm

Post by fireatwire » Wed Sep 15, 2010 5:24 pm

JAY6390 wrote:I've just finished creating a free cart module hider for those interested. Basically it will hide the cart module until someone adds items to the cart. It nicely slides up and down (sounds ominous :laugh: ) when products are added to the empty basket or the basket is emptied

Get it free now from HERE
The Download link doesn't work

Does someone have a copy of the mod and can send it to me? Please send me a pm,

Thanks!

New member

Posts

Joined
Wed Feb 03, 2010 5:21 am

Post by scot80 » Thu Sep 16, 2010 4:22 pm

I'm looking today for the module but have an easy solution. :)

edit this /catalog/view/theme/template_name/template/module/cart.tpl

before the 1st line add:

Code: Select all

<?php if ($this->cart->hasProducts()) { ?>
search for:

Code: Select all

<?php if ($ajax) { ?>
replace with:

Code: Select all

<?php } ?>
<?php if ($ajax) { ?>
<?php if ($this->cart->hasProducts()) { ?>
and after the closing script tag add:

Code: Select all

<?php } ?>
So you have 2 lines with this and it looks like this:

Code: Select all

</script>
<?php } ?>
<?php } ?>
Should work with or without ajax basket.
Last edited by scot80 on Thu Sep 16, 2010 7:00 pm, edited 1 time in total.

Active Member

Posts

Joined
Fri Nov 06, 2009 12:14 am
Location - Germany

Post by fireatwire » Thu Sep 16, 2010 5:12 pm

Obviously it doesn't work for me... Do you know why??

New member

Posts

Joined
Wed Feb 03, 2010 5:21 am
Who is online

Users browsing this forum: No registered users and 5 guests