News:

Support the VirtueMart project and become a member

Main Menu

shopping cart

Started by Dylorek, July 04, 2013, 01:48:06 AM

Previous topic - Next topic

Dylorek

Hi, I would like to insert a small icon next to "Your Shopping Cart is empty". Anyone  know how do this?

jenkinhill

Simple way to do that is to code the image link into a text string to use as a language override for "Your Shopping Cart is empty".

http://forum.virtuemart.net/index.php?topic=113895.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Dylorek

So I can here change a tekst and also add a image?

jenkinhill

Yes just simple code. But the normal (default)  language string for COM_VIRTUEMART_EMPTY_CART  is just "Cart empty" so maybe you already have a language override in place or are using a commercial theme.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Dylorek

#4
I have already override: COM_VIRTUEMART_EMPTY_CART="Twój koszyk jest pusty" but I don't know what code I should add. Sorry for asking a lot of question but I'm from Poland and I don't understand everything.

Maxim Pishnyak

#5
Twój koszyk jest pusty<br /><img src="xxxxxxxxxxxxxxxxxxx">
or
<img src="xxxxxxxxxxxxxxxxxxx"><br />Twój koszyk jest pusty
where xxxxxxxxxxxxx is the source to your small icon

img, br and other (div, p, center) are commands from HTML and CSS language
it's time for you to study web developing online books a bit
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

jenkinhill

HTML and other web languages are easier for me than Polish............
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum