Ajax Filter on Product Listing – JS Error

This topic has 7 replies, 2 voices, and was last updated 3 years, 12 months ago ago by Olga Barlow

  • Avatar: Kri8it
    Kri8it
    Participant
    September 21, 2020 at 11:22

    Hi,

    We are encountering a js error when using the price filter on a product listing.

    Uncaught TypeError: Cannot read property ‘replace’ of undefined in /wp-content/themes/xstore/js/ajax-filters.min.js?ver=0.0.1

    So the products don’t actually filter.

    Thanks

    6 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 21, 2020 at 16:25

    Hello,

    Add the 8theme – Price filter widget to the shop widget area instead of the default price widget if you want to use Ajax filter for the products.

    Regards

    Avatar: Kri8it
    Kri8it
    Participant
    November 6, 2020 at 15:49

    Hi Ogla,

    Thanks for your response. I have done as you suggested, but still get an error?

    Thanks

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 6, 2020 at 17:15

    Hello,

    Provide us with WP Dashboard and FTP access to your site, please. We’ll check the issue in more detail.

    Regards

    Avatar: Kri8it
    Kri8it
    Participant
    November 9, 2020 at 12:20

    Thanks

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 9, 2020 at 17:38

    Hello,

    We have sent your issue to our developers. I’ll inform you once they fix the problem.

    Regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 10, 2020 at 15:09

    Hello,

    Problem with the Ajax filtering on the shop page is related to Elementor template. If you want to use the Elementor template you need to disable Ajax filtering because our scripts do not work with the changed structure of the shop page.

    Why do you use the Elementor for the shop page? Just because of this block http://prntscr.com/vgsoaf ?

    Regards

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

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

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