Fix value define by user
This commit is contained in:
parent
54af11247a
commit
f7768dd622
@ -27,7 +27,11 @@ class Cart extends CartCore
|
||||
'value' => array(),
|
||||
);
|
||||
}
|
||||
$optFlatten[$o['id_configurator_opt_group']]['value'][] = $o['optName'];
|
||||
if ($o['opt_value'] == '') {
|
||||
$optFlatten[$o['id_configurator_opt_group']]['value'][] = $o['optName'];
|
||||
} else {
|
||||
$optFlatten[$o['id_configurator_opt_group']]['value'][] = $o['opt_value'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user