PrabuSS Posted March 20, 2017 Share Posted March 20, 2017 (edited) Hi In default product.tpl file serving the layout design of product quick view popup in most of the theme. I would like to create separate template file for product quick view it self. And will need to change the layout on that file. How do i achieve this? Please any one PS version : 1.6.1.7 Site url : https://www.applesupported.nl/presta_test Edited March 20, 2017 by Prabukaran (see edit history) Link to comment Share on other sites More sharing options...
endriu107 Posted March 20, 2017 Share Posted March 20, 2017 This is very simple all you need to do is check if it is quickview view, if yes you include another template file. In product.tpl add something like this: {if $content_only} {include file="$tpl_dir./your_custom_popup_view_file.tpl"} {else} HERE REST OF PRODUCT.TPL FILE CONTENT {/if} Link to comment Share on other sites More sharing options...
PrabuSS Posted March 21, 2017 Author Share Posted March 21, 2017 (edited) This is very simple all you need to do is check if it is quickview view, if yes you include another template file. In product.tpl add something like this: {if $content_only} {include file="$tpl_dir./your_custom_popup_view_file.tpl"} {else} HERE REST OF PRODUCT.TPL FILE CONTENT {/if} Hi finally I've found the place to add your code. Its working like a charm. Credits goes to you only. Thanks a lot!!! One more thing please. I would like to add link like "more details" in quick view popup it will redirect the users to appropriate product page? How do i do this? Edited March 22, 2017 by Prabukaran (see edit history) 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