cczernia Posted October 17, 2005 Share Posted October 17, 2005 I was wondering if there was a contribution or something that will list more information on the order screen. Specifically, I'm looking for something that will: 1. List the manufacturer 2. Have the title (2 tier jewelry display) link back to the product description. Thanks in advance. Shade and Sweet Water Chris Czerniak Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted October 17, 2005 Share Posted October 17, 2005 I was wondering if there was a contribution or something that will list more information on the order screen. Specifically, I'm looking for something that will: 1. List the manufacturer 2. Have the title (2 tier jewelry display) link back to the product description. Thanks in advance. for linking the product to it's description, you can just add a link to catalog/product_info.php. I'd do it in a popup, but it will not have the options selected marked as default as for the manufacturer, write a function where you get the manufacturer_name from the products_id, and fill a new column with it :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
cczernia Posted October 17, 2005 Author Share Posted October 17, 2005 for linking the product to it's description, you can just add a link to catalog/product_info.php. I'd do it in a popup, but it will not have the options selected marked as defaultas for the manufacturer, write a function where you get the manufacturer_name from the products_id, and fill a new column with it Thanks, I pretty much figure out what code I have to edit but I'm not sure what to do to it: echo ' </td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format($order->products[$i]['final_price'], true, $order->info['currency'], $order->info['currency_value']) . '</b></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']), true, $order->info['currency'], $order->info['currency_value']) . '</b></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</b></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</b></td>' . "\n"; echo ' </tr>' . "\n"; Shade and Sweet Water Chris Czerniak Link to comment Share on other sites More sharing options...
cczernia Posted October 17, 2005 Author Share Posted October 17, 2005 Ok, I got it to add another column for manufacturer. I realize this: $order->products[$i]['model'] will output the model number. What variable do I use to output the manfucaturer name? Shade and Sweet Water Chris Czerniak Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.