flowerboy Posted July 14, 2022 Share Posted July 14, 2022 Hi to all I have prestashop default template - 1.7.8.6 I would like to hide the price of the products at front page and at categories pages. Can anyone help me how can I edit the template to make this ? Ive found a solution but its for 1.6 and not working for 1.7. Thanks in advance to all ! Link to comment Share on other sites More sharing options...
ps8modules Posted July 17, 2022 Share Posted July 17, 2022 (edited) ./themes/classic/templates/catalog/_partials/miniatures/product.tpl find: {if $product.show_price} replace to: {if $product.show_price && $page.page_name != 'index' && $page.page_name != 'category'} Edited July 17, 2022 by 4you.software (see edit history) Link to comment Share on other sites More sharing options...
flowerboy Posted July 17, 2022 Author Share Posted July 17, 2022 Thanks for your comments, while it worked on the HOME PAGE (index) its giving me error 500 on categories, do you know how to solve it? Link to comment Share on other sites More sharing options...
ps8modules Posted July 18, 2022 Share Posted July 18, 2022 Hi. What I can't see I can't solve. You need to turn on debug mode and put an error here. 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