Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Include product thumbnail in produc edit interface


bradandersen

Recommended Posts

Posted

Include a product thumbnail/image when editing the admin products catalog so that when you are writing a description you know what you are talking about. Or have the "Previous Image" link to a pop-up window with the image in it.

 

I just made this mod to line 894 of categories.php even though it is a terrible hack:

 

<td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' '. '<img src="/catalog/images/'.$pInfo->products_image.'"><br>'.$pInfo->products_image.'<br>'. tep_draw_file_field('products_image') . '<br>' . tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_hidden_field('products_previous_image', $pInfo->products_image); ?>

 

 

Thanks,

Brad

Archived

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

×
×
  • Create New...