I have a couple products at checkout that I need to be able to get all of the custom options that are selected for them through code.
Any help is much appreciated! <
You can try this code in template/checkout/cart/item/default.php:
if($Product->hasOptions) { $optionsArr = $Product->getOptions(); foreach ($optionsArr as $optionKey => $optionVal) { $optStr.= ""; foreach($optionVal->getValues() as $valuesKey => $valuesVal) { $optStr.= "".$valuesVal->getTitle().""; } $optStr.= ""; } echo($optStr ); }