Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product / Thumbnail Pictures in Shopping Cart?


schreibmawas

Recommended Posts

Hey.

 

I googled, searched through contribs and the forum and tried it by myself - all didn't work.

 

I just want a little version of the products-picture in the shopping cart.

 

I think it's about to add a code to catalog/shopping_cart.php

 

when it says:

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

 

Bevor the product's name there should be the lil pic...

 

THX IN ADVANCE AGAIN ;-)

Link to comment
Share on other sites

THis is from my shopping_cart.php. hope it helps you on your way. You will need to set your image size etc.

 

'    <td class="productListing-data" align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT) . '</a></td>' .
                      '    <td class="productlisting-cart" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] . '</b></a><br>';

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...