osCmax v2.5 User Manual
Results 1 to 2 of 2

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

      
  1. #1
    New Member
    Join Date
    Nov 2008
    Posts
    6
    Rep Power
    0


    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.

  2. #2
    New Member
    Join Date
    Nov 2008
    Posts
    6
    Rep Power
    0


    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.

Similar Threads

  1. Need Urgent Help, Suspicious of Oscommerce code change
    By benjaminyc in forum osCommerce 2.2 Discussion
    Replies: 0
    Last Post: 03-05-2006, 03:21 AM
  2. Shopping_cart.php
    By dsimes in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 09-08-2005, 04:13 AM
  3. request: change Welcome Discount Coupon Code -> Coupon ID
    By kodersoftware in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 11-13-2004, 12:34 PM
  4. Change postcode to zip code?
    By steveshep in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 04-20-2004, 10:05 AM
  5. Changing Code in shopping_cart.php
    By JaaMor in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-13-2003, 08:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •