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

#   Random wrong image in the cart list

##

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

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 8 months ago [\#90577](#90577) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  *[Random wrong image in the cart list](/forum/3-bug-report/78476-random-wrong-image-in-the-cart-list#90577 "Hello, as I read in some post of some months ago(  goo.gl/apnno ) another user had the same problem and should be fix in the new version(at that time). The problem is that the image of the product in the cart list is random, it's not the main image of the product. I have products with several images and according to something that I dont know, when I add the product to the cart, the image displayed is not the main one(not always). I have the versione Essential 2.1.0. Url:   goo.gl/gzaAc  user action pass style2012 How can I fix? Thank you")* was created by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")*

Hello, as I read in some post of some months ago([ goo.gl/apnno](http://goo.gl/apnno)) another user had the same problem and should be fix in the new version(at that time).
The problem is that the image of the product in the cart list is random, it's not the main image of the product.
I have products with several images and according to something that I dont know, when I add the product to the cart, the image displayed is not the main one(not always).
I have the versione Essential 2.1.0.
Url: [ goo.gl/gzaAc](http://goo.gl/gzaAc) user action pass style2012
How can I fix?
Thank you

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 8 months ago [\#90663](#90663) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Random wrong image in the cart list](/forum/3-bug-report/78476-random-wrong-image-in-the-cart-list#90663 "Hello, as I read in some post of some months ago(  goo.gl/apnno ) another user had the same problem and should be fix in the new version(at that time). The problem is that the image of the product in the cart list is random, it's not the main image of the product. I have products with several images and according to something that I dont know, when I add the product to the cart, the image displayed is not the main one(not always). I have the versione Essential 2.1.0. Url:   goo.gl/gzaAc  user action pass style2012 How can I fix? Thank you")*

Hi,

Did you edited your **Cart** file of your **checkout** view of your front-end template ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ3Ni1yYW5kb20td3JvbmctaW1hZ2UtaW4tdGhlLWNhcnQtbGlzdD90bXBsPW1hcmtkb3du) 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 8 months ago [\#90669](#90669) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Random wrong image in the cart list](/forum/3-bug-report/78476-random-wrong-image-in-the-cart-list#90669 "Hello, as I read in some post of some months ago(  goo.gl/apnno ) another user had the same problem and should be fix in the new version(at that time). The problem is that the image of the product in the cart list is random, it's not the main image of the product. I have products with several images and according to something that I dont know, when I add the product to the cart, the image displayed is not the main one(not always). I have the versione Essential 2.1.0. Url:   goo.gl/gzaAc  user action pass style2012 How can I fix? Thank you")*

Hi,

Had you edited the view "checkout / cart" ?
Have you this line:
&lt;?php echo $this-&gt;image-&gt;display($image-&gt;file_path,true,$image-&gt;file_name,'style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"', '', $width, $height); ?&gt;

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

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

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 8 months ago -  13 years 8 months ago [\#90676](#90676) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  Replied by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")* on topic *[Random wrong image in the cart list](/forum/3-bug-report/78476-random-wrong-image-in-the-cart-list#90676 "Hello, as I read in some post of some months ago(  goo.gl/apnno ) another user had the same problem and should be fix in the new version(at that time). The problem is that the image of the product in the cart list is random, it's not the main image of the product. I have products with several images and according to something that I dont know, when I add the product to the cart, the image displayed is not the main one(not always). I have the versione Essential 2.1.0. Url:   goo.gl/gzaAc  user action pass style2012 How can I fix? Thank you")*

> Mohamed Thelji wrote: Hi,
>
> Did you edited your **Cart** file of your **checkout** view of your front-end template ?

No I'm not.

> Xavier wrote: Hi
> Had you edited the view "checkout / cart" ?
> Have you this line:
> &lt;?php echo $this-&gt;image-&gt;display($image-&gt;file\_path,true,$image-&gt;file\_name,'style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"', '', $width, $height); ?&gt;

Yes I have it.
I didnt edit the ckecout/cart, it's the original one.

Thank you

Last edit: 13 years 8 months ago by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ3Ni1yYW5kb20td3JvbmctaW1hZ2UtaW4tdGhlLWNhcnQtbGlzdD90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

13 years 8 months ago [\#91014](#91014) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Random wrong image in the cart list](/forum/3-bug-report/78476-random-wrong-image-in-the-cart-list#91014 "Hello, as I read in some post of some months ago(  goo.gl/apnno ) another user had the same problem and should be fix in the new version(at that time). The problem is that the image of the product in the cart list is random, it's not the main image of the product. I have products with several images and according to something that I dont know, when I add the product to the cart, the image displayed is not the main one(not always). I have the versione Essential 2.1.0. Url:   goo.gl/gzaAc  user action pass style2012 How can I fix? Thank you")*

Please make sure that you entered the order of each image in the images area of your products. The image with the smaller order will be the one displayed in the cart. If several images of the same product have the same ordering, the result might be unexpected.

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

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

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

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 8 months ago [\#91051](#91051) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  Replied by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")* on topic *[Random wrong image in the cart list](/forum/3-bug-report/78476-random-wrong-image-in-the-cart-list#91051 "Hello, as I read in some post of some months ago(  goo.gl/apnno ) another user had the same problem and should be fix in the new version(at that time). The problem is that the image of the product in the cart list is random, it's not the main image of the product. I have products with several images and according to something that I dont know, when I add the product to the cart, the image displayed is not the main one(not always). I have the versione Essential 2.1.0. Url:   goo.gl/gzaAc  user action pass style2012 How can I fix? Thank you")*

Yes you're right, Thank you.
After I modifyed the order the showed image is correctly.
Thanks

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

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