no popup when i add a product to cart

  • Posts: 281
  • Thank you received: 3
9 years 10 months ago #208750

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3

Hello
How you can see in the img, I setup in global configuration the option after a prodoct is added to cart as "stop and show a popup.
But it adds just the product in cart without any popup :unsure:

The same when I click on image of produc dettail, it show the image in other page, not in a popup

What do you think?? why that??
thanks
FRank

Attachments:

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

  • Posts: 83824
  • Thank you received: 13571
  • MODERATOR
9 years 10 months ago #208753

Hi,

That's probably some javascript issue on the page, probably due to a conflict with another extension or the template.
We would need a link to the page in order to analyze the issue in order to be able to say more.

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

  • Posts: 281
  • Thank you received: 3
9 years 10 months ago #208810

The url of my web site (testing) is:
mytest2015.altervista.org

Thanks
FRank

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

  • Posts: 83824
  • Thank you received: 13571
  • MODERATOR
9 years 10 months ago #208823

Hi,

You have several javascript errors on your pages (you can see them in your web browser console):
take.ms/XWhUM
That's probably why the popup cannot open as the javascript crashes before that.

For the first error, I found that thread online:
forum.joomla.org/viewtopic.php?f=708&t=843957
It could be related to Joomla javascript files not up to date.

Regarding the second, it's because of the order of the javascript files on your website:
take.ms/FxScX
You can see that the jquery.min.js file is after the jquery-migrate.min.js
It should be the other way around. It's apparently something coming from the jquery plugin but it might be something else (or you might need it to fix the issue, or configure it properly).

The last one is apparently a conflict jquery/mootools which should be fixable with the jquery easy plugin.

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

  • Posts: 281
  • Thank you received: 3
9 years 10 months ago #208890

Hello
About the problem of popup og the image product I solved using in Image popup mode>Shadowbox(external)
Can it give anyproblem?? or can i use it without problem? :blush:

I tryed to use the solution of the post you suggested me, but nothing change.
How can I solve the error of javascript that you advise?
However, If I use the standard joomla template it works perfectly :blush:

Thanks
Frank

Last edit: 9 years 10 months ago by francota.

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

  • Posts: 83824
  • Thank you received: 13571
  • MODERATOR
9 years 10 months ago #208898

Hi,

You sure can use shadowbox for the image popup. That circumvents the problem but using another popup library than joomla's.

I'm sorry but we cannot help more for fixing javascript errors not coming from HikaShop.
We don't know where the javascript errors are generated more than what I told you.
If it works fine with the default template, it's your template provider you should contact as he will be the best to understand what's going on.

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

  • Posts: 281
  • Thank you received: 3
9 years 9 months ago #209223

Hello
Maybe I solved following this post in other forum:
github.com/GavickPro/Meet-Gavern/issues/...ssuecomment-10522505
just removing from template/layouts/default.php this line code:

GKParser::$customRules['/<script src="(.*?)media\/system\/js\/mootools-more.js" type="text\/javascript"><\/script>/mi'] = '';

Originally was:
// Rules to remove predefined jQuery and Bootstrap and MooTools More
GKParser::$customRules['/<script src="(.*?)media\/jui\/js\/jquery.min.js" type="text\/javascript"><\/script>/mi'] = '';
GKParser::$customRules['/<script src="(.*?)media\/jui\/js\/jquery-noconflict.js" type="text\/javascript"><\/script>/mi'] = '';
GKParser::$customRules['/<script src="(.*?)media\/jui\/js\/bootstrap.min.js" type="text\/javascript"><\/script>/mi'] = '';
GKParser::$customRules['/<script src="(.*?)media\/system\/js\/mootools-more.js" type="text\/javascript"><\/script>/mi'] = '';

Now popup works good, but I am not expert so do you think can I have other problem removing that code??

Big thanks for your support :)
Frank

Last edit: 9 years 9 months ago by francota.

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

  • Posts: 26234
  • Thank you received: 4036
  • MODERATOR
9 years 9 months ago #209235

Hi,

We are not template experts so it will be difficult to say like that without more knowledge on how the template is working.
But allowing jquery and bootstrap is a good thing if you want to use jquery or bootstrap in your website (like the bootstrap modal).

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.077 seconds
Powered by Kunena Forum