I’m working on a Shopify project that requires storing and filtering a large number of IDs (sometimes over 1500) for each product. These IDs represent compatible vehicle models for each product. Here’s my current situation:
-
I’m using ‘list.single_line_text_field’ metafields to store “model_ids” and “car_ids”.
-
I’m limited to 128 values per metafield, which is insufficient for my use case.
-
I need to be able to filter products based on these IDs via URL, like this:
.../all?filter.p.m.custom.model_ids=12345&filter.p.m.custom.car_ids=98765
Main issues:
- The 128-value limit per metafield.
- Tags have a limit of 250 values, also insufficient.
Questions:
- Is there a way to exceed this 128-value limit while maintaining URL filtering?
- What’s the best alternative for storing over 1500 IDs per product in Shopify while allowing efficient filtering?
- How can I adapt my filtering system to work with a solution that allows storing more than 1500 IDs?