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

#   my orders image

##

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

Less More

- Posts: 25
- Thank you received: 1
-
-

11 years 4 months ago [\#207033](#207033) by [nabukadnezar](/forum/user/36575-nabukadnezar "View nabukadnezar's Profile")  *[my orders image](/forum/36-reports-statistics/877912-my-orders-image#207033 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.37  Hi, How I can show the thumbnails of the ordered products in hikashop- my orders page? Thank you.")* was created by *[nabukadnezar](/forum/user/36575-nabukadnezar "View nabukadnezar's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.37

Hi,
How I can show the thumbnails of the ordered products in hikashop- my orders page?
Thank you.

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

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

Less More

- Posts: 25
- Thank you received: 1
-
-

11 years 4 months ago [\#207098](#207098) by [nabukadnezar](/forum/user/36575-nabukadnezar "View nabukadnezar's Profile")  Replied by *[nabukadnezar](/forum/user/36575-nabukadnezar "View nabukadnezar's Profile")* on topic *[my orders image](/forum/36-reports-statistics/877912-my-orders-image#207098 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.37  Hi, How I can show the thumbnails of the ordered products in hikashop- my orders page? Thank you.")*

Actually, I need to have a product listing for the purchased products. Is it posibsle to filter products according to their order_status in product listing ? Or how to reach product data of purchased products from database?
Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3JlcG9ydHMtc3RhdGlzdGljcy84Nzc5MTItbXktb3JkZXJzLWltYWdlP3RtcGw9bWFya2Rvd24=) 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
-
-

11 years 4 months ago [\#207101](#207101) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[my orders image](/forum/36-reports-statistics/877912-my-orders-image#207101 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.37  Hi, How I can show the thumbnails of the ordered products in hikashop- my orders page? Thank you.")*

Hi,

You will have to edit the view "order / show" via the menu Display&gt;Views and add some PHP code to display the products image on the order details page.
The code to display the image is: Code:

&lt;?php $height = (int)$this-&gt;config-&gt;get('thumbnail_y'); $width = (int)$this-&gt;config-&gt;get('thumbnail_x'); if(empty($height)) $height = (int)$this-&gt;config-&gt;get('product_image_y'); if(empty($width)) $width = (int)$this-&gt;config-&gt;get('product_image_x'); $image_options = array('default' =&gt; true,'forcesize'=&gt;$this-&gt;config-&gt;get('image_force_size',true),'scale'=&gt;$this-&gt;config-&gt;get('image_scale_mode','inside')); $imageHelper = hikashop_get('helper.image'); $img = $imageHelper-&gt;getThumbnail(@reset($product-&gt;images-&gt;file_path), array('width' =&gt; $width, 'height' =&gt; $height), $image_options); if(@$img-&gt;success) { echo '&lt;img src="'.$img-&gt;url.'" alt="'.$img-&gt;filename.'"/&gt;'; } ?&gt;

It's not possible to filter on the order status on products listings with the options available since products don't have order statuses. Orders have an order status but the products listings are not linked to that.
If you want do that, it would require the development of a small HikaShop plugin to handle it with the onBeforeProductListingLoad trigger:
[ www.hikashop.com/support/documentation/6...reProductListingLoad](http://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#onBeforeProductListingLoad)

The following user(s) said Thank You: [nabukadnezar](/forum/user/36575-nabukadnezar "View nabukadnezar's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3JlcG9ydHMtc3RhdGlzdGljcy84Nzc5MTItbXktb3JkZXJzLWltYWdlP3RtcGw9bWFya2Rvd24=) 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)
