BeBuilder Filter Form > Custom Postmeta > _price

I am trying to add a filter menu to my shop page and am having an issue.

I need to setup the filter menu similar to the one here: https://njswingsets.com/collections/all

The problem i am facing currently is the radio option for pricing (i.e the last options on the example page), i can't seem to get the pricing to use a min - max value check for a value such as "Under $50"

You can test my current setup here: https://jn7.687.mywebsitetransfer.com/shop/

The URL i get when attempting this format is this:

shop/?mfn-advanced-filters-logic=AND&postmeta_filter_logic__price=BETWEEN&postmeta__price_min=&postmeta__price_max=&postmeta__price=0-50&per_page=12&orderby=popularity&layout=grid

From what i can tell, min / max is not being assigned and instead it's using 0-50 as a price, which returns back nothing.

I've also tried using custom PHP in the functions file, for the child theme but no luck with that either.

Can you please assist with this? Am i using the wrong format or is this a feature i simply can't do with this filter menu?

Thanks!

Comments

  • Hi,

    Radio buttons do not support "between" logic, which is necessary for defining numerical ranges (e.g., $10 – $50).

    In BeBuilder, the radio button filter is designed to handle exact values or arrays only.

    For all numerical data—including price—the Slider is the only element that supports range logic. If you need to filter by price intervals, the Slider is the designated component to use, as it can process the minimum and maximum values correctly.

    Hope this helps clarify the current functionality!


    Best regards

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.