Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Picture in order e-mail?


KlausVers

Recommended Posts

Hi there, i was wondering if it is possible to get a picture of the item you order in the email that is sent to myself and possible also the custemor, bust mostly myself. It's because that i have alot of vintage cloth in my store and it's hard to find the items ppl order without a picture of it! Please help me...

 

Thanks alot,

Klaus Vers

Link to comment
Share on other sites

This isnt really the type of help your looking for, but this idea occured to me while reading your post

 

Could you give each type of fabric an id number thats a few digits long, and include that id number in the product name eg: "Blue Fabric ID 4567". As long as you keep your stock labelled with the same ID number, you should be fine, and this method would probably be better than a picture in the event that you have two fabrics that look similar

 

Just a suggestion :blush:

Link to comment
Share on other sites

Hi there, that's an idea, but it really would be easiere with a picture. Is it possible and if so, how?

 

Thanks,

Klaus

 

in checkout_process.php you will find this line :

 

$products_ordered .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n";

 

this basically puts the ordered item in the email in a loop.

 

it says : qty x name model price and attributes

 

you could therefore do a select for the image file using the $order->products[$i]['id']

and insert that image in that line.

'<img src="' . $product_image . "' >' . the rest

Treasurer MFC

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...