×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: ActionScript
Posted by: bejoy balan
Added: Oct 13, 2014 1:00 PM
Views: 3
Options from quote item
  1.     $options = $item->getProduct()->getTypeInstance(true)->getOrderOptions($item->getProduct());
  2.     if ($options)
  3.     {
  4.         if (isset($options['options']))
  5.         {
  6.             $result = $options['options'];
  7.         }
  8.         if(count($result)>0){
  9.             foreach($result as $key =>$value){
  10.                 $resultoption =  $value['value'];
  11.             }
  12.         }
  13.         }