diff options
Diffstat (limited to 'src-migrate/modules/product-detail/components')
| -rw-r--r-- | src-migrate/modules/product-detail/components/Information.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src-migrate/modules/product-detail/components/Information.tsx b/src-migrate/modules/product-detail/components/Information.tsx index 900225a5..ce848267 100644 --- a/src-migrate/modules/product-detail/components/Information.tsx +++ b/src-migrate/modules/product-detail/components/Information.tsx @@ -178,7 +178,10 @@ const Information = ({ product }: Props) => { .map((option, cid) => ( <AutoCompleteItem key={option.id} - value={String(option.id)} + // value={String(option.id)} + value={option.code + + (option.attributes?.[0] ? ` - ${option.attributes[0]}` : '') + } _selected={ option.id === selectedVariant?.id ? { bg: 'gray.300' } |
