Totally Zenned
- Join Date:
- Dec 2005
- Location:
- Perth, Western Australia, Australia
- Posts:
- 782
- Plugin Contributions:
- 0
Post #1 by dealbyethan_com
Hi,
I am sure this will come in handy for those people who have been looking for getting the thumbnail product images to display at places like the admin invoice, admin packing slip and checkout shopping cart. I use the code taken from the super order packing slip (see below). However, I can't get the thumbnail images to a smaller size. Does anyone have any suggestion? Also, has anyone figured out how to show thumbnail images on the email invoice?
<?php
$products = $db->Execute("SELECT products_image
FROM " . TABLE_PRODUCTS . "
WHERE products_id ='" . $order->products[$i]['id'] . "'");
echo '' . zen_image(DIR_WS_CATALOG . DIR_WS_IMAGES . $products->fields['products_image'] , $order->products[$i]['name'], SMALL_IMAGE_HEIGHT, SMALL_IMAGE_WIDTH) . '</a> ';
?>
**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan