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

#   Display an image in Mini Cart

##

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

Less More

- Posts: 49
- Thank you received: 2
-
-

15 years 3 months ago [\#21694](#21694) by [robjen](/forum/user/2831-robjen "View robjen's Profile")  *[Display an image in Mini Cart](/forum/4-how-to/21694-display-an-image-in-mini-cart#21694 "Hello,  I would like to display an image in the Mini-Cart above the &quot;The cart is empty&quot; line of text.  The image would need to be removed when an item is added to the cart.  Also, I would like to add a &quot;Proceed to Checkout&quot; line of text or button at the bottom of the Mini-Cart when an item is in the cart.  Your assistance would be appreciated.  Kind regards, Robin")* was created by *[robjen](/forum/user/2831-robjen "View robjen's Profile")*

Hello,

I would like to display an image in the Mini-Cart **above** the **"The cart is empty"** line of text.

The image would need to be **removed when an item is added to the cart.**

Also, I would like to add a **"Proceed to Checkout"** line of text or **button** at the bottom of the Mini-Cart when an item is in the cart.

Your assistance would be appreciated.

Kind regards,
Robin

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIxNjk0LWRpLi4uZ2UtaW4tbWluaS1jYXJ0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14266
-
-

15 years 3 months ago [\#21709](#21709) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Display an image in Mini Cart](/forum/4-how-to/21694-display-an-image-in-mini-cart#21709 "Hello,  I would like to display an image in the Mini-Cart above the &quot;The cart is empty&quot; line of text.  The image would need to be removed when an item is added to the cart.  Also, I would like to add a &quot;Proceed to Checkout&quot; line of text or button at the bottom of the Mini-Cart when an item is in the cart.  Your assistance would be appreciated.  Kind regards, Robin")*

You could change the text "The cart is empty" by overriding the corresponding translation: [ www.hikashop.com/en/download/languages.html#modify](http://www.hikashop.com/en/download/languages.html#modify)
That way, you could add an image and a &lt;br/&gt; between the image and the text like that:
CART_EMPTY="&lt;img src='[ www.mywebsite.com/my\_image.jpg](http://www.mywebsite.com/my_image.jpg)' /&gt;&lt;br/&gt;The cart is empty"

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIxNjk0LWRpLi4uZ2UtaW4tbWluaS1jYXJ0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14266
-
-

15 years 3 months ago [\#21710](#21710) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Display an image in Mini Cart](/forum/4-how-to/21694-display-an-image-in-mini-cart#21710 "Hello,  I would like to display an image in the Mini-Cart above the &quot;The cart is empty&quot; line of text.  The image would need to be removed when an item is added to the cart.  Also, I would like to add a &quot;Proceed to Checkout&quot; line of text or button at the bottom of the Mini-Cart when an item is in the cart.  Your assistance would be appreciated.  Kind regards, Robin")*

For the proceed to checkout, you will have to add it yourself in the file cart of the view product via the menu Display-&gt;Views by changing the code in the view.

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

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

Less More

- Posts: 49
- Thank you received: 2
-
-

15 years 3 months ago [\#21718](#21718) by [robjen](/forum/user/2831-robjen "View robjen's Profile")  Replied by *[robjen](/forum/user/2831-robjen "View robjen's Profile")* on topic *[Re: Display an image in Mini Cart](/forum/4-how-to/21694-display-an-image-in-mini-cart#21718 "Hello,  I would like to display an image in the Mini-Cart above the &quot;The cart is empty&quot; line of text.  The image would need to be removed when an item is added to the cart.  Also, I would like to add a &quot;Proceed to Checkout&quot; line of text or button at the bottom of the Mini-Cart when an item is in the cart.  Your assistance would be appreciated.  Kind regards, Robin")*

Hello Nicolas,

I was able to add the **image** for the mini-cart and the **Proceed to checkout** link in the mini-cart.

Thank you for your help.

Kind regards,
Robin

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

- **[Teto](/forum/user/8045-teto "View Teto's Profile")**
- [![Teto's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar8045_2012-09-12.png)](/forum/user/8045-teto "View Teto's Profile")
- [ Offline](/forum/user/8045-teto)

Less More

- Posts: 184
- Thank you received: 4
-
- [](http://www.madeinvino.com)
-

14 years 2 months ago -  14 years 2 months ago [\#59392](#59392) by [Teto](/forum/user/8045-teto "View Teto's Profile")  Replied by *[Teto](/forum/user/8045-teto "View Teto's Profile")* on topic *[Re: Display an image in Mini Cart](/forum/4-how-to/21694-display-an-image-in-mini-cart#59392 "Hello,  I would like to display an image in the Mini-Cart above the &quot;The cart is empty&quot; line of text.  The image would need to be removed when an item is added to the cart.  Also, I would like to add a &quot;Proceed to Checkout&quot; line of text or button at the bottom of the Mini-Cart when an item is in the cart.  Your assistance would be appreciated.  Kind regards, Robin")*

I used the overrides option to add an imege to the Minicart:
CART_EMPTY &lt;img src="[ www.madeinvino.com/images/varie/Carr02\_A.png](http://www.madeinvino.com/images/varie/Carr02_A.png)" /&gt; Il carrello è vuoto
TOTAL_IN_CART_X &lt;img src="[ www.madeinvino.com/images/varie/Carr02\_A.png](http://www.madeinvino.com/images/varie/Carr02_A.png)" /&gt; Totale : %s

it works but the image and the text are not alligned vertically.

Is there a way to allign image and text (like the green circle)?

[ ![exampleminicart.png](/forum/attachment/5020) ](/forum/attachment/5020 "...leminicart.png")

Many Thanks!

- [ ![exampleminicart.png](/forum/attachment/5020) ](/forum/attachment/5020 "...leminicart.png") [ ](/forum/attachment/5020?download=1 "...leminicart.png")

Last edit: 14 years 2 months ago by [Teto](/forum/user/8045-teto "View Teto's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIxNjk0LWRpLi4uZ2UtaW4tbWluaS1jYXJ0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14266
-
-

14 years 2 months ago [\#59446](#59446) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Display an image in Mini Cart](/forum/4-how-to/21694-display-an-image-in-mini-cart#59446 "Hello,  I would like to display an image in the Mini-Cart above the &quot;The cart is empty&quot; line of text.  The image would need to be removed when an item is added to the cart.  Also, I would like to add a &quot;Proceed to Checkout&quot; line of text or button at the bottom of the Mini-Cart when an item is in the cart.  Your assistance would be appreciated.  Kind regards, Robin")*

You can adjust that with CSS.
If you could give a link to that page, we could have a look at the CSS of your website and tell you what CSS you need to add.

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

- **[Teto](/forum/user/8045-teto "View Teto's Profile")**
- [![Teto's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar8045_2012-09-12.png)](/forum/user/8045-teto "View Teto's Profile")
- [ Offline](/forum/user/8045-teto)

Less More

- Posts: 184
- Thank you received: 4
-
- [](http://www.madeinvino.com)
-

14 years 2 months ago [\#59976](#59976) by [Teto](/forum/user/8045-teto "View Teto's Profile")  Replied by *[Teto](/forum/user/8045-teto "View Teto's Profile")* on topic *[Re: Display an image in Mini Cart](/forum/4-how-to/21694-display-an-image-in-mini-cart#59976 "Hello,  I would like to display an image in the Mini-Cart above the &quot;The cart is empty&quot; line of text.  The image would need to be removed when an item is added to the cart.  Also, I would like to add a &quot;Proceed to Checkout&quot; line of text or button at the bottom of the Mini-Cart when an item is in the cart.  Your assistance would be appreciated.  Kind regards, Robin")*

thank you nicolas! ![:)](/media/kunena/emoticons/8.png ":)")

the link is [ www.madeinvino.com](http://www.madeinvino.com)

(the hikashop part at the moment is hidden, you can anyway see the cart image and the relative text)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIxNjk0LWRpLi4uZ2UtaW4tbWluaS1jYXJ0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14266
-
-

14 years 2 months ago [\#60042](#60042) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Display an image in Mini Cart](/forum/4-how-to/21694-display-an-image-in-mini-cart#60042 "Hello,  I would like to display an image in the Mini-Cart above the &quot;The cart is empty&quot; line of text.  The image would need to be removed when an item is added to the cart.  Also, I would like to add a &quot;Proceed to Checkout&quot; line of text or button at the bottom of the Mini-Cart when an item is in the cart.  Your assistance would be appreciated.  Kind regards, Robin")*

I'm sorry but I don't see the cart either.

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

- **[Teto](/forum/user/8045-teto "View Teto's Profile")**
- [![Teto's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar8045_2012-09-12.png)](/forum/user/8045-teto "View Teto's Profile")
- [ Offline](/forum/user/8045-teto)

Less More

- Posts: 184
- Thank you received: 4
-
- [](http://www.madeinvino.com)
-

14 years 2 months ago [\#60056](#60056) by [Teto](/forum/user/8045-teto "View Teto's Profile")  Replied by *[Teto](/forum/user/8045-teto "View Teto's Profile")* on topic *[Re: Display an image in Mini Cart](/forum/4-how-to/21694-display-an-image-in-mini-cart#60056 "Hello,  I would like to display an image in the Mini-Cart above the &quot;The cart is empty&quot; line of text.  The image would need to be removed when an item is added to the cart.  Also, I would like to add a &quot;Proceed to Checkout&quot; line of text or button at the bottom of the Mini-Cart when an item is in the cart.  Your assistance would be appreciated.  Kind regards, Robin")*

Sorry, you are right. :blush:

I forgot it was visible only for the registered users
I changed the option, now you may see it.

Thanks.

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

- **[Teto](/forum/user/8045-teto "View Teto's Profile")**
- [![Teto's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar8045_2012-09-12.png)](/forum/user/8045-teto "View Teto's Profile")
- [ Offline](/forum/user/8045-teto)

Less More

- Posts: 184
- Thank you received: 4
-
- [](http://www.madeinvino.com)
-

14 years 2 months ago -  14 years 2 months ago [\#60062](#60062) by [Teto](/forum/user/8045-teto "View Teto's Profile")  Replied by *[Teto](/forum/user/8045-teto "View Teto's Profile")* on topic *[Display an image in Mini Cart - SOLVED](/forum/4-how-to/21694-display-an-image-in-mini-cart#60062 "Hello,  I would like to display an image in the Mini-Cart above the &quot;The cart is empty&quot; line of text.  The image would need to be removed when an item is added to the cart.  Also, I would like to add a &quot;Proceed to Checkout&quot; line of text or button at the bottom of the Mini-Cart when an item is in the cart.  Your assistance would be appreciated.  Kind regards, Robin")*

After many many tests i have found the solution....

this is the string to use in the override text

&lt;img style="vertical-align: middle;" src="[ www.madeinvino.com/images/varie/Carr02\_A.png](http://www.madeinvino.com/images/varie/Carr02_A.png)" /&gt; Il carrello è vuoto

It seems to work! ![:)](/media/kunena/emoticons/8.png ":)")
Thank you so much for your help!

Last edit: 14 years 2 months ago by [Teto](/forum/user/8045-teto "View Teto's Profile").

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

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

[](#top)
