Hi - am trying to get the option_id for an attribute of a product in tpl_checkout_shipping_default.php.
I thought the following code would do the trick:
if ($order->products[$i]['attributes'][0]['option_id'] == [whatever]
but it isn't working.
notes: $i is in 'for' loop which loops through all the products; I only ever have 0 or 1 attributes per product; if I have an attribute it is always read only.
What am I doing wrong??
Bookmarks