Miniaturbildanzeige in den Produktlisten jeder Kategorie des Adminbereichs.
Finde in catalog/admin/categories.php
require('includes/application_top.php');
Unterhalb einfügen:
define(CATEGORIES_IMAGE_HEIGHT, 35);
define(CATEGORIES_IMAGE_WIDTH, 35);
Suchen in der Standardversion 2.3.4:
<td class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products['products_id'] . '&action=new_product_preview') . '">' . tep_image(DIR_WS_ICONS . 'preview.gif', ICON_PREVIEW) . '</a> ' . $products['products_name']; ?></td>
Ersetze mit:
<td class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products['products_id'] . '&action=new_product_preview') . '">' . tep_info_image($products['products_image'], $products['products_name'], CATEGORIES_IMAGE_WIDTH, CATEGORIES_IMAGE_HEIGHT) . '</a> ' . $products['products_name']; ?></td>
Suche in BS EDGE-Version:
<td class="dataTableContent"><?php echo '<a href="' . tep_href_link('categories.php', 'cPath=' . $cPath . '&pID=' . $products['products_id'] . '&action=new_product_preview') . '">' . tep_image('images/icons/preview.gif', ICON_PREVIEW) . '</a> ' . $products['products_name']; ?></td>
Ersetze mit:
<td class="dataTableContent"><?php echo '<a href="' . tep_href_link('categories.php', 'cPath=' . $cPath . '&pID=' . $products['products_id'] . '&action=new_product_preview') . '">' . tep_info_image($products['products_image'], $products['products_name'], CATEGORIES_IMAGE_WIDTH, CATEGORIES_IMAGE_HEIGHT) . '</a> ' . $products['products_name']; ?></td>