Forums / Setting Up Categories, Products, Attributes / Refresh quantity after adding to cart in product listing

Refresh quantity after adding to cart in product listing

Locked

Views: 2,054

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
22 Jun 2008, 8:39 AM
#1
chenhsun avatar

chenhsun

New Zenner

Join Date:
Jun 2008
Posts:
16
Plugin Contributions:
0

Refresh quantity after adding to cart in product listing

Hi there I am fairly new to zen cart. Got a simple question but cannot find answers anywhere. Any help is appreciated!

In the product listing page, customers can enter the quantity for each item they want to add to cart. I have Display Cart After Adding Product turned to false. My question is, how to reset the quantity boxes to 0 after customer main page refreshes?
In other words, right now if I add 2 coke and 2 pepsi to cart in the product listing page, after the page reloads, the quantity box still says 2 and 2 for coke and pepsi instead of desired 0 and 0.

Thanks in advance!:smile:

22 Jun 2008, 3:50 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Refresh quantity after adding to cart in product listing

Ummm ... mine resets to 0 on everythings when setup to not show the shopping cart or when setup to show the shopping_cart page and I return to the Product and then the Listing ...

Have you an URL where perhaps we can see this happen? :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

23 Jun 2008, 1:17 AM
#3
chenhsun avatar

chenhsun

New Zenner

Join Date:
Jun 2008
Posts:
16
Plugin Contributions:
0

Re: Refresh quantity after adding to cart in product listing

Hi Linda:

Thanks for helping, my website is https://www.dilimart.com. It is still a work in progress. The theme is completely off. Welcome to give me some advice.

Well the problem is that it doesn't do it very often. Most of the time it behaves nicely, maybe 1/20 it happens. I recently installed the set number of products per page module. Only started noticing it after that. O well, I think it is all right for now. Thanks so much for helping!:smile:

23 Jun 2008, 1:49 AM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,682
Plugin Contributions:
0

Re: Refresh quantity after adding to cart in product listing

set number of products per page module

Suggest you un-install the mod and test again.

(Just for curiousity's sake - what is it supposed to do?)

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

23 Jun 2008, 3:27 AM
#5
chenhsun avatar

chenhsun

New Zenner

Join Date:
Jun 2008
Posts:
16
Plugin Contributions:
0

Re: Refresh quantity after adding to cart in product listing

Yeah I will try that.

The contribution lets users set the number of products displayed per page.

23 Jun 2008, 6:01 AM
#6
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Refresh quantity after adding to cart in product listing

Off topic here, but I viewed your site in IE7 and in the footer, the copyright and powered by ZenCart are hidden/partially hidden.

I had this problem with one of my client's templates, and I was able to get it corrected by a fix that was given to me by clydejones for the Comstock template.

Perhaps one of the gurus here can instruct you on to fix this for your template.

Tina

23 Jun 2008, 6:33 AM
#7
chenhsun avatar

chenhsun

New Zenner

Join Date:
Jun 2008
Posts:
16
Plugin Contributions:
0

Re: Refresh quantity after adding to cart in product listing

Thanks Tina:

Yeah I'll search a bit too, I don't have IE and have not gotten to the point to try cross browser setups yet