labox Posted February 8, 2016 Share Posted February 8, 2016 Hi everyone, I'm having an issue on my store when using product combinations: the fancybox for visualizing images does not work: http://shop.sinplastico.com/es/1450-cinta-porta-chupete-y-mordedor.html?search_query=cinta&results=3 The error console says that JQuery failed when trying to create a new element with the wrong tag "CLASS=WARNING_INLINE": Uncaught InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided ('CLASS="WARNING_INLINE"') is not a valid name. (jquery-1.11.0.min.js:3) Looking at the source code of the page I found an element that has no tag: <class="warning_inline" id="last_quantities" style="display: none" >¡Últimos artículos en stock!</> Could that be the problem? How is this wrong element created? Why does it only fail when looking a product with combinations but not for normal products? (all pages have this strange element without tag) Thank in advance! Link to comment Share on other sites More sharing options...
tuk66 Posted February 8, 2016 Share Posted February 8, 2016 This is about JavaScript. Browser console says at the home page: InvalidCharacterError: String contains an invalid character ...</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_defau... http://shop.sinplastico.com/js/jquery/jquery-1.11.0.min.js Link to comment Share on other sites More sharing options...
labox Posted February 8, 2016 Author Share Posted February 8, 2016 I finally solved the problem by editing the theme's product.tpl file where the wrong element was created (the element without tag). Now the fancybox loads properly and the photos are correctly viewed. Thanks for the attention! :-) Link to comment Share on other sites More sharing options...
Uptomen Posted March 9, 2017 Share Posted March 9, 2017 I finally solved the problem by editing the theme's product.tpl file where the wrong element was created (the element without tag). Now the fancybox loads properly and the photos are correctly viewed. Thanks for the attention! :-) Hi, I know this was some time ago but I'm having the same problem with thickbox not working on product pages with combinations. Can you tell me what you edited please? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now