Forums / Customization from the Admin / add to cart but stay on same page

add to cart but stay on same page

Locked

Views: 3,443

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
19 Jul 2007, 12:10 PM
#1
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

add to cart but stay on same page

I have a customer who has 2 shops that I have just taken over
Both shops on the product listing page have add to cart buttons with quantity boxes however one will flash a green message when a product has been added to the cart and stay on the same product listing page but the other will do the same apart from it goes to the product info page of the product I have added to the cart where it displays the green added to cart message.

I'm sure there is something in the admin that is different between the 2 shops but can't find it.

Could some kind soul point me in the right direction

Thanks

UK based Zen Cart Web Designer here https://www.handcoded.co.uk

19 Jul 2007, 12:29 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: add to cart but stay on same page

Admin > Configuration > My Store > Display Cart After Adding Product

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

19 Jul 2007, 12:37 PM
#3
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Re: add to cart but stay on same page

That stops the customer from being taken to the cart which is working but how do I stop the customer being taken to the product info page so that they stay on the product listing screen

demo at babyshowerhost.co.uk

I didn't design this so I apologise in advance

UK based Zen Cart Web Designer here https://www.handcoded.co.uk

19 Jul 2007, 12:54 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: add to cart but stay on same page

What you've described as what you want, is what I believe it should do. Do you have a specific example where it doesn't do this that I could look at?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

19 Jul 2007, 1:07 PM
#5
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Re: add to cart but stay on same page

It uses the column listing for product listing mod and I have just uploaded the files for this mod again just be sure but it still takes me to the product info page

demo https://www.baby-naming-day.co.uk

Thanks for trying to help me out by the way

UK based Zen Cart Web Designer here https://www.handcoded.co.uk

19 Jul 2007, 6:49 PM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: add to cart but stay on same page

More questions:

  • Do these stores have different product types?
  • Do you have "Display Product Add to Cart Button" = 2 and "Display Multiple Products Qty Box Status and Set Button Location" on both carts?
  • Has the section after the comment "// qty box with add to cart" been modded in the modules/product_listing.php file on the babyshowerhost site?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

20 Jul 2007, 11:03 AM
#7
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Re: add to cart but stay on same page

I think I broke it when upgrading to 1.3.7.1
Forgot to mention that, sorry

All products are of same type
Display Product Add to Cart Button is set correctly
Product Listing module is the one from the column mod

I think it's probably down to an older template being loaded and I'll just have to have a play until it works as it is supposed to.

The babyshowerhost site is 1.3.5
Trouble is the people who set the site up were complete muppets so I don't know if they fully utilised the over ride system and they have added about one hundred new styles which are completely unnecessary.

I'll give it a final shot but the cklient may just have to live with it until she wants the site to look half decent.

UK based Zen Cart Web Designer here https://www.handcoded.co.uk