Refresh/reload mini cart

Problems installing or using the NOP Design Free Shopping Cart that do not fit into one of the above categories.

Moderators: Koibito, Stefko, Randy

Refresh/reload mini cart

Postby figge88 » Mon Apr 09, 2012 11:36 am

Hi!

Firstly I want to say that I know this have been up in a different topic, but it didn't give me a satisfying answer...

I have the "mini cart" that someone has built in this forums, the mini cart shows amount of products and cost.
The problem is that it's not showing anything unless you reload the whole page. This you can see is kind of annoying if you have a long page with products and you are at the bottom. Everytime you add a product to the cart and refresh you would need to scroll down the whole page again...

So my questions is, if anyone have come up to a "work-around" or a solution that works in an other way than refreshing?
Or if it's possible to only reload the JavaScript showing the mini cart. Or if you have the mini cart in a specific <div> or on a seperate page, you could just reload that one?

Thanks in advance!
Regards
Fredrik H
figge88
WebMaster
 
Posts: 3
Joined: Sun Apr 01, 2012 4:32 pm

Re: Refresh/reload mini cart

Postby Koibito » Tue Apr 10, 2012 12:27 pm

It is easy. You'll need one or two additional lines of code.

viewtopic.php?f=11&t=6729
John
Koibito
Site Admin / Guru
 
Posts: 918
Joined: Sun May 28, 2006 1:59 am
Location: New Jersey, USA


Return to Help: Cart / General

Who is online

Users browsing this forum: No registered users and 1 guest

cron