fix: Allow filtering products by variant options in store (#7784)

This commit is contained in:
Stevche Radevski authored and GitHub committed 2024-06-21 10:42:09 +02:00
1 parent ee35379e21
commit 944051a951
6 files changed
+246 -508

No files matched your search

@@ -702,6 +702,12 @@ export interface FilterableProductProps
*/
value?: string[]
}
/**
* Filters on a product's variant properties.
*/
variants?: {
options: { value: string; option_id: string }
}
/**
* Filter a product by the ID of the associated type
*/