Shop page filtering, Spotlight widget, vs sidebar widget logic

This topic has 5 replies, 2 voices, and was last updated 4 months, 3 weeks ago ago by Nicolo

  • Avatar: Nicolo
    Nicolo
    Participant
    August 1, 2025 at 13:12

    Hi,

    Currently, the product category filter on my site allows only one active category at a time. Clicking a category loads products from that category via AJAX. Selecting a different category resets the filter to show only the newly selected one.

    This logic works well for the Spotlight widget—which you previously adjusted via SFTP—but we need a different behavior for the Sidebar widget.

    Specifically, we want to revert to the standard filtering logic on those areas, allowing users to select multiple categories simultaneously.

    What’s the best way to implement this?

    Should we restore multi-select filtering globally?
    Then apply the single-category logic only to the Spotlight widget?
    Is this possible to handle within Elementor, or would using code snippets be better?
    I’ve recorded a short video to demonstrate the current behavior differences:

    https://www.loom.com/share/b0a1b3d2ebdb4a64a9865ddd99948850?sid=5ad13ab2-e1c4-4c55-a6d1-6aaaba61be68

    Looking forward to your advice on the best approach with scalable errorfree code implementation.

    Best regards,

    4 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 1, 2025 at 16:26

    Hello @Nicolo,

    We hope this message finds you well.

    If you would like to enable the selection of multiple categories from the sidebar, we recommend using the following widget: https://prnt.sc/5_z2rabbf8q6. This will allow the sidebar to appear as shown here: https://prnt.sc/nqrmSuEM4POh, enabling your customers to filter products by selecting multiple categories simultaneously (example: https://prnt.sc/nl4_ha3wVloz).

    Please note that the Spotlight Categories widget will continue to function as it currently does, without any changes.

    Kindly review the suggested implementation at your convenience. If you have a different approach in mind, we would be happy to receive the details and discuss further.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: Nicolo
    Nicolo
    Participant
    August 1, 2025 at 18:50

    Very grateful for this implementation!

    Excactly what i was looking for

    I saw that there was an option to add “ajax preloading”

    Will this help the speed of showing results after clicking?

    In other words, will it help with this active ticket here:
    https://www.8theme.com/topic/shop-page-ajax-filtering-sidebar-loading-time/#post-451482

    Regards

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 2, 2025 at 06:57

    Hello @Nicolo,

    We hope this message finds you well.

    Please note that enabling the AJAX loading option for this widget will prevent its content from being displayed until the customer scrolls to the widget and it becomes visible on the screen.

    In your specific case, since the widget appears first in the sidebar content, we recommend disabling the AJAX loading option. This will ensure that the widget functions correctly and that the category items are displayed promptly without any delay.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: Nicolo
    Nicolo
    Participant
    August 4, 2025 at 10:49

    Thanks for the support! My topic “Shop page filtering, Spotlight widget, vs sidebar widget logic” has been successfully resolved.

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

The issue related to '‘Shop page filtering, Spotlight widget, vs sidebar widget logic’' has been successfully resolved, and the topic is now closed for further responses

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