Jump to content

best way to replace an image in payment module when developing a template


Recommended Posts

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

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
×
×
  • Create New...