What's your biggest current challenge? Have your say in Community Polls along the right column.

Creating a Dimensions filter

Creating a Dimensions filter

CD_Studio
Visitor
2 0 2

Hi,

 

I'd like to have a filter similar to Price for the dimensions (height and width) of my products. 

CD_Studio_0-1732796053866.png

 

Something like a Width "Minimum to Maximum" and Length Minimum to Maximum input fields. I have a purchased Theme and I'm using Search & Discovery App.

Replies 3 (3)

Abdosamer
Shopify Partner
943 172 198

@CD_Studio , You can achieve this by creating metafields for both the width and height of each product in your store. Once the metafields are set up, you can enable filtering by metafields through the Search & Discovery app.

Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work
CD_Studio
Visitor
2 0 2

Hi @Abdosamer thanks for the feedback. I have tried that but it creates a checkbox. Not a sliding filter for minimum and maximum measurements. I have more than 500 products, most of them with different sizes, so a checkbox wouldn't really work. I'd prefer avoid paying for an app for this since I think the logic should be the same as the price filter.

Abdosamer
Shopify Partner
943 172 198

@CD_Studio  Without reviewing the theme code, it's difficult to provide a definitive answer. Each Shopify theme has a unique structure, and while some functionalities can be extended, others may have limitations. Additionally, since the price filter doesn’t rely on metafields, the logic for implementing a dimensions filter would differ.

Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work