If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Add product to cart and stay in product listing

Add product to cart and stay in product listing

Locked

Started by brettw on 19 Apr 2008, 11:44 AM · Views: 1,310

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
19 Apr 2008, 11:44 AM
#1
brettw avatar

brettw

New Zenner

Join Date:
Mar 2008
Posts:
64
Plugin Contributions:
0

Add product to cart and stay in product listing

Hi all,

Hopefully a quick question.

Is there a function that can be changed so that when a customer is in the product listing and clicks add to cart they stay in the product listing?

Im not using the add to cart at the top and bottom of the product listing I have it turned on for each product.

Have a look at the site to see http://www.eastcoasthobbies.com.au

Thanks

Brett

19 Apr 2008, 2:12 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Add product to cart and stay in product listing

brettw:

Hi all,

Hopefully a quick question.

Is there a function that can be changed so that when a customer is in the product listing and clicks add to cart they stay in the product listing?

Im not using the add to cart at the top and bottom of the product listing I have it turned on for each product.

Have a look at the site to see http://www.eastcoasthobbies.com.au

Thanks

Brett

B,
Yes you can very easily.

admin panel/ configuration/ my store/ Display Cart After Adding Product

  1. set to false

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

19 Apr 2008, 2:30 PM
#3
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Add product to cart and stay in product listing

Haredo's suggestion stops the cart from displaying... but if you have Add To Cart buttons below each product on the Product Listing page, all this does is send the shopper to the Product Info Page (after an item has been added).

Brett's requirement is to KEEP the Product Listing page in view, after an item has been added fom it...

Interestingly, if you list All Products Page, then it will stay on the page, but won't do so if you show Product Listing Page.

Perhaps you should see this thread... particularly what MARG says towards the end.

(I made her suggested changes to product_info.php, but it did not work for me. I am using 1.3.8a.)

http://www.zen-cart.com/forum/showthread.php?t=71837

Brett, if you can get it to work, then please PM me and tell me how!

20 Apr 2008, 10:25 AM
#4
brettw avatar

brettw

New Zenner

Join Date:
Mar 2008
Posts:
64
Plugin Contributions:
0

Re: Add product to cart and stay in product listing

fairestcape:

Haredo's suggestion stops the cart from displaying... but if you have Add To Cart buttons below each product on the Product Listing page, all this does is send the shopper to the Product Info Page (after an item has been added).

Brett's requirement is to KEEP the Product Listing page in view, after an item has been added fom it...

Interestingly, if you list All Products Page, then it will stay on the page, but won't do so if you show Product Listing Page.

Perhaps you should see this thread... particularly what MARG says towards the end.

(I made her suggested changes to product_info.php, but it did not work for me. I am using 1.3.8a.)

http://www.zen-cart.com/forum/showthread.php?t=71837

Brett, if you can get it to work, then please PM me and tell me how!

Unfortunately I couldnt get the link you suggested to work either :no:

I also tried this one with no luck
http://www.zen-cart.com/forum/showthread.php?t=83621&highlight=Display+Cart+After+Adding+Product

From the other posts I have read it was working for 1.3.7.x by setting
Configuration/My Store/Display Cart After Adding Product to false however this seems to be either not working the way it is designed in 1.3.8.x or Im completely confused as to what should happen if this is set to false.

Anyone out there with any type of idea as to how to do this it would be great as Ive hit a wall with this one. :frusty:

Thanks

Brett