This is a discussion on Code change help for shopping_cart.tpl.php within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I'd to like to show the manufacturer's name below the below the product link in shopping_cart.tpl.php. Here is the code ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I'd to like to show the manufacturer's name below the below the product link in shopping_cart.tpl.php. Here is the code that shows the product link around line 125: $products_name = '<table border="0" cellspacing="2" cellpadding="2" width=100%>' . ' <tr>' . ' <td class="ZZZproductListing-data" align="center" width=90><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT,'') . '</a></td>' . ' <td class="ZZZproductListing-data" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] . '</b></a>'; I want to create a line break beneath the product link and show the product manufacturer's name if possible. Does shopping_cart.tpl.php already carry the the code to be able to drop in the manufacturer name, or is an "add-on" required to pass more information? Thanks in advance, to anyone who can help. |
|
#2
| |||
| |||
| Does anyone know how this can be done? All I want to do is add the manufacturers name below the item description in the Shopping Cart. I don't have manufacturers for my products, but it will enable a customizable field when adding a new product. In effect, it will create a sub-heading to the item description that I badly need to add to my products. |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Urgent Help, Suspicious of Oscommerce code change | benjaminyc | osCommerce 2.2 Discussion | 0 | 03-05-2006 03:21 AM |
| Shopping_cart.php | dsimes | osCMax v2 Customization/Mods | 1 | 09-08-2005 04:13 AM |
| request: change Welcome Discount Coupon Code -> Coupon ID | kodersoftware | osCMax v1.7 Discussion | 0 | 11-13-2004 12:34 PM |
| Change postcode to zip code? | steveshep | osCommerce 2.2 Modification Help | 2 | 04-20-2004 10:05 AM |
| Changing Code in shopping_cart.php | JaaMor | osCommerce 2.2 Modification Help | 1 | 11-13-2003 08:27 PM |