masterblaster Posted September 12, 2014 Share Posted September 12, 2014 Hello, I am wondering what is the best way to replace an image in a payment module (ie. paypal) when developing a custom template - without intacting the original module functionality (ie. in case of upgrades). To make things clearly: let's suppose to have a module (like paypal) that have its own TPL where the payment image logo is recalled. I would like to replace that image with a custom one that reflect my template style. I tried to copy a custom tpl , and storing my custom image in themes dir, something like : /themes/mytheme/modules/paypal/views/......tpl . /themes/mytheme/modules/paypal/my_logo.jpg thinking that doing so would allow Prestashop to read my custom TPL and bypass the original one. But it didn't work... Any advice is appreciated. Link to comment Share on other sites More sharing options...
misthero Posted September 12, 2014 Share Posted September 12, 2014 what is the tpl exactly? anyway try this path /themes/mytheme/modules/paypal/name_of_tpl_file.tpl directly in paypal folder without views/.. etc.. 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