Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Product Model to shoppingcart.php


Salvage.

Recommended Posts

Hey, I've been reading and testing code for about a week now and I just can't seem to figure out how to add the Product Model field to the shoppingcart.php page. If anyone has any tips on how to do this it would be greatly appreciated.

Link to comment
Share on other sites

Hey, I've been reading and testing code for about a week now and I just can't seem to figure out how to add the Product Model field to the shoppingcart.php page. If anyone has any tips on how to do this it would be greatly appreciated.

 

change :

 

' <td class="productListing-data" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] . '</b></a>';

 

to :

 

' <td class="productListing-data" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] . '</b><br>'.$products[$i]['model'] . '</a>';

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...