Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Manufacturer listed in the Order process email


Guest

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...