osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Code change help for shopping_cart.tpl.php

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 ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-17-2008, 11:11 AM
New Member
 
Join Date: Nov 2008
Posts: 6
Thanks: 0
Thanked 2 Times in 1 Post
Rep Power: 0
princeofpalms is on a distinguished road
Default Code change help for shopping_cart.tpl.php

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 11-20-2008, 09:43 AM
New Member
 
Join Date: Nov 2008
Posts: 6
Thanks: 0
Thanked 2 Times in 1 Post
Rep Power: 0
princeofpalms is on a distinguished road
Default Re: Code change help for shopping_cart.tpl.php

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -8. The time now is 12:02 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design