News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Strange Problem in Cart layout - Impossible to change in CSS or tmpl

Started by lipes, April 07, 2012, 16:23:31 PM

Previous topic - Next topic

lipes

Hi. In the cart we got this (without 0 products):
<div class="total_products">Cart empty</div>

If we add 1 product to the Cart we got this:
<div class="total_products">1 product</div>

So.. If we want to to Something like this: Cart empty
Next We get this too: 1 product and are different things!

Its very bad...
So the Solution is to EDIT the ENGLISH Language and add CSS Style on that "Cart empty" place words ...
but the Main problem is whenever we got one New update .. that hack goes away and we lose that work!

Any better sugestion to solve this, please?!
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

jenkinhill

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

lipes

doesnt work :(

this is what i want to add a style:
COM_VIRTUEMART_EMPTY_CART=" <div class="tcv">Cart empty</div>"
in en-GB.com_virtuemart.ini

I've go to override language folder put the en-GB.com_virtuemart.ini  or en-GB.override.ini .. and dont work...

I created too a folder in override called en-GB with the file.. but doesnt work too!

:'(
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

lmn40227

maybe this is the unique thing that i cant change the CSS with doing that in the language file

lipes

i was stupid.. sorry.. because i was in administrator language directory xD

and ... the explanation of BanquetTables.pro could be more usefull like:

1st: Copy the line of text you want to change.
2nd: Paste the line(s) that you want in one NEW en-GB.override.ini file (or in your language override)
3rd: Put that file ( en-GB.override.ini ) in YOUR SITE FOLDER \language\overrides

you'll be happy now :P
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25