![]() |
Tooltip
Is there an easy way to turn off the tooltip that pops up in the minicart when you hover over the total cart value?
|
Re: Tooltip
The only easy way that I know how is to go into whichever theme you are using, and then edit customer/minicart_total.tpl.
Find this: <strong>{$minicart_total_items}</strong> {$lng.lbl_cart_items} / }<strong class="help-link"> {include file="main/tooltip_js.tpl" class="help-link" title=$val text=$lng.txt_minicart_total_note}</strong> and then replace it with this: <strong>{$minicart_total_items}</strong> {$lng.lbl_cart_items} / {$val}<strong class="help-link"> {*include file="main/tooltip_js.tpl" class="help-link" title=$val text=$lng.txt_minicart_total_note*}</strong> I hope that helps: Joel X-Cart 4.4.0 |
Re: Tooltip
Thank you, I'll give that a shot!
|
Re: Tooltip
You're welcome
|
Re: Tooltip
Where can I modify what this tooltip says?
|
Re: Tooltip
Under languages section.
Quote:
|
Re: Tooltip
Quote:
Do you mean from the Content tab, Languages selection? As I look at the "Edit languages" page, I'm not sure where to go to modify the tool tip. I see 'Edit language', 'Default language', and 'Add/Update language'. Thanks |
Re: Tooltip
lead the language then search for that term
|
Re: Tooltip
Does the minicart tooltip use the js/cluetip/ files included with X-Cart? I'm trying to call its functionality elsewhere in a site, but using the code from the minicart:
<a id="tooltip_link" class="help-link" rel="#tooltip_link_tooltip" href="#tooltip_link_tooltip" style="" title=""> only allows for 1 instance of the tool tip to work. Does anyone know how to modify this so you can use multiple tool tips within a single page? |
Re: Tooltip
Got it...as usual, should have dug around a little more before posting:
To prepare any custom tooltips all you need to do is use this line: {include file="main/tooltip_js.tpl" class="help-link" title=XXX text='XXX' id='XXX'} The key seems to be making sure it has a unique ID, otherwise it will default to 'tooltip_link' which may be in use by native X-Cart functions (such as the minicart.) |
All times are GMT -8. The time now is 10:02 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.