Jump to content

Issue Information

  • #000558

  • 0 - None Assigned

  • New

  • 2.3.2

  • -

Issue Confirmations

  • Yes (0)No (0)

Catalog: Box manufacturers_info removed image

Posted by Juto on 16 January 2013 - 18:56

Hi, I have just tested:
which works wrt remove manufacturers image. But this, in catalog/boxes/manufacturers_info.php do not work:

	  if (tep_not_null($manufacturer['manufacturers_image'])) {
	  $manufacturer_info_string .= '<tr><td align="center" class="infoBoxContents" colspan="2">' . tep_image(DIR_WS_IMAGES . $manufacturer['manufacturers_image'], $manufacturer['manufacturers_name']) . '</td></tr>';

The image is gone, but the manufacturers name (image title/alt attribute) still displays.


I have added a fix in my contribution and uploaded a new version, apart from removing the image, the db needed to be updated with an image = null. The bug in manufacturers info is still relevant.

I am affraid that the non_image handling is unique logic problem. Sometimes good to display no_image_found.jpg but sometimes would be good display nothing. How could you figure out?