Zen Follower
- Join Date:
- Apr 2008
- Posts:
- 150
- Plugin Contributions:
- 0
Adding thumbnail images to the admin product catalog
I'm trying to add images in the admin catalog so I can identify products faster when adding or editing.
I've attempted to use Admin Display Product/Catalog Thumbnails https://www.zen-cart.com/downloads.php?do=file&id=1346 for ZC v1.5.6 with little success. I can get the "Image" name to appear in the heading, and images in the column below which all show "NO PICTURE AVAILABLE" (see image).
The part of code that apparently places the image on the page is in admin/category_product_listing.php
<?php // bof Twitch TAP Thumb - this is the category level ?>
<td class="text-center hidden-md hidden-sm hidden-xs">
<?php echo ($categories->fields['categories_image'] != '' ? '<br />'. zen_image(DIR_WS_CATALOG_IMAGES . $categories->fields['categories_image'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT) . '</a> ' : '<br />'. zen_image(DIR_WS_CATALOG_IMAGES . PRODUCTS_IMAGE_NO_IMAGE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT) . '</a> ' ); ?>
</td>
<?php // eof Twitch TAP Thumb ?>
The differences between the 156 and 157 versions of category_product_listing.php appear substantial, so the plugin installation instructions were unhelpful for this version. Comparing the files in WinMerge was somewhat confusing too, leaving me unsure of where the changes should even be placed. I honestly don't need much of what the plugin offers (like attribute images), I just need to see a product before going into its creation page since it makes creating and adding inventory much faster among numerous items.
Is there a change to the code above that would produce the image? Any alternative method of placing an image in the admin's catalog will work as well. Thank you.