Jump to content

Trying to add text under price on product page


Alex Santos
 Share

Recommended Posts

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

Share this post


Link to post
Share on other sites

If you change anything in any tpl file, you must delete Prestashop Cache.
Settings -> Performance.

Share this post


Link to post
Share on other sites

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 by Alex Santos (see edit history)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More