Alex Santos Posted June 18, 2021 Share Posted June 18, 2021 Hi community, I'm trying to add text under price but when i write something on tpl file it doesnt appear on product page. Weird thing is that if i delete all content from that tpl file, the product page works fine, but if i delete the tpl file itself the page stops working. Where should i write that text? Trying to add it at: /themes/classic/templates/catalog/_partials/product-prices.tpl Regards Link to comment Share on other sites More sharing options...
Guest Posted June 18, 2021 Share Posted June 18, 2021 If you change anything in any tpl file, you must delete Prestashop Cache. Settings -> Performance. Link to comment Share on other sites More sharing options...
Alex Santos Posted June 18, 2021 Author Share Posted June 18, 2021 (edited) I had bugs from another template i have uploaded and deleted, so as i was early in development, reinstalled store from 0. I added text and then deleted from tpl file, It worked first time then had to delete the cache as you said! It works now as I clean cache!! Thank you very much for you fast response!! Regards and all the best! Edited June 18, 2021 by Alex Santos (see edit history) 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