Developer forum

Forum » Ecommerce - Standard features » Filtering products based on atributes - using mapping of values

Filtering products based on atributes - using mapping of values

Ivan Marijanović
Ivan Marijanović
Reply

Hi people!

We have client whou runs fashion store and have one request.

He have products which size is displayed in different systems (for example EU sizes, US sizes, UK sizes etc). So he would like to have facets where client can for example select size 8 (UK sizes) and that we list all products that have UK size 8 or EU size 36 etc.

I dotn see how this can be done!

 

Any ideas?

Ivan


Replies

 
Nicolai Pedersen
Reply

How are the sizes stored? Do you have a size variant group that has both EU sizes and UK sizes?

  • You might be able to use "Grouping fields" to achieve your thing. See https://doc.dynamicweb.com/documentation-9/indexing/indexing-search/indexes#4785
  • You might be able to use template translates to control what the frontend says. So if Size in the index is UK Size 8, you simply translate that (just the label in the frontend) to EU Size 36.
  • You might be able to use 2 different facets and then let the website control which it is. You have a facet definition containing all your facets. Remove the size facet from that definition. Then create a "UK Sizes" facet definition and a "EU Sizes" defintion, both with only one facet. Then on the paragraph on the UK site, add the UK sizes definition to the paragraph, and the EU on the other sites. 
  • You might be able to use Dynamic facets - see https://doc.dynamicweb.com/documentation-9/indexing/indexing-search/facets#8689

I need to understand how your data is structured to guide you on. If possible, show me a dump or 2 of your setup.

Thanks, Nicolai

 

You must be logged in to post in the forum