• Resolved efahsan

    (@efahsan)


    Hi,

    I’m trying to redirect users to cart right after a successful add to cart but it is not working from product page. However, it works on product archive page.

    The difference I notice with these two pages is that on product archive page, query string for add to cart appears right after clicking on add to cart. The query string does not appear in the url after clicking add to cart in the product page. I believe this query string is the redirecting issue from product page.

    I have tried disabling the ajax but still doesn’t work. I hope someone can help me figure out how to solve this add to cart query string issue.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • @efahsan

    To redirect to cart after adding products, kindly follow this guide

    Thread Starter efahsan

    (@efahsan)

    Hi,

    I have tried enabling that option but it only works on Product Archive Page but the add to cart button on Product Page still does not redirect users to cart.

    Can you please help me figure out why its like this.

    Ef

    Hi @efahsan

    the add to cart button on Product Page still does not redirect users to cart.

    I’d then recommend running a conflict test to check if the issue is coming from a theme/plugin conflict. The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Test to see if the issue has been resolved

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Thread Starter efahsan

    (@efahsan)

    Thanks for the info, I’ve worked on it and finally found it and solved the issue. Really appreciate your help

    Mirko P.

    (@rainfallnixfig)

    Glad to hear it – thanks for letting us know!
    
    I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Add To Cart Query String’ is closed to new replies.