Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach($ga as $attr)
- {
- $output .= "\t\t\t\t\t\t<option>\n";
- if($prodAttrId <> $attr['id_product_attribute'] AND $prodAttrId <> 0){$attribgrs[] = $d1;$nextProAttr = false;}
- $output .= "\t\t\t\t\t\t<group_name><![CDATA[" . $attribgrs[] = $attr['group_name'].$d3 . "]]></group_name>\n";
- $output .= "\t\t\t\t\t\t<group_value><![CDATA[" .$d3 . $attr['attribute_name'] . "]]></group_value>\n";
- $output .= "\t\t\t\t\t\t<quantity>" . $attr['quantity'] . "</quantity>\n";
- $output .= "\t\t\t\t\t\t<price>" . number_format(($attr['price'] *1.21), 2, '.', '') . "</price>\n";
- $output .= "\t\t\t\t\t\t<reference>" . $attr['reference'] . "</reference>\n";
- $output .= "\t\t\t\t\t\t<attribute_id>" . $attr['id_product_attribute'] . "</attribute_id>\n";
- $output .= "\t\t\t\t\t\t</option>\n";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement