This has code where the first image will open a new window to the Catalog for the Product ... and the second has the the link to edit the Product in the catalog ...
Code:
echo ' <tr class="dataTableRow">' . "\n" .
' <td class="dataTableContent" valign="top" align="right">' . '<a href="' . zen_catalog_href_link(zen_get_handler_from_type(zen_products_lookup($order->products[$i]['id'], 'products_type')) . '_info', 'cPath=' . zen_get_product_path($order->products[$i]['id']) . '&products_id=' . $order->products[$i]['id']) . '" target= "_blank">' . zen_image(DIR_WS_CATALOG_IMAGES . zen_get_products_image($order->products[$i]['id']), $order->products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="right" hspace="5" vspace="5"') . '</a>' . ' </td>' . "\n" .
' <td class="dataTableContent" valign="top" align="right">' . '<a href="' . zen_href_link(FILENAME_CATEGORIES, 'action=new_product' . '&cPath=' . zen_get_product_path($order->products[$i]['id']) . '&pID=' . $order->products[$i]['id'] . '&product_type=' . zen_get_products_type($order->products[$i]['id'])) . '">' . zen_image(DIR_WS_CATALOG_IMAGES . zen_get_products_image($order->products[$i]['id']), $order->products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="right" hspace="5" vspace="5"') . '</a>' . ' </td>' . "\n" .
' <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" .
' <td class="dataTableContent" valign="top">' . $order->products[$i]['name'];
Bookmarks