Add to cart button and buy now button disabled for variable products

This topic has 4 replies, 2 voices, and was last updated 2 years, 4 months ago ago by Awais Ahmed

  • Avatar: Sreenivas
    Sreenivas
    Participant
    August 2, 2022 at 09:34

    Add to cart button and buy now button are disabled for variable products even after selection of product options

    3 Answers
    Avatar: Awais Ahmed
    Awais Ahmed
    Participant
    August 2, 2022 at 09:57

    Hello, @Sreenivas,

    I can see in my browser console there’s a JavaScript error triggered on product pages: https://postimg.cc/vckRbXRM

    Variable products use JavaScript code to reload the variations, so errors like this one can prevent them from working correctly.

    I checked the error details, and it looks like some of the default JavaScript libraries used in WordPress aren’t loaded on time. This can usually happen if there are some caching plugins that try to “optimize” JavaScript code by delaying it.

    You can check and turn OFF the Options under XStore >> Theme Settings >> Speed Optimization. Try to check every option in that section one by one.

    Otherwise, please try to disable all the third-party plugins (including cache plugins), that does not come bundled with XStore https://www.8theme.com/documentation/xstore/plugins/included-plugins/ , clear the cache of the browser, and check then. Maybe one of the additional plugins is a reason for the problem.

    If the issue still persists then please keep the plugins disabled and let us know I will debug in deep to find the cause of the issue and also your permission to debug your site which includes deactivating all the third-party plugins and on-site Customization as well.

    Note: Please take a complete backup of your site first, before going to disabling the plugins to avoid any inconvenience.

    Regards 8Themes Team.

    Avatar: Sreenivas
    Sreenivas
    Participant
    August 2, 2022 at 10:36

    Dear @Awais Ahmed,

    Thanks for your prompt reply. I disabled the Js minify option at catch plugin and also in the Speed optimization options in theme settings. Seems working fine. Once again thanks for your prompt support.

    Avatar: Awais Ahmed
    Awais Ahmed
    Participant
    August 2, 2022 at 10:55

    Hello, @Sreenivas,

    Most Welcome ?,

    If you do not mind, can you please leave 5 stars rating for our Theme & Customer and Technical Support by going here: http://themeforest.net/downloads It will allow us to release more updates and provide dedicated support in the future. It would encourage our work a lot. If you like our Theme and Support.

    Thanks for contacting us.

    Have a great day ?

    Regards 8Themes Team.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.