WarVermicelli Posted January 5, 2015 Share Posted January 5, 2015 ..from product page? Hi, I have a module which helps me to place the Accessoires on a better spot. But I have to hide the Asseccoires at the bottom of the page (Presta 1.6.0.9) When I <!-- ... --> the part in the Product.tpl It just crashes the layout by deleting the slider, but still shows the accessoires among themselves. Thanks! BEN Link to comment Share on other sites More sharing options...
vekia Posted January 5, 2015 Share Posted January 5, 2015 what theme you use? < > is not correct way to comment smarty code use {* *} instead Link to comment Share on other sites More sharing options...
WarVermicelli Posted January 5, 2015 Author Share Posted January 5, 2015 Hi, thanks for the advice! I'm using warehouse! Link to comment Share on other sites More sharing options...
vekia Posted January 5, 2015 Share Posted January 5, 2015 i have no idea how the product.tpl looks like there if it is possible - attach it somewhere. Link to comment Share on other sites More sharing options...
WarVermicelli Posted January 5, 2015 Author Share Posted January 5, 2015 uploaded to my dropbox: https://www.dropbox.com/s/u6h89uxvc2jbmjx/product.tpl?dl=0 Thanks! Link to comment Share on other sites More sharing options...
WarVermicelli Posted January 7, 2015 Author Share Posted January 7, 2015 Hi Vekia, you had time, to take a look at the .tpl ? Thanks BEN Link to comment Share on other sites More sharing options...
WarVermicelli Posted January 11, 2015 Author Share Posted January 11, 2015 (edited) Anyone? :-( Edited January 11, 2015 by WarVermicelli (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 11, 2015 Share Posted January 11, 2015 hello sorry for long waiting time for reply i missed your replies here :/ anyway, i checked it a second ago. to comment out accessories instead of: {if isset($accessories) && $accessories} <!--<Accessories --> <section class="page-product-box flexslider_carousel_block"> <h3 class="page-product-heading">{l s='Accessories'}</h3> {include file="$tpl_dir./product-slider.tpl" products=$accessories id='accessories_slider'} </section> <!--end Accessories --> {/if} use: {* {if isset($accessories) && $accessories} <!--<Accessories --> <section class="page-product-box flexslider_carousel_block"> <h3 class="page-product-heading">{l s='Accessories'}</h3> {include file="$tpl_dir./product-slider.tpl" products=$accessories id='accessories_slider'} </section> <!--end Accessories --> {/if} *} be aware! make sure that you're not commenting too much! Link to comment Share on other sites More sharing options...
WarVermicelli Posted January 12, 2015 Author Share Posted January 12, 2015 Thanks, worked perfectly! Link to comment Share on other sites More sharing options...
vekia Posted January 13, 2015 Share Posted January 13, 2015 great :-) thank you for confirmation that it works anyway, im sorry for long waiting time i marked topic title as solved with regards, Milos 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