iFixit / react-commerce

A work in progress prototype for iFixit e-commerce functionalities.
https://react-commerce.vercel.app
2 stars 0 forks source link

Define Facets for specific Devices in Strapi #587

Open jeffsnyder opened 2 years ago

jeffsnyder commented 2 years ago

We want to set facets on specific ProductLists and, if possible, have all children and grandchildren inherit the given facet.

Per our Samsung partnership, we cannot link from Samsung to pages that show Aftermarket parts. A solution would be to add a facet for our OEM partnerships and pre-select the preferred option via the URL like we can do with https://ifixit.com/Parts/Google_Phone?filter%5Boem_partnership%5D%5B0%5D=Genuine%20Google%20Pixel%20Part . But unless we add the facet to the facet list, shoppers won't be able to unselect the option. And if we add "OEM Partnership" to our standard list of facets right now, the whole browse tree will get this option, and I'd rather not draw attention to the fact that a very small percentage of our parts are genuine OEM parts.

So we need to do two one things:

1) Build a feature that allows facets to be added to the standard list of facets in Strapi. If possible, these custom definitions would be inherited down the tree. This feature would be very useful, we dropped many facets because they were too device-specific.

2) We should consider making selected filters persist when clicking on a model drilldown. Clicking any of these models takes you to an unfiltered ProductList. (Maybe what we're doing right now is most correct. I'm trying to anticipate Samsung objections, and they likely will not be ok with switching from OEM to all parts without the customer specifically turning off the OEM filter.)

image

@sterlinghirsh

sterlinghirsh commented 2 years ago

Let's consider just adding OEM Partnership at the top level and decide if we want to whitelist/blacklist and how inheritance should work.

dhmacs commented 1 year ago

Is this still relevant?

cc @sterlinghirsh @jeffsnyder

sterlinghirsh commented 1 year ago

I think generally we'd still like to do it, but I don't know what the priority is. I'll defer to Jeff here.