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

Display modal popup upon 'Add to cart'not working !!

Started by samehelhakim, November 11, 2012, 22:54:19 PM

Previous topic - Next topic

samehelhakim

Hello ,
I have a problem when i mark on this option Display modal popup upon 'Add to cart'   
from the backend the add to cart button not work anymore and i have to refresh the page by myself to see the updates .. but if unmarked it .. then it work normal that redirect me to shopping cart !
i think its a problem with the Jquery but i didn't make any update for my virtuemart or anything !
VM version 2.0.6
Joomla version 2.5

bytelord

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

samehelhakim

i just checked the JS conflicts and nothing ! and i updated to the last version and same issue too !

bytelord

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

bytelord

Hello,

Just checked you web site and there are js conflicts. Probably you didn't checked correctly.

QuoteSyntaxError: missing ) after argument list
[Break On This Error]    
sName+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" "

This one caused by spotlight widgetkit of your custom joomla template.

Also you are loading jquery twice, please remove one instance. Also you are loafing ja.js for google analytics three times. This should be corrected because affect your site performance.

<script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js">
<script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js">
<script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js">
<script type="text/javascript" src="/final/media/system/js/mootools-core.js">
<script type="text/javascript" src="/final/media/system/js/core.js">
<script type="text/javascript" src="/final/media/system/js/mootools-more.js">
<script type="text/javascript" src="/final/media/system/js/modal.js">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js">
<script type="text/javascript" src="/final/components/com_k2/js/k2.js">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js">
<script type="text/javascript" src="http://hatlly.com/final/components/com_virtuemart/assets/js/jquery.ui.autocomplete.html.js">
<script type="text/javascript" src="http://hatlly.com/final/components/com_virtuemart/assets/js/jquery.noConflict.js">
<script type="text/javascript" src="/final/components/com_virtuemart/assets/js/vmsite.js">
<script type="text/javascript" src="/final/components/com_virtuemart/assets/js/facebox.js">
<script type="text/javascript" src="/final/components/com_virtuemart/assets/js/vmprices.js">
<script type="text/javascript" src="/final/cache/widgetkit/widgetkit-fa51980f.js">
<script type="text/javascript" src="/final/templates/shaper_istore/js/popbox.js">
<script type="text/javascript" src="/final/plugins/system/helix/js/menu.js">
<script type="text/javascript" src="/final/plugins/system/helix/js/equalheight.js">
<script type="text/javascript" src="/final/plugins/system/helix/js/totop.js">
<script type="text/javascript" src="/final/plugins/system/helix/js/jquery.js">
<script type="text/javascript" src="/final/media/com_acymailing/js/acymailing_module.js">
<script type="text/javascript" src="...........mod_ice_virtuemart_cart/assets/vmprices_2.js"

You could unload jquery from vm under the configuration -> Templates and use only jquery 1.7 from k2.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

samehelhakim

Which file that  i have to correct it ! in which directory so but i'm still beginner with VM :)

samehelhakim

I just removed one of <script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js">
and fixed the Jquery load to just 1.7 & disabled the widgetkit but nothing happened !

bytelord

#7
Hello,

I am not aware how your template is working, uses it's own framework, but what as i see the script still loads, also a lighbox widget still loads, if  you try with joomla default template you will see that is working, is an issue with your joomla template that loads too many javascipt files. Please examine better using firebug because i cannot make further tests from here. But this is caused by your widgets or your joomla template.
May be you disable them but your template maybe reloads them.

You could ask for support here: http://www.joomshaper.com/forums/75-istore/ for that template http://www.joomshaper.com/joomla/club-templates/istore


Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!