ian0254 Posted December 5, 2014 Share Posted December 5, 2014 Hi! Just wanna ask for help. How can I remove the prices in prestashop module, featured products? When I edit the "homefeatured.tpl" file it doesn't work. Link to comment Share on other sites More sharing options...
FullCircles Posted December 5, 2014 Share Posted December 5, 2014 homefeatured.tpl just calls in the product-list.tpl file to actually display the products, so in that regard, it's no different than a category display. What you'd need to do is something like: On homefeatured.tpl, find: {include file="$tpl_dir./product-list.tpl" class='homefeatured tab-pane' id='homefeatured'} Replace with: {assign var="showNoPrices" value="1"} {include file="$tpl_dir./product-list.tpl" class='homefeatured tab-pane' id='homefeatured'} {assign var="showNoPrices" value="0"} Then on product-list.tpl, simply wrap whatever section you don't want to display with this code: {if empty($showNoPrices)} {/if} Hope that helps 1 1 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