Advertisement
Guest User

dz

a guest
Nov 28th, 2014
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.83 KB | None | 0 0
  1. foreach($ga as $attr)      
  2.         {
  3.        
  4.  
  5.         $output .= "\t\t\t\t\t\t<option>\n";   
  6.         if($prodAttrId <> $attr['id_product_attribute'] AND $prodAttrId <> 0){$attribgrs[] = $d1;$nextProAttr = false;}
  7.         $output .= "\t\t\t\t\t\t<group_name><![CDATA[" .  $attribgrs[] = $attr['group_name'].$d3  . "]]></group_name>\n";
  8.         $output .= "\t\t\t\t\t\t<group_value><![CDATA[" .$d3 . $attr['attribute_name'] . "]]></group_value>\n";
  9.         $output .= "\t\t\t\t\t\t<quantity>" . $attr['quantity'] . "</quantity>\n";             
  10.         $output .= "\t\t\t\t\t\t<price>" . number_format(($attr['price'] *1.21), 2, '.', '') . "</price>\n";   
  11.         $output .= "\t\t\t\t\t\t<reference>" . $attr['reference'] . "</reference>\n";              
  12.         $output .= "\t\t\t\t\t\t<attribute_id>" . $attr['id_product_attribute'] . "</attribute_id>\n"; 
  13.         $output .= "\t\t\t\t\t\t</option>\n";  
  14.        
  15.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement