- Posts: 52
- Thank you received: 0
remove mootools and Squeezebox from hikashop
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6
-- Error-message(debug-mod must be tuned on) -- : Uncaught ReferenceError: SqueezeBox is not defined
i want remove mootools.js from site.
when i remove it . in hikashop page i get this error:
Uncaught ReferenceError: SqueezeBox is not defined
and i found that squeezebox used mootools .
i don't need squeezebox , how to remove it from my site?
how can i remove this scripts:
i search in forum but can't figures out
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
1 - Choose another "popup mode" and "image popup mode" in your HikaShop configuration.
2 - For the setting "After a product is added to the cart", do not use the one which display a popup.
www.hikashop.com/support/documentation/54-hikashop-config.html
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.
and use popup mode "shadowbox"
in "After a product is added to the cart" i choose "go to checkout page"
but squeezeBox still there and give me that error.
Please Log in or Create an account to join the conversation.
Then it should not be loaded.
Could you provide a link to a product page so that we could look at the problem ?
Maybe something else loads it on your website ?
Please Log in or Create an account to join the conversation.
page
Please Log in or Create an account to join the conversation.
The error I see on your checkout is:
Uncaught TypeError: Fx.Slide is not a constructor
That error comes from the javascript of the payment methods selection system which needs mootools for now.
As erickb said, this won't be a problem with HikaShop 3, but for now, it is necessary for that.
If you want to remove that error when mootools is forcefully removed, you can remove the code:
Please Log in or Create an account to join the conversation.
i made duplicate site on sub domain with remove mootools .
subdomain link here
because the main domain used ssl(https) the subdomain give warning you can select process anyway to access to site
.
Please Log in or Create an account to join the conversation.
On that page, I'm not even able to add a product to the cart.
It seems that you've configured HikaShop to use the AJAX add to cart mode, which also requires Mootools for now. Check that the "Use AJAX when possible for add to cart buttons" setting is deactivated in the HikaShop configuration.
Also, next version of HikaShop will have a new add to cart system and it won't need mootools so that problem won't happen.
Please Log in or Create an account to join the conversation.
i use remove mootools plugin for remove mootools in other page except shopping page.
i think , i must wait for next version for remove mootools completely.
Please Log in or Create an account to join the conversation.
It sure will be simpler with the next version as most of what use mootools won't be there anymore.
Please Log in or Create an account to join the conversation.
you said remove in next version but still there.
when removing mootools library?
Please Log in or Create an account to join the conversation.
You're wrong on all the line.
I didn't say that we'll remove them. I said that most of what uses mootools won't be there.
And that's the case. The new checkout and the new add to cart system don't use it anymore.
All that's left is carousel system for which we don't have an alternative yet.
Note however that if you update from a previous version of HikaShop, the add to cart and checkout legacy systems are activated by default. So you still have the old interfaces that use mootools. We do that so that if you have customizations on your website, it doesn't break during the update.
You'll have to turn off both of these under the "advanced" tab of the HikaShop configuration to use the new add to cart and checkout systems which don't rely on mootools at all.
Please Log in or Create an account to join the conversation.
why don't you use owlcarousel instead of mootools that used jquery?it's highly customisable and responsive
Please Log in or Create an account to join the conversation.
That subject has already been treated in other thread.
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.