function uc_attribute_uc_add_to_cart_data in Ubercart 7.3
Same name and namespace in other branches
- 8.4 uc_attribute/uc_attribute.module \uc_attribute_uc_add_to_cart_data()
Stores the customer's choices in the cart.
File
- uc_attribute/
uc_attribute.module, line 474 - Ubercart Attribute module.
Code
function uc_attribute_uc_add_to_cart_data($form_values) {
if (isset($form_values['attributes'])) {
return array(
'attributes' => $form_values['attributes'],
);
}
else {
return array(
'attributes' => array(),
);
}
}