OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
CasualClothes Template states select error (0 viewing) 

OrdaSoft template Support

Go to bottom Favoured: 0

CasualClothes Template states select error

abplus (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
CasualClothes Template states select error 11 Years, 8 Months ago
Karma: 0  
Hi, I have purchased and installed the CasualClothes template with Virtuemart. After adding a product to shopping cart, and try to checkout, and then fill up the registration form, but keep getting javascript error when try to select states from the drop down, after I select country, for example, if I select Australia, there is no states loaded in the states drop down (I have checked, in the virtuemart configuration, all states of Australia has been published and the country and state script option also has been turned on), and got javascript error as long as the page loaded, the error detail as below;

TypeError: $(...).vm2front is not a function

I have tried the same thing on your demo site, got same issue, at the moment, this issue has prevent me to complete the checkout process, could you please help me out

Thanks
Andy
Logged Logged
The administrator has disabled public write access.
Ulanovatem (User)
Gold Boarder
Posts: 295
graphgraph
User Offline Click here to see the profile of this user
OrdaSoft
Re:CasualClothes Template states select error 11 Years, 8 Months ago
Karma: 7  
Hello Andy,

Thanks you for your report
go to - > template folder -> index.php

in line 19 remove:
$doc->addScript($this->baseurl."/templates/".$this->template."/javascript/jquery.min.js";

Best Regards,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
abplus (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:CasualClothes Template states select error 11 Years, 8 Months ago
Karma: 0  
Hi, Thanks very much for the reply. I have tried what you said, and removed the line 19.

But after removing that, I start getting javascript error from bootstrap.js

Below are the error details

TypeError: $(...).on is not a function
[Break On This Error]

$(window).on('load', function () {

bootstrap.js (line 1483)

TypeError: $(...).on is not a function
[Break On This Error]

$('body'.on('click.alert.data-api', dismiss, Alert.prototype.close)

Could you please suggest anything else I can do?

Thanks
Andy
Logged Logged
The administrator has disabled public write access.
Ulanovatem (User)
Gold Boarder
Posts: 295
graphgraph
User Offline Click here to see the profile of this user
OrdaSoft
Re:CasualClothes Template states select error 11 Years, 8 Months ago
Karma: 7  
Hello Andy,

Problem was fixed and also on demo, you can check here:
virtuemart6.ordasoft.com/index.php/compo...dresscartBT?Itemid=0

How to fix:

1. update index.php file (in attachment file you find updated index.php )
ordasoft.com/images/fbfiles/files/index_...b5c775dd97667a63.zip
www. yoursite.com -> templates - > template_casualclothes

2.Check out Using the VirtueMart jQuery in:
Components - > VirtueMart -> Configuration - > Templates

Best Regards,
OrdaSoft team
Logged Logged
Last Edit: 2013/04/12 14:26 By Ulanovatem.
The administrator has disabled public write access.
Go to top
»