normal Duplicate jQuery stop saving the Billing Address modifications

More
10 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.

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

More

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
10 years 1 month ago #7330 by Trung Duong
Hello,

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]

[img]...[/img]

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

More
10 years 1 month ago #7340 by Miq Moham
Thanks, now it is working perfectly.

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

Time to create page: 0.238 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam