| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Displaying "item" or "items" in minicart | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Displaying "item" or "items" in minicart
This mod gets rid of the word "item(s)" in the minicart, and instead will put "item" for one item, or "items" for more than one item.
This is for 4.3, but will probably be similar in other versions. You will lose the minicart tooltip by using this method, I expect that can be easily added in by somebody else if they want to. Edit customer/minicart_total.tlp and on line 11 (I think, this may be a few lines out as I've moved things about a bit while working on this), delete the following line: Code:
and insert the following instead: Code:
That works fine, as long as you don't need the Minicart mouseover tooltip, because the label 'lbl_cart_X_items_total' is as follows: Code:
My solution uses the much simpler label 'lbl_item' which is, of course, "item".
__________________
X-Cart Gold Version 4.3.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|