mirror of
https://github.com/vercel/commerce.git
synced 2025-07-31 14:01:24 +00:00
fix product option color check
This commit is contained in:
@@ -38,7 +38,7 @@ const normalizeProductOption = ({
|
|||||||
label: value.name,
|
label: value.name,
|
||||||
id: value?.id || id,
|
id: value?.id || id,
|
||||||
}
|
}
|
||||||
if (displayName === 'Color') {
|
if (displayName.match(/colou?r/gi)) {
|
||||||
output = {
|
output = {
|
||||||
...output,
|
...output,
|
||||||
hexColors: [value.name],
|
hexColors: [value.name],
|
||||||
|
Reference in New Issue
Block a user