Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Display Product Image in Admin Edit


Ian-San

Recommended Posts

I suggest to add this:

 

. ' ' . tep_info_image($pInfo->products_image, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)

 

to admin/catagories.php tagged on to following (just before the product description input box is displayed, maybe need a break somewhere between in the standard version):

 

<td class="main" valign="top"><?php echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name'])

 

to show a small image of the product being edited. In the case of a new product, you get the standard error message 'IMAGE DOES NOT EXIST' which is in itself useful.

Ian-san

Flawlessnet

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...