Guest Posted November 27, 2003 Posted November 27, 2003 Hey My product images don't show up on items added to cart I think the file that calls the images is catalog/shopping_cart.php Does anyone know how to make the damn thing show the images or where / how to comment out the part that calls them so there will be no image displayed in the cart? Either solution would be ok. Thanks
TomThumb Posted November 27, 2003 Posted November 27, 2003 To remove the image from the shopping cart In shopping_cart.php replace this $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>'; with this $products_name = '<table border="0" cellspacing="2" cellpadding="2">' . ' <tr>' . //comment out image ' <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>'; while (!succeed) {try()}; GMT -6:00
Recommended Posts
Archived
This topic is now archived and is closed to further replies.