- Posts: 2
- Thank you received: 0
Duplicate jQuery stop saving the Billing Address modifications
11 years 1 month ago #7326
by Miq Moham
Dear Sir,
My website Joomla template has jQuery in the main template. Now when I uploaded OT scroller and activate it. Then after if I login to the frontend as a demo user on my site and try to update billing address for the user, the billing address does not get updated because State City field in the billing form does not showing Dropdown to select city or state. I approaches to my Hosting website and they told me like that:
""The issue is indeed caused by the jQuery files on your website:
Code:
var vm2string ={editImage: 'edit image',select_all_text: 'COM_VIRTUEMART_DRDOWN_SELALL',select_some_options_text: 'COM_VIRTUEMART_DRDOWN_AVA2ALL'} ;
jQuery( function($) {
$(".vm-chzn-select").chosen({enable_select_all: true,select_all_text : vm2string.select_all_text,select_some_options_text:vm2string.select_some_options_text});
Uncaught TypeError: Object #<Object> has no method 'chosen'
I found out that the main jquery.min.js file was duplicated:
Codes sript :
src="/templates/hot_cars/js/jquery.min.js" type="text/javascript">
src="/modules/mod_ot_scroller/js/jquery.js" type="text/javascript"
I tried to use the ReReplacer as described on that topic:
www.ostraining.com/blog/joomla/rereplacer-jquery/
But that had no effect. So I checked the version of that file:
/modules/mod_ot_scroller/js/jquery.js
Code:
/*
* jQuery JavaScript Library v1.3.2
* jquery.com/
It was the old version, so I had to replace it with the new version:
Code:
/*! jQuery v1.7.1 jquery.com | jquery.org/license */
But still the issue was not solved.
I was unable to find other solution except disabling the module called "OT Scroller".""
Can you update your OT Scroller or guide me to rectify the problem.
My website Joomla template has jQuery in the main template. Now when I uploaded OT scroller and activate it. Then after if I login to the frontend as a demo user on my site and try to update billing address for the user, the billing address does not get updated because State City field in the billing form does not showing Dropdown to select city or state. I approaches to my Hosting website and they told me like that:
""The issue is indeed caused by the jQuery files on your website:
Code:
var vm2string ={editImage: 'edit image',select_all_text: 'COM_VIRTUEMART_DRDOWN_SELALL',select_some_options_text: 'COM_VIRTUEMART_DRDOWN_AVA2ALL'} ;
jQuery( function($) {
$(".vm-chzn-select").chosen({enable_select_all: true,select_all_text : vm2string.select_all_text,select_some_options_text:vm2string.select_some_options_text});
Uncaught TypeError: Object #<Object> has no method 'chosen'
I found out that the main jquery.min.js file was duplicated:
Codes sript :
src="/templates/hot_cars/js/jquery.min.js" type="text/javascript">
src="/modules/mod_ot_scroller/js/jquery.js" type="text/javascript"
I tried to use the ReReplacer as described on that topic:
www.ostraining.com/blog/joomla/rereplacer-jquery/
But that had no effect. So I checked the version of that file:
/modules/mod_ot_scroller/js/jquery.js
Code:
/*
* jQuery JavaScript Library v1.3.2
* jquery.com/
It was the old version, so I had to replace it with the new version:
Code:
/*! jQuery v1.7.1 jquery.com | jquery.org/license */
But still the issue was not solved.
I was unable to find other solution except disabling the module called "OT Scroller".""
Can you update your OT Scroller or guide me to rectify the problem.
Please Log in or Create an account to join the conversation.
- Trung Duong
-
- Offline
- Administrator
-
Less
More
- Posts: 2284
- Thank you received: 998
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
11 years 1 month ago #7330 by Trung Duong
Replied by Trung Duong on topic Re: Duplicate jQuery stop saving the Billing Address modifications
Hello,
You just need turn off Load jQuery from module.
Regards
You just need turn off Load jQuery from module.
Regards
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!


[img]...[/img]
[img]...[/img]
[img]...[/img]
Please Log in or Create an account to join the conversation.
11 years 1 month ago #7340
by Miq Moham
Replied by Miq Moham on topic Re: Duplicate jQuery stop saving the Billing Address modifications
Thanks, now it is working perfectly.
Please Log in or Create an account to join the conversation.
Time to create page: 0.191 seconds