I’m working with creating a new field template for a product category. In this template I’m adding new fields, mostly of type textOption. A few of them need to be filters, how to I make it work?
I’ve added this code to ProductsFieldDefinitionSetup.cs:
and also defined the field in backoffice and added it to a product field template. However, on the product listing/categpry page I can’t see it as a new filter option. What have I missed?
Thanks for your quick reply, and yes I’m using Litium 7.
I have followed your steps, but I can’t see the new filter on the website. I even removed Price and News filters from both Settings > Accelerator > Product filtering and Settings > Websites > Websites to see if anything would change and they both disappear.
What could I possibly have been missing?
UPDATE:
I added the all the fields in backoffice that I had defined in the code and now its working!