Fix value define by user

This commit is contained in:
Michael RICOIS 2017-06-23 14:16:07 +02:00
parent f7768dd622
commit cab2e343ab

View File

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