X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Tooltip (https://forum.x-cart.com/showthread.php?t=55604)

abeight 09-19-2010 02:09 PM

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?

joelrhome 09-29-2010 01:07 PM

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}&nbsp;/&nbsp;}<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}&nbsp;/&nbsp;{$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

abeight 09-30-2010 06:12 AM

Re: Tooltip
 
Thank you, I'll give that a shot!

joelrhome 09-30-2010 06:53 AM

Re: Tooltip
 
You're welcome

MSfan 02-22-2012 11:52 AM

Re: Tooltip
 
Where can I modify what this tooltip says?

Dongan 02-22-2012 09:13 PM

Re: Tooltip
 
Under languages section.

Quote:

Originally Posted by MSfan
Where can I modify what this tooltip says?


MSfan 02-24-2012 01:17 PM

Re: Tooltip
 
Quote:

Originally Posted by Dongan
Under languages section.


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

cflsystems 02-24-2012 02:02 PM

Re: Tooltip
 
lead the language then search for that term

tqualizerman 04-07-2012 08:02 AM

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?

tqualizerman 04-07-2012 08:09 AM

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.