namelesshachi Posted March 23, 2013 Share Posted March 23, 2013 (edited) Hello everyone! using Prestashop 1.4.7.0 Is there a way to hide the product price ONLY in the newproducts page (newproducts.php) I appreciate any advice you can give us! thanks in advance! Edited March 27, 2013 by namelesshachi (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted March 23, 2013 Share Posted March 23, 2013 yes it is possible in this case you must edit new-products.tpl template file (.tpl) located in /themes/your_theme/ directory i suggest you to create new product-list.tpl file, for example product-list2.tpl with content from original one. Then edit it and remove/hide or what you want $product.price (tax_excl/tax_incl) Link to comment Share on other sites More sharing options...
namelesshachi Posted March 25, 2013 Author Share Posted March 25, 2013 yes it is possible in this case you must edit new-products.tpl template file (.tpl) located in /themes/your_theme/ directory i suggest you to create new product-list.tpl file, for example product-list2.tpl with content from original one. Then edit it and remove/hide or what you want $product.price (tax_excl/tax_incl) Thank you Veika.,.... but, my new-products.tpl has no price information anywhere, here... {capture name=path}{l s='New products'}{/capture} {include file="$tpl_dir./breadcrumb.tpl"} <h1>{l s='New products'}</h1> {if $products} {include file="$tpl_dir./product-sort.tpl"} {include file="$tpl_dir./product-list.tpl" products=$products} {include file="$tpl_dir./pagination.tpl"} {else} <p class="warning">{l s='No new products.'}</p> {/if} i don't know if there is somewhere else where i could look. thanks! Link to comment Share on other sites More sharing options...
namelesshachi Posted March 27, 2013 Author Share Posted March 27, 2013 oh... i understand now, Vekia's explanation was a little weird for me, sorry. should be something like this: copy product-list.tpl and rename it (product-list2.tpl) edit product-list2.tpl commenting out or deleting the price. edit new-products.tpl changing in to the product-list2.tpl that should work, i'm going to try it! thanks Link to comment Share on other sites More sharing options...
vekia Posted March 27, 2013 Share Posted March 27, 2013 sorry i don't saw that you reply for me here it should work for you, if so - please let me know about that :-) Link to comment Share on other sites More sharing options...
namelesshachi Posted March 27, 2013 Author Share Posted March 27, 2013 It worked, thank you so much! Link to comment Share on other sites More sharing options...
evanderek Posted August 9, 2013 Share Posted August 9, 2013 vekia thnx for your help earlier, But i didnt get this topic quite well, i wanna hide the price in one of my products options, so is it possible to hide the product for that product or that category only ? 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