• Resolved priyanshupokhariya

    (@priyanshupokhariya)


    add to cart product is not working , i’ve tried deactivating all the plugins and have switched the theme also but still not working. some time an erroce comes up saying ?Please Choose Product Options by Visiting Sohshang Pickle olive. pls help

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hannan

    (@phpcoderhannan)

    Hello,

    I have checked your single product page and see that, jQuery is not define on your site. see here ( https://prnt.sc/Gwx3eyH9udjS ). So fix that jQuery issue. after fixing this issue your add to cart button will work fine.

    Thanks,

    Hannan

    Thread Starter priyanshupokhariya

    (@priyanshupokhariya)

    the button is working fine when some one is logged in but not working when clicking without logging in.

    Hi @priyanshupokhariya

    As @phpcoderhannan mentioned, this issue is because of the missing jquery on that page. You can check that error message in the browser console.
    Usually, jquery is loaded from WordPress itself, but in your case, those files are missing, as the request to the standard jquery path is showing a 404 error.

    So either reinstall the WordPress (you can do it from WordPress Admin -> Updates page) or replace those missing files from latest downloaded WordPress.

    Note: Although the process is simple one click operation, but it is still recommended to take a backup before reinstalling WordPress.

    Saif

    (@babylon1999)

    Hello @priyanshupokhariya,

    Thank you for reaching out!

    I managed to add the product to cart without any issues.

    Have you managed to fix the issue? If you have, then please change the thread status to ‘solved’. :?)

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add to cart button not working on single product page’ is closed to new replies.