tooltip is not a function

  • Posts: 91
  • Thank you received: 5
7 years 5 months ago #283548

-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.8.2
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Chrome 62
-- Error-message(debug-mod must be tuned on) -- : $(...).tooltip is not a function

Sometimes when a user browses product category, he gets an error in console:
$(...).tooltip is not a function
and the rest of the scripts stops working, causing the site to be useless in our case.

Console points at the line
jQuery(function($){ $(".hasTooltip").tooltip({"html": true,"container": "body"}); });
within the context:

<script type="text/javascript">

if(!window.localPage) window.localPage = {};
window.localPage.cartRedirect = function(cid,pid,resp){window.location="/zamowienie";};
window.localPage.wishlistRedirect = function(cid,pid,resp){window.location="/wynajem-stolow-i-stolikow/product/listing";};

jQuery(function($){ $(".hasTooltip").tooltip({"html": true,"container": "body"}); });
<!--

if(!hkjQuery) window.hkjQuery = window.jQuery;
if(!window.localPage) window.localPage = {};
window.localPage.getFormatedNumber = function(val) {

We are in:
com_hikashop view: product task: listing

Can you help me what to be the cause? Can I switch hktooltip off?

Please Log in or Create an account to join the conversation.

  • Posts: 26232
  • Thank you received: 4035
  • MODERATOR
7 years 5 months ago #283557

Hello,

Tooltip is not provided by HikaShop but it's provided by Joomla itself.
You should see to install jquery easy plugin to fix your conflict issues regarding jquery.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum