Hello Phillip,
I'm adding a screenshot of what I'm trying to do. Basically each product in the cart table of the checkout page has to show details of the characteristics/variants chosen by the user in a list format or something similar.
i tried to use the following code suggested by thewebtailors in the checkout / show_block_cart.php view
<?php foreach($row->characteristics as $characteristic){
echo "<br /><span class='characteristic'>".$this->orderInfos->products[$i-1]->characteristics[$characteristic->characteristic_parent_id]->characteristic_value.": ".$characteristic->characteristic_value."</span>";
} ?>
But after reloading the page the following message appears:
However if I change this line:
foreach($row->characteristics as $characteristic)
to
foreach($product->characteristics as $characteristic)
The values of the characteristic appears but not their name, instead I get this message.
This message repeats itself depending of the number of variants of a product. So the full page looks like this: