Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image size in shopping cart


Jet200

Recommended Posts

Posted

How do I change the image size just in the shopping cart? It seems to be my small image size of 95p but I want to have it display at an even smaller size ONLY in the shopping cart. What is happening is the images are so large that the cart gets very long after a few items, most of my customers have dozens of items and it can get difficult to read.

 

Thanks!

Posted
How do I change the image size just in the shopping cart? It seems to be my small image size of 95p but I want to have it display at an even smaller size ONLY in the shopping cart. What is happening is the images are so large that the cart gets very long after a few items, most of my customers have dozens of items and it can get difficult to read.

 

Thanks!

If its product image in catalog/shopping_cart.php

 

find

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

 

simply replace SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT to '50','50'

Archived

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

×
×
  • Create New...