diff --git a/www/apps/resources/app/storefront-development/products/variants/page.mdx b/www/apps/resources/app/storefront-development/products/variants/page.mdx index e70dfe562c..613e28d842 100644 --- a/www/apps/resources/app/storefront-development/products/variants/page.mdx +++ b/www/apps/resources/app/storefront-development/products/variants/page.mdx @@ -81,7 +81,7 @@ export default function Product({ params: { id } }: Params) { } return product.variants.find((variant) => variant.options?.every( - (optionValue) => optionValue.value === selectedOptions[optionValue.option_id!] + (optionValue) => optionValue.id === selectedOptions[optionValue.option_id!] )) }, [selectedOptions, product])