jmeca Posted November 21, 2020 Posted November 21, 2020 Hello, I would like to add images or text after the product images, but I've been going around for a while and I can't do it, someone can help me, please Thank you very much for your time
Wartin Posted November 22, 2020 Posted November 22, 2020 12 hours ago, jmeca said: Hello, I would like to add images or text after the product images, but I've been going around for a while and I can't do it, someone can help me, please You have to edit product.tpl in the theme you are using. If it's Niara, it's located in /themes/niara/product.tpl 1
jmeca Posted March 3, 2021 Author Posted March 3, 2021 On 11/22/2020 at 2:54 AM, Wartin said: You have to edit product.tpl in the theme you are using. If it's Niara, it's located in /themes/niara/product.tpl Yes, this is my problem because i try in to put some code for a new hook in some places but i don't get the rigt place
Wartin Posted March 3, 2021 Posted March 3, 2021 Hooks are something more complex, I thought you were trying to just add some stuff there. I read this thread the other day, I think it's easy to follow: https://www.prestashop.com/forums/topic/403588-calling-value-of-a-function-of-a-module-within-a-file-theme-tpl/ bye!
jmeca Posted March 3, 2021 Author Posted March 3, 2021 Thank you very much for anwser, i want to add new hook in this place for publicity or images in htmlbox module by Vekia or html code
jmeca Posted March 4, 2021 Author Posted March 4, 2021 I have finally succeeded, I attach an image. In case anyone is interested, the position is line 234 of product.tpl of version 1.2 thirtybees. 2
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