Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Stop 'add to cart' button from navigating to shopping cart page

    That's standard Zencart behavior - when adding products to the cart from the search results page, the store returns to the main page. I'd guess the thinking is that there's no reason to return to the search results page, so the main page is the logical place, other than the shopping cart.

    Where were you thinking it should return to ?

  2. #2
    Join Date
    Jan 2011
    Posts
    9
    Plugin Contributions
    0

    Default Re: Stop 'add to cart' button from navigating to shopping cart page

    I would like it to return to (or stay on) that search results page. It seems like it could be done as the search terms are part of the URL string. My PHP skills just aren't good enough to figure out how to implement.

    For example, right now the page is redirecting here (when I search for "academy" and add a product to my cart)

    http://www.halfpricehobbies.com/stor...cat=0&sort=20a

    I would like it to function like it does when you browse products and return here:

    http://www.halfpricehobbies.com/stor...eyword=academy

    with just a notification at the top of the page that it was added to the cart successfully. To me it should work like it does when you browse a category. If you go here:

    http://www.halfpricehobbies.com/stor...=index&cPath=1

    and add a product to the cart, it does not take you away from where you were last...just notifies you that the product has been added to the cart. I'd like to searches to behave the same way, and customers are telling us that is their preference as well.

    Is this possible to do even?

 

 

Similar Threads

  1. Replies: 0
    Last Post: 18 Jun 2012, 01:02 AM
  2. Add to cart button from my main domain name to my shopping cart
    By uwinme in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 7 Mar 2010, 01:15 AM
  3. Replies: 1
    Last Post: 10 Sep 2009, 09:14 PM
  4. add to cart from shopping cart page
    By rlparker in forum General Questions
    Replies: 1
    Last Post: 26 Mar 2009, 04:10 PM
  5. Stop site from jumping to cart after Add to Cart
    By ndg_uk in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Mar 2007, 11:02 PM

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