Hi
Does anyone know if its possible to create a page that shows products based on what the customer chooses?
E.G
They pick,
- Male
- Brother
- Like outdoors and sports
Products based on the above would then be shown.
I know I can do this filters, which I do, but I am hoping to build a gift finder.
Any help would be great.
Thanks!
Hi,
First, you will need to decide on how to represent this data.
One method of doing so is by adding a product collection where each row contains one product, price, quantity etc.
In addition, add a “keyword” field which contains an array of keywords that are relevant to this specific product.
Next, write a function that sets a filter on the dataset.
hasAll is most likely the filter type you’ll need to use.