Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2004
    Posts
    246
    Plugin Contributions
    0

    Default 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 www.handcoded.co.uk

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default 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)

  3. #3
    Join Date
    Jul 2004
    Posts
    246
    Plugin Contributions
    0

    Default 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 www.handcoded.co.uk

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default 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)

  5. #5
    Join Date
    Jul 2004
    Posts
    246
    Plugin Contributions
    0

    Default 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 www.baby-naming-day.co.uk

    Thanks for trying to help me out by the way
    UK based Zen Cart Web Designer here www.handcoded.co.uk

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default 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)

  7. #7
    Join Date
    Jul 2004
    Posts
    246
    Plugin Contributions
    0

    Default 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 www.handcoded.co.uk

 

 

Similar Threads

  1. Replies: 6
    Last Post: 17 May 2013, 05:04 AM
  2. Stay on search page after add a product to cart
    By PC88 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Nov 2011, 08:21 PM
  3. Why "Add to Cart" will not stay right of description but goes below?
    By bradlawson25 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 26 Sep 2011, 09:13 AM
  4. Replies: 3
    Last Post: 19 Jul 2011, 03:26 AM
  5. How do I make Add to Cart stay on the same page?
    By twiddletails in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Jan 2009, 11:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR