[Skip to main content](#vessel-content)

#   Adding Images to Order History?

##

- **[Dardwizzle](/forum/user/51457-dardwizzle "View Dardwizzle's Profile")**
- [![Dardwizzle's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/51457-dardwizzle "View Dardwizzle's Profile") Topic Author
- [ Offline](/forum/user/51457-dardwizzle)

Less More

- Posts: 140
- Thank you received: 18
-
- [](https://www.eutopiantrader.com)
-

9 years 2 months ago [\#277631](#277631) by [Dardwizzle](/forum/user/51457-dardwizzle "View Dardwizzle's Profile")  *[Adding Images to Order History?](/forum/36-reports-statistics/891809-adding-images-to-order-history#277631 "Hi Just me again,  A very useful but seemingly missing feature is having the product images on the Order History page. This would be the page that basically looks like a receipt and provides the item level detail of a particular order. For some reason, the thumbnail of the product is not included in this view.  I would like to add the thumbnail image for each item in the order history so the customer can easily see what he ordered rather than having to rely on the product names. Granted having all the current detail that displays is a must but I would like to add the image to the far left of the product details.  What pretty much has me baffled is that the images are available in the order details that is emailed to the customer but when you go online to view the order details, the image is not available.  Sadly, I do not see any requests for this in the forums, and perhaps its the way I am searching but I would think that this would be a widely requested feature.  If someone could point me in the proper direction for getting this done, I would greatly appreciate it.  Cheers.")* was created by *[Dardwizzle](/forum/user/51457-dardwizzle "View Dardwizzle's Profile")*

Hi Just me again,

A very useful but seemingly missing feature is having the product images on the Order History page. This would be the page that basically looks like a receipt and provides the item level detail of a particular order. For some reason, the thumbnail of the product is not included in this view.

I would like to add the thumbnail image for each item in the order history so the customer can easily see what he ordered rather than having to rely on the product names. Granted having all the current detail that displays is a must but I would like to add the image to the far left of the product details.

What pretty much has me baffled is that the images are available in the order details that is emailed to the customer but when you go online to view the order details, the image is not available.

Sadly, I do not see any requests for this in the forums, and perhaps its the way I am searching but I would think that this would be a widely requested feature.

If someone could point me in the proper direction for getting this done, I would greatly appreciate it.

Cheers.

---

(HikaShop Business 3.2.0 \[1709061916\])

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTE4MDktYWRkaW5nLWltYWdlcy10by1vcmRlci1oaXN0b3J5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[GW](/forum/user/33851-gw "View GW's Profile")**
- [![GW's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33851-gw "View GW's Profile")
- [ Offline](/forum/user/33851-gw)

Less More

- Posts: 200
- Thank you received: 75
-
-

9 years 2 months ago [\#277694](#277694) by [GW](/forum/user/33851-gw "View GW's Profile")  Replied by *[GW](/forum/user/33851-gw "View GW's Profile")* on topic *[Adding Images to Order History?](/forum/36-reports-statistics/891809-adding-images-to-order-history#277694 "Hi Just me again,  A very useful but seemingly missing feature is having the product images on the Order History page. This would be the page that basically looks like a receipt and provides the item level detail of a particular order. For some reason, the thumbnail of the product is not included in this view.  I would like to add the thumbnail image for each item in the order history so the customer can easily see what he ordered rather than having to rely on the product names. Granted having all the current detail that displays is a must but I would like to add the image to the far left of the product details.  What pretty much has me baffled is that the images are available in the order details that is emailed to the customer but when you go online to view the order details, the image is not available.  Sadly, I do not see any requests for this in the forums, and perhaps its the way I am searching but I would think that this would be a widely requested feature.  If someone could point me in the proper direction for getting this done, I would greatly appreciate it.  Cheers.")*

Hi,

you can customize everything in Hikashop to your needs, I would first recommend reading the documentation: [ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)

In this case you want to modify the file "show" of the view "order" of your template by going to Display &gt; Views.
To get the product image thumbnail you can add something like:
Code:

&lt;?php $imageHelper = hikashop_get('helper.image'); if(!empty($product-&gt;images[0]-&gt;file_path) &amp;&amp; $this-&gt;config-&gt;get('thumbnail', 1) != 0) { $img = $imageHelper-&gt;getThumbnail($product-&gt;images[0]-&gt;file_path, array(50, 50), array('forcesize' =&gt; true, 'scale' =&gt; 'outside')); if($img-&gt;success) { echo '&lt;img src="'.$img-&gt;url.'" alt="" style="float:left;margin-top:3px;margin-bottom:3px;margin-right:6px;"/&gt;'; } } ?&gt;

Add this for example right before the line Code:

&lt;?php echo $product-&gt;order_product_name;?&gt;

or wherever you prefer. Hope that helps.

The following user(s) said Thank You: [dvddvd](/forum/user/7721-dvddvd "View dvddvd's Profile"), [Dardwizzle](/forum/user/51457-dardwizzle "View Dardwizzle's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTE4MDktYWRkaW5nLWltYWdlcy10by1vcmRlci1oaXN0b3J5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

9 years 2 months ago -  9 years 2 months ago [\#277653](#277653) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Adding Images to Order History?](/forum/36-reports-statistics/891809-adding-images-to-order-history#277653 "Hi Just me again,  A very useful but seemingly missing feature is having the product images on the Order History page. This would be the page that basically looks like a receipt and provides the item level detail of a particular order. For some reason, the thumbnail of the product is not included in this view.  I would like to add the thumbnail image for each item in the order history so the customer can easily see what he ordered rather than having to rely on the product names. Granted having all the current detail that displays is a must but I would like to add the image to the far left of the product details.  What pretty much has me baffled is that the images are available in the order details that is emailed to the customer but when you go online to view the order details, the image is not available.  Sadly, I do not see any requests for this in the forums, and perhaps its the way I am searching but I would think that this would be a widely requested feature.  If someone could point me in the proper direction for getting this done, I would greatly appreciate it.  Cheers.")*

Hi,

I would also recommend reading this thread which talks about that:
[ www.hikashop.com/forum/reports-statistic...my-orders-image.html](https://www.hikashop.com/forum/reports-statistics/877912-my-orders-image.html)

It's indeed not much requested.
We'll see if we add that or not in the future.

Last edit: 9 years 2 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

The following user(s) said Thank You: [Dardwizzle](/forum/user/51457-dardwizzle "View Dardwizzle's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTE4MDktYWRkaW5nLWltYWdlcy10by1vcmRlci1oaXN0b3J5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Dardwizzle](/forum/user/51457-dardwizzle "View Dardwizzle's Profile")**
- [![Dardwizzle's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/51457-dardwizzle "View Dardwizzle's Profile") Topic Author
- [ Offline](/forum/user/51457-dardwizzle)

Less More

- Posts: 140
- Thank you received: 18
-
- [](https://www.eutopiantrader.com)
-

9 years 2 months ago [\#277722](#277722) by [Dardwizzle](/forum/user/51457-dardwizzle "View Dardwizzle's Profile")  Replied by *[Dardwizzle](/forum/user/51457-dardwizzle "View Dardwizzle's Profile")* on topic *[Adding Images to Order History?](/forum/36-reports-statistics/891809-adding-images-to-order-history#277722 "Hi Just me again,  A very useful but seemingly missing feature is having the product images on the Order History page. This would be the page that basically looks like a receipt and provides the item level detail of a particular order. For some reason, the thumbnail of the product is not included in this view.  I would like to add the thumbnail image for each item in the order history so the customer can easily see what he ordered rather than having to rely on the product names. Granted having all the current detail that displays is a must but I would like to add the image to the far left of the product details.  What pretty much has me baffled is that the images are available in the order details that is emailed to the customer but when you go online to view the order details, the image is not available.  Sadly, I do not see any requests for this in the forums, and perhaps its the way I am searching but I would think that this would be a widely requested feature.  If someone could point me in the proper direction for getting this done, I would greatly appreciate it.  Cheers.")*

I will give it a shot and see how I make out ![:)](/media/kunena/emoticons/3.png ":)") Im by no means a code monkey, but I do what I can! I will see where this takes me! Thank you so much!

---

(HikaShop Business 3.2.0 \[1709061916\])

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTE4MDktYWRkaW5nLWltYWdlcy10by1vcmRlci1oaXN0b3J5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Dardwizzle](/forum/user/51457-dardwizzle "View Dardwizzle's Profile")**
- [![Dardwizzle's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/51457-dardwizzle "View Dardwizzle's Profile") Topic Author
- [ Offline](/forum/user/51457-dardwizzle)

Less More

- Posts: 140
- Thank you received: 18
-
- [](https://www.eutopiantrader.com)
-

9 years 2 months ago [\#277725](#277725) by [Dardwizzle](/forum/user/51457-dardwizzle "View Dardwizzle's Profile")  Replied by *[Dardwizzle](/forum/user/51457-dardwizzle "View Dardwizzle's Profile")* on topic *[Adding Images to Order History?](/forum/36-reports-statistics/891809-adding-images-to-order-history#277725 "Hi Just me again,  A very useful but seemingly missing feature is having the product images on the Order History page. This would be the page that basically looks like a receipt and provides the item level detail of a particular order. For some reason, the thumbnail of the product is not included in this view.  I would like to add the thumbnail image for each item in the order history so the customer can easily see what he ordered rather than having to rely on the product names. Granted having all the current detail that displays is a must but I would like to add the image to the far left of the product details.  What pretty much has me baffled is that the images are available in the order details that is emailed to the customer but when you go online to view the order details, the image is not available.  Sadly, I do not see any requests for this in the forums, and perhaps its the way I am searching but I would think that this would be a widely requested feature.  If someone could point me in the proper direction for getting this done, I would greatly appreciate it.  Cheers.")*

Well this was certainly a step in the right direction, and it does kind of work ![:)](/media/kunena/emoticons/3.png ":)") I need to learn some more about what the code you provided does and how it does it. The only problem is that rather then have the images each be each on the row with their respective product listing, it lists all the images at the very top in their own row. So they are not actually associated with their own product. The code will somehow need to be iterated once per products, and to get the image associated with each individual product id, quite a daunting task if I may say so ![:)](/media/kunena/emoticons/3.png ":)")

I have attached an image of how this looks if anyone is interested. I will give it my all, but I make sure you leave the light on for me, because I have a feeling I will be back begging for someone to work with me on this one.

I know you guys have some people here that will work one on one with people lacking the skill set, and I think I might need to go that route with this issue. I don't know if they charge for their services, as I don't have a budget for this kind of thing which is why I am doing everything possible to learn this, but if this turns out to be a case where it will take considerable talent, please help me get in touch with someone. I will update you guys and let you know if I have a snowballs chance in heck on this one ![:)](/media/kunena/emoticons/3.png ":)")

But, I am not going to complain as this is a great start, now I have to take what you have given me and try to figure out how to get each image to associate with it's own product one thumbnail per row, per product.

Sadly that likely involves coding outside my scope but I will try anything a few times before I call in for reinforcements.

Thank you GW and Nicholas, this has me a few steps in the right direction.

Cheers!  [ ![eutopian-trader-show-order.php-order-details-with-images.jpg](/forum/attachment/40166) ](/forum/attachment/40166 "...ith-images.jpg")

---

(HikaShop Business 3.2.0 \[1709061916\])

- [ ![eutopian-trader-show-order.php-order-details-with-images.jpg](/forum/attachment/40166) ](/forum/attachment/40166 "...ith-images.jpg") [ ](/forum/attachment/40166?download=1 "...ith-images.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTE4MDktYWRkaW5nLWltYWdlcy10by1vcmRlci1oaXN0b3J5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.062 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
