Home Forums WoodMart support forum Edit the filters logic

Edit the filters logic

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #290494

    bigdrop
    Participant

    Hi,

    On your motorcycle demo on home page you have a filter that uses attributes in order to filter out products.
    I want this filters to work as the ones on product page with AND logic.
    So when someone selects the first filter in the second will be shown only the attribute values that apply to the first selection.

    For example on this page https://woodmart.xtemos.com/shop/demo/motorcycle/?demo=motorcycle
    If you select the the color brown https://woodmart.xtemos.com/shop/demo/motorcycle/?filter_color=brown&demo=motorcycle
    only 7 brands will be available, because it has and AND logic.

    Is it possible to add the same functionality to the home page filters?
    If yes how?

    Thank you!

    PS. It already has AND logic but it shows all the values of the second and third filter option, even if you select a value in the first one. So I want the values in the second filter option to be shown accordingly to the first option. How is this possible?

    #290637

    Hello,

    These filters are based on the default Woocommerce filter functionality and the difference is only you can show them on any page. The filter way of the filter cannot be changed, unfortunately.

    Best Regards

    #292797

    bigdrop
    Participant

    Is it possible instead of your search filter to use a widget with the default woocommerce search?

    #293029

    Hello,

    Yes, sure you can. You can find all the default widgets in Appearance > Widgets.

    Best Regards

    #293049

    bigdrop
    Participant

    I tried that but the Woodmart Layerd Nav widget will not show on home page.
    Am I missing something?

    #293126

    Hello,

    WoodMart widgets are based on Woocommerce widget functionality. These widgets are shown only on the shop and category pages.

    Please consider using custom filters for other pages: https://xtemos.com/docs/woodmart/faq-guides/create-filters-form/

    Best Regards

Viewing 6 posts - 1 through 6 (of 6 total)