How to obtain detailed data product options in order?
Example:
the choice, the options are in Medium Size
fn_create_order_details function ($ order_id, $ cart)
{
.....
$order_details = array (
'item_id' => $k,
'order_id' => $order_id,
'size' => $size,
'extra' => serialize($extra)
);
....
}
I want to get value $ size to Medium, then how? Thank you all