Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

shopping cart Image


Recommended Posts

Hi All


I want to be able to change the image within the cart, at the mo if you buy a product and go to cart contents this shows you


1 remove

2 prouduct

3 Qty

4 Cost


I want to change #2 but only the image, from the product image to be the sub Catagory image.

can anyone help me on this.


i went to the shopping_cart.php and found this bit which i think is the correct bit to change but cant seem to get it to work, am i in the right area. if so what would i put in there.


$products_name = '<table border="0" cellspacing="2" cellpadding="2">' .

' <tr>' .

' <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'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>' .

' <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>';

Link to comment
Share on other sites


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

  • Create New...