To show image on confirmation page for zencart
It will also be more convenient for the customer to understand what they just bought for zencart
if you can show the imaeg in the confirmation in zencart
we just talk about the way to show image in the order.php page in the admin panel
here it the trick to show the image in the confirmation page
<td><?php echo zen_get_products_image($order->products[$i]['id'], $width = 39, $height = 40) ?></td>
yaho, it’s just so that easy, right
remember the zen_get_products_image function
function zen_get_products_image($product_id, $width = SMALL_IMAGE_WIDTH, $height = SMALL_IMAGE_HEIGHT)
The format is like this, hope this can help you.
Incoming search terms:
- zencart product image in confirmation
You might be also interested
Posted in ZenCart. Add a comment
Previous Post: To Show image in admin/order.php in zencart