Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Jan 2012
    Location
    Canada
    Posts
    16
    Plugin Contributions
    0

    Default Re: Product listing page "add to cart" button redirects to product info

    Good point mc12345678,
    I did test that. When I had it setup for "Multiple Products QTY" It would redirect to the same page. The problem was my "buy now" button disappeared.

  2. #2
    Join Date
    Dec 2008
    Location
    New Zealand
    Posts
    88
    Plugin Contributions
    1

    Default Re: Product listing page "add to cart" button redirects to product info

    I think that ZC is doing exactly what you instructed, but you are not paying attention (or I could be wrong, it has happened before ).

    When I go to the page and click add to cart, it adds the product to the cart, and then goes to the product page.

    The problem is that it isn't really obvious that the product has been added to the cart, and going to the product page looks almost like what it would do if there was some type of error, so you click 'add to cart' again.

    Change "Display Cart After Adding Product" to true, and I think that will make your problem go away. I know that you turned it to false for a reason, but test to see if that is causing your behaviour & then see if you still agree with your reason.

  3. #3
    Join Date
    Jan 2012
    Location
    Canada
    Posts
    16
    Plugin Contributions
    0

    Default Re: Product listing page "add to cart" button redirects to product info

    I don't see how that would work, but I'll try it!

    So, it just took me to the shopping cart after adding an item from the product page.
    not the easy fix I was hoping for haha

    Could it have anything to do with the green banner that says you've successfully added the item to the cart?

  4. #4
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Product listing page "add to cart" button redirects to product info

    Quote Originally Posted by Mikey D View Post
    I don't see how that would work, but I'll try it!

    So, it just took me to the shopping cart after adding an item from the product page.
    not the easy fix I was hoping for haha

    Could it have anything to do with the green banner that says you've successfully added the item to the cart?
    Actually, that banner ought to provide a good indication that the product has been added to the cart... Since it says that...

    Now, I got to thinking and a while back someone had a slightly different request, but perhaps with proper merging, it can be incorporated and serve the end goal you are trying to obtain, but let me explain first.

    So, the "Display Multiple Products Qty Box Status and Set Button Location" set to a value other than 0, removes the Add-to-cart button... Makes sense to an extent as one need only populate the quantity desired for each item and then select the button that is located top, bottom, or both to fill the cart with that quantity of those items. The add-to-cart button addresses the one item and isn't really looking at where it "was"... So, what about something somewhat in the middle of the road? What about an increase/decrease button?

    Check out: Checkbox TextBox Icon Product Checkout

    The idea is/was that an icon would be available to click on to increase or decrease the quantity of the product in the cart and stay on the same page... Of course this is before the use of things like javascript or ajax... :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jan 2012
    Location
    Canada
    Posts
    16
    Plugin Contributions
    0

    Default Re: Product listing page "add to cart" button redirects to product info

    I see what your saying, but that's not the setup what I was hoping for. I want someone to fill in the field, click add to cart, have the listing page refreshed with the little green banner on top. I don't see how that addon would fix my redirect. Also, to have it the way I want, I would have to "hide" these icons, which seems a bit redundant.

    Maybe I could hack the code a bit. What I was thinking as a work around would be switching it to multiple product QTY. Finding the add to cart button code, or the add multiple product button code. Then adding that button to each listing under the quantity box.
    The first problem I see is that if they put any numbers down in another field, and forget about it, then choose another item and input the amount, both will be added to the cart. I would also have to change the default quantity in that box to zero instead of 1 or whatever.
    Can you imagine any other pitfalls?

    hmmm maybe I'll take a closer look at that add multiple items button. There must be something there that keeps it on the same page.

    BTW Thanks for your help on this today!

  6. #6
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Product listing page "add to cart" button redirects to product info

    So the plugin resolves the issue of opening the product info page upon increasing/decreasing the quantity by well, not doing so. As stated in the plugin/forum thread, the images are not the top pick, but that can be resolved by using the picture of choice.

    To me it seems like it resolves the general issue, and perhaps some modification to further get what you're looking.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,907
    Plugin Contributions
    13

    Default Re: Product listing page "add to cart" button redirects to product info

    mikey,
    allow me to throw my 2 cents in but you already have members of the a-team on the case.

    it seems that the ajax-to-cart functionality would resolve your problem, as you would just stay on the current page without even a need to refresh the whole page. when i go to your page, and add something to the cart, i see EXACTLY the behavior that you are talking about. i also see some console errors that suggest to me you "might" already have that ajax add-to-cart functionality in your responsive avonlee contempo template but you are not loading jquery prior to that call. so your jquery call fails and then you are going to some default behavior that might be addressed via a configuration setting that others have talked about.

    i know nothing about that template, but i "think" if you get those console errors addressed, everything might work exactly the way you want it. (you can see console errors via developer tools which are mostly accessed by pressing the F12 key when on your page, although it varies based on what browser you are using.)

    good luck!
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Similar Threads

  1. EasyPopulate problem: "Add to Cart" and "price" not showing on product info page
    By pcspot in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Apr 2010, 08:06 AM
  2. Replies: 26
    Last Post: 19 Feb 2010, 02:56 AM
  3. Adding more than one button "add to cart" on product info page....
    By Celebrimbor in forum General Questions
    Replies: 14
    Last Post: 4 Feb 2010, 05:41 PM
  4. How to add a string to "product info" and "product listing"?
    By SanchoPanza in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Dec 2007, 03:07 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