News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Modal window not working in Product Details View

Started by dunl3380, October 18, 2013, 20:45:16 PM

Previous topic - Next topic

dunl3380

Hello,

I currently upgraded my Vitruemart to the latest version. Unfortunately, after doing so the image in the product details page no longer opens in a model view. Additionally, the additional images below the main product image no longer do anything. I am not sure what could have caused this, any suggestions?

The website I am working on is currently live at http://americanhat.net/ so getting it fixed quickly is very important.

When I use IE to debug I get several errors, none of which seemed to help me much:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3)
Timestamp: Fri, 18 Oct 2013 18:39:51 UTC


Message: 'Hash' is undefined
Line: 7
Char: 1
Code: 0
URI: http://americanhat.net/media/system/js/modal.js


Message: Object doesn't support property or method 'addEvent'
Line: 39
Char: 3
Code: 0
URI: http://americanhat.net/felt-crown/6-007-minnick-2013-07-24--detail


Jumbo!

The problem is created by Locator component installed in your site which is loading jQuery library after fancy box script. Disable loading of jQuery in the component or disable the component completely from your Joomla Extension Manager.

That will resolve the issue.

dunl3380

I am still having a lot of issues getting this fixed. I have tried numerous approaches including using easyjquery plugin and using different configuration options in both the locator and Virtuemart. Unfortunately, once I get one part to work the other other one fails. Do you have any other advice you may be able to give me Jumbo! Completely removing the the locator is not an option, it is one of the more important features that the client has requested.

I am now getting this error instead:

Message: Object doesn't support property or method 'fancybox'
Line: 69
Char: 2
Code: 0
URI: http://americanhat.net/component/virtuemart/straw-hats/15-1011-detail.html?Itemid=0

It definitely has to do with FancyBox and the js libraries, but I can't find a viable solution to fix the issue

Thank you for all your help

Jon


Jumbo!

You will see that error if you load jQuery library after fancybox plugin script in your site. Check the source codes of your site and disable the extension which does the same.

I personally do not believe jQueryEasy can resolve such problems.

Just remember two important things :

1. Never load jQuery library multiple times in your site. All your extensions can work even when jQuery is loaded once in yiur site.
2. jQuery librery must be loaded before the jQuery plugin scripts and other javascripts which uses JQuery library.