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

#   Product Images In Wish List

##

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

Less More

- Posts: 966
- Thank you received: 11
-
-

13 years 1 week ago [\#133148](#133148) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  *[Product Images In Wish List](/forum/41-wishlist/863748-product-images-in-wish-list#133148 "Joomla! 2.5.14 HikaShop Business: 2.2.2  How can I add the product images in the wishlist?. Currently it's only showing the name of the product.  Thank you!!")* was created by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")*

Joomla! 2.5.14
HikaShop Business: 2.2.2

How can I add the product images in the wishlist?. Currently it's only showing the name of the product.

Thank you!!

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 1 week ago [\#133224](#133224) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Product Images In Wish List](/forum/41-wishlist/863748-product-images-in-wish-list#133224 "Joomla! 2.5.14 HikaShop Business: 2.2.2  How can I add the product images in the wishlist?. Currently it's only showing the name of the product.  Thank you!!")*

Hi,

The wishlist module is working like the cart module.
So you can enable the image display in the wishlist module options. ![:)](/media/kunena/emoticons/3.png ":)")

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

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

Less More

- Posts: 966
- Thank you received: 11
-
-

13 years 5 days ago [\#133622](#133622) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Product Images In Wish List](/forum/41-wishlist/863748-product-images-in-wish-list#133622 "Joomla! 2.5.14 HikaShop Business: 2.2.2  How can I add the product images in the wishlist?. Currently it's only showing the name of the product.  Thank you!!")*

Hi Xavier,

Sorry but I am referring to the wishlist page not the module. On the wishlist page is shows the name of the product but it does not show an image of the product.

I would like to show an image of the product.

Thank you!!

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 5 days ago [\#133641](#133641) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Product Images In Wish List](/forum/41-wishlist/863748-product-images-in-wish-list#133641 "Joomla! 2.5.14 HikaShop Business: 2.2.2  How can I add the product images in the wishlist?. Currently it's only showing the name of the product.  Thank you!!")*

Hi,

You have to edit the view "cart / showcart" via the menu Display &gt; Views and add a column in the table.
In the body, to display the image you can use the following code: Code:

&lt;?php $width = (int)$this-&gt;config-&gt;get('thumbnail_x'); $height = (int)$this-&gt;config-&gt;get('thumbnail_y'); $imageHelper = hikashop_get('helper.image'); $db = JFactory::getDBO(); $db-&gt;setQuery('SELECT * FROM '.hikashop_table('file').' WHERE &#96;file_ref_id&#96; = '.(int)$cart-&gt;product_id.' ORDER BY &#96;file_ordering&#96;'); $image = $db-&gt;loadObject(); if(is_object($image)) echo '&lt;img src="' . $imageHelper-&gt;uploadFolder_url.'thumbnail_'.$width.'x'.$height.'/'.$image-&gt;file_path . '" alt="' . $image-&gt;file_name . '" id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" /&gt;'; ?&gt;

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

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

Less More

- Posts: 966
- Thank you received: 11
-
-

13 years 3 days ago [\#133788](#133788) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Product Images In Wish List](/forum/41-wishlist/863748-product-images-in-wish-list#133788 "Joomla! 2.5.14 HikaShop Business: 2.2.2  How can I add the product images in the wishlist?. Currently it's only showing the name of the product.  Thank you!!")*

Hi Xavier,

I add the code in the same column as the product name but the image is not showing.
Code:

&lt;?php $width = (int)$this-&gt;config-&gt;get('thumbnail_x'); $height = (int)$this-&gt;config-&gt;get('thumbnail_y'); $imageHelper = hikashop_get('helper.image'); $db = JFactory::getDBO(); $db-&gt;setQuery('SELECT * FROM '.hikashop_table('file').' WHERE &#96;file_ref_id&#96; = '.(int)$cart-&gt;product_id.' ORDER BY &#96;file_ordering&#96;'); $image = $db-&gt;loadObject(); if(is_object($image)) echo '&lt;img src="' . $imageHelper-&gt;uploadFolder_url.'thumbnail_'.$width.'x'.$height.'/'.$image-&gt;file_path . '" alt="' . $image-&gt;file_name . '" id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" /&gt;'; ?&gt; &lt;a href="&lt;?php echo hikashop_completeLink('product&amp;task=show&amp;cid='.$cart-&gt;product_id.'&amp;name='.$cart-&gt;alias.'&amp;Itemid='.$Itemid); ?&gt;"&gt; &lt;?php if(!isset($cart-&gt;bought) &#124;&#124; !$cart-&gt;bought){ echo $cart-&gt;product_name; }else{ echo JHTML::tooltip(implode('&lt;br /&gt;',$cart-&gt;bought), JText::_('HIKA_BOUGHT_BY'), '',$cart-&gt;product_name); } if($this-&gt;params-&gt;get('show_code')){ echo ' ('.$cart-&gt;product_code.')'; } ?&gt; &lt;/a&gt;

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 1 day ago [\#134066](#134066) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Product Images In Wish List](/forum/41-wishlist/863748-product-images-in-wish-list#134066 "Joomla! 2.5.14 HikaShop Business: 2.2.2  How can I add the product images in the wishlist?. Currently it's only showing the name of the product.  Thank you!!")*

Hi,

That should work, I tested it on my local version.
Are you sure that you have images for the products in the cart ?

I have added that feature on HikaShop, this will be present in the next release. So thanks to wait until the next release ![:)](/media/kunena/emoticons/3.png ":)")

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

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

Less More

- Posts: 966
- Thank you received: 11
-
-

12 years 11 months ago [\#134488](#134488) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Product Images In Wish List](/forum/41-wishlist/863748-product-images-in-wish-list#134488 "Joomla! 2.5.14 HikaShop Business: 2.2.2  How can I add the product images in the wishlist?. Currently it's only showing the name of the product.  Thank you!!")*

> I have added that feature on HikaShop, this will be present in the next release. So thanks to wait until the next release ![:)](/media/kunena/emoticons/3.png ":)")

Sorry for the late response but I will be more than happy to wait :woohoo:

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQxLXdpc2hsaXN0Lzg2Mzc0OC1wcm9kdWN0LWltYWdlcy1pbi13aXNoLWxpc3Q/dG1wbD1tYXJrZG93bg==) 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.079 seconds

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