• Resolved Felix

    (@mdordaa)


    Whenever I use the ajax filtering, or reset filters, the theme’s sorting and ordering disappear. I have to refresh the page to get them to display again. I’ve checked with a the default storefront theme and confirmed that the problem is only with theme. I know your plugin has a sorting option, but I prefer to use the theme’s sorting option since it comes with the ordering option as well. See the linked image for more details. Could you provide custom code to resolve the conflict.

    Regards.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Felix

    (@mdordaa)

    I’m using this theme.

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    1. Check that you have correct selector for Products Sorting Selector option in plugin settings -> Selectors tab

    2. Or if theme use some JavaScript code that initialize sorting functionality, then maybe you need to se it again after filterring with JavaScript code.
    You can add it in plugin settings -> JavaScript/CSS tab -> After update field.

    Regards,
    Oleg

    Thread Starter Felix

    (@mdordaa)

    Thanks for the response.

    The problem is not with the products sorting selector; it’s correct.

    Therefore, it must be the javascript issue, which I don’t have the know-how to solve. I’ll then either have to live with the problem or switch to your plugin’s sorting option.

    I wish there was a general (not theme-specific) javascript code which could solve the problem.

    Regards.

    Thread Starter Felix

    (@mdordaa)

    Ok, I’m now trying to use your plugin’s sorting option but there’s a little problem. You have 2 sorting options: “Any” and “Sort by” which are supposed to do the same. I would like you to remove the “Any” option. My use case does not allow me to display the title and having “Any” in the selection box is not informative.

    Regards.

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    Can you provide your site URL to check this issue?

    Regards,
    Oleg

    Thread Starter Felix

    (@mdordaa)

    Hi,

    My site is not live yet, but I’ve set up a test site with the problem theme for you to check.

    Regards.

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    “Sort By” element added to sorting by theme or some other plugin, our plugin use sortings values same as WooCommerce has.

    Your theme use JavaScript to style order dropdown menu and hide it on page load, after AJAX load it get same style as it has on page load.

    Regards,
    Oleg

    Thread Starter Felix

    (@mdordaa)

    Hi,

    Thanks for your time. I’ll try and sort out these issues later.

    Regards.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Ajax filtering hides theme sorting and ordering buttons’ is closed to new replies.