Guest Posted March 20, 2004 Share Posted March 20, 2004 Hey, I'm trying to figure out how to get the Manufacturer listed in the line Items. Keep in mind I am using a snapshot from Aprill of 2002. Here's what it lloks like now: 1 x 8? TV (tv8) = $40.00 2 x 28? Flat Screen TV (tft28) = $330.50 1 x 16? TV (blktv16) = $60.50 ------------------------------------------ Here's how I want it to look: 1 x Sanyo 8? TV (tv8) = $40.00 2 x Viewsonic 28? Flat Screen TV (tft28) = $330.50 1 x Toshiba 16? TV (blktv16) = $60.50 ------------------------------------------------- In my snapshot here is the text from the "checkout_process.php" file, I know I need to add to I just can't seem to get it right $products_ordered .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n"; I'm using this to call the manufacturer in othere areas of the site, but will not work in this instance: <?php echo tep_get_manufacturers_name($HTTP_GET_VARS['products_id']); ?> Thanks for any help you might have Link to comment Share on other sites More sharing options...
Guest Posted March 22, 2004 Share Posted March 22, 2004 I'm thinking it was a bad idea to post this on Sat. This option is pretty important to our business, I would be greatful for any help. Link to comment Share on other sites More sharing options...
Wizzud Posted March 22, 2004 Share Posted March 22, 2004 Try this instead ... $products_ordered .= $order->products[$i]['qty'] . ' x ' . tep_get_manufacturers_name($order->products[$i]['id']) . ' ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n"; Regards, Wizzud "It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt." Link to comment Share on other sites More sharing options...
Guest Posted March 22, 2004 Share Posted March 22, 2004 Try this instead ... Thank you very much, you rock! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.