Forums / Managing Customers and Orders / How to add image in packing slip?

How to add image in packing slip?

Locked

Started by teflonchest on 3 May 2010, 8:30 AM · Views: 1,181

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
3 May 2010, 8:30 AM
#1
teflonchest avatar

teflonchest

New Zenner

Join Date:
Aug 2009
Posts:
2
Plugin Contributions:
0

How to add image in packing slip?

Is there an easy way to add the image of what the customer ordered? Please help asap.

What do i add in the code admin/packingslip.php?

right before:

 echo '<td class="accountProductDisplay">' . $order->products[$i]['name'];
3 May 2010, 3:09 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How to add image in packing slip?

You can call it with:

zen_image(DIR_WS_CATALOG_IMAGES . zen_get_products_image($order->products[$i]['id']), $order->products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)

and place it where you need it ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!