Magento Product More Views Not working in Responsive Mobile Theme
-
13-12-2020 - |
Question
I am using magento 1.9.3.2. In Product Detail page, more views working fine in website view. But Not working in Responsive Mobile Theme.
La solution
I got error in console TypeError: this.toggleElements.toggleSingle is not a function
.
This link solved my problem. Thanks @Jelle Siderius.
Change Code in app.js as follows:
match: function () {
if(this.toggleElements.length > 0){
this.toggleElements.toggleSingle();
}
},
unmatch: function () {
if(this.toggleElements.length > 0){
this.toggleElements.toggleSingle({destruct: true});
}
}
Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange