DOKI4ever Posted August 3, 2016 Share Posted August 3, 2016 Hi Everybody!! I'm have a design for on a prestashop were the quick-view of a product has a different design than the detail view of the same product. Do you know if its possible to have different designs on those views? I have thought about duplicating the product.tpl and renaming the copy to product-preview.tpl, but how can i make prestashop to load that tpl instead of the product.tpl in the fancybox? If i can load a different one, i can modify the design completely while maintaining the original one for the product.... Any ideas? Link to comment Share on other sites More sharing options...
endriu107 Posted August 3, 2016 Share Posted August 3, 2016 It is possible using only one file, all you need to use is {if $content_only}thicbox view{/if} Link to comment Share on other sites More sharing options...
DOKI4ever Posted August 3, 2016 Author Share Posted August 3, 2016 So everything i place inside the {if $content_only} {/if} will only be visible in the quick-view? Link to comment Share on other sites More sharing options...
endriu107 Posted August 3, 2016 Share Posted August 3, 2016 Just look in to product.tpl file and you will see how it's work. 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