• Hello, I am experiencing an issue as follows:

    I am using a plugin to filter products using AJAX and I also have ‘Enable swatches for shop/archive page’ turned on. When I first load the page, everything is fine, and when I select product variants, it shows the corresponding prices. However, after applying the filter and the product list is reloaded with AJAX, when I select variants, their prices do not change accordingly. Is there a way to solve this issue? Thank you very much!”

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Shravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @homestory,

    I checked your site and can see the jQuery error in the console. Please check if there is some other plugin causing the conflict. Here’s what we can do to make sure:

    Firstly, try to temporarily switch to another theme, like default themes like – Twenty-Twenty or Twenty Nineteen, and check if the error or issue persists.

    Next, you can deactivate all the plugins temporarily except Variation Swatches and WooCommerce and see if that solves the error. If it does then activate plugins one by one to see which plugin is causing the problem.

    Learn more about troubleshooting in WordPress: How to Troubleshoot a Conflict with the Plugin & Theme?

    Hope this helps.

    Let me know how it goes.

    Thread Starter HomeStory Concept

    (@homestory)

    Hello Shravan Bhaskaravajjula,

    Thank you for your response. I have tried applying the Twenty Twenty-Four theme, but the issue still persists. The problem occurs after filtering products using an AJAX filter plugin; that’s when the error appears. Is there any way to resolve this, or should I seek support from the AJAX filter plugin’s team?

    Plugin Support Shravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @homestory,

    Please try to call this trigger where product load by ajax,
    document.dispatchEvent( new CustomEvent(“cfvswVariationLoad”, { detail: {} }) );

    Please contact the other plugin support to know where to add this code and let us know how it goes.

    Hope this helps.

    Thread Starter HomeStory Concept

    (@homestory)

    Hello,

    I tried your call trigger and it worked. Thank you very much for your assistance.

    Plugin Support Shravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @homestory,

    Thank you so much for the update and I hope that everything is working smoothly now.

    If you have a few moments, I would really appreciate it if you could leave a positive review on our?WordPress plugin page. Your feedback helps us improve our services and lets other users know that we’re here to help. Plus, it would mean a lot to me personally to know that I was able to assist you to your satisfaction.

    Thanks and have a great day!

    @homestory
    Where did u included this code ? i’m facing the same issue as you.

    Plugin Support Shravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @matheuslacerda,

    You should consider adding the code where the ajax execution occurs within the third-party plugin or theme you’re using. Integrating this code will help resolve any issues that arise during Ajax calls on the page.

    Hope this helps!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Issue on Product Category/Shop Page After Products Reload with AJAX’ is closed to new replies.