mmsh Posted March 7, 2016 Share Posted March 7, 2016 (edited) Hello, I have an issue with PS latest version and the quick view box for products (in product list) If I load an app into the footer...it loads even inside the quick view window. Furthermore, that quick view has the same $page_name as "product"... so, for Smarty is impossible to do distinction between the two pages...which are treated at the same way Do you know the steps in order to avoid loading something into that window? is that an iFrame or what ? thanks Edited March 7, 2016 by mmsh (see edit history) Link to comment Share on other sites More sharing options...
mmsh Posted March 7, 2016 Author Share Posted March 7, 2016 just do this: <script type="text/javascript"> if ( window.location == window.parent.location ) { // you're into the main page (no iFrame) // load what you want } </script> 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