Fix value define by user

This commit is contained in:
Michael RICOIS 2017-06-23 14:15:47 +02:00
parent 54af11247a
commit f7768dd622

View File

@ -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'];
}
}
}