forked from crowetic/commerce
fix product option color check
This commit is contained in:
parent
c8cf6e733c
commit
7d62e7ce18
@ -38,7 +38,7 @@ const normalizeProductOption = ({
|
||||
label: value.name,
|
||||
id: value?.id || id,
|
||||
}
|
||||
if (displayName === 'Color') {
|
||||
if (displayName.match(/colou?r/gi)) {
|
||||
output = {
|
||||
...output,
|
||||
hexColors: [value.name],
|
||||
|
Loading…
x
Reference in New Issue
Block a user