Hi @mjthehunter,
Within the plugin’s settings page you will find a link called Help Center. That link takes you to our documentation website where there is a detailed tutorial on how to customize the templates.
The process for a PayPal button is the same as creating a custom loader or form:
Help Center
Kind Regards,
I’ve read the documentation for the templates, I just don’t really know what to modify for using a button of my own.
Hi @mjthehunter,
To use your own button you can simply modify one of the existing buttons. So copy the button into your theme’s woo-payment-gateway folder and then make the modifications, such as replacing the <img> tag with a link to your button url. If you aren’t comfortable creating css and html on your own then we recommend you use one of the existing button designs delivered with the plugin. Modifying the templates is for merchants that have some existing design experience or a developer.
Kind Regards,
At the moment I’ve ended up replacing the img path within one of the buttons This however means that when I update the plugin I need to replace that path again. When I follow the guide and put it in my own woo-payment-gateway folder, nothing happens.
Hi @mjthehunter,
It looks like you have found a bug. Thank you for bringing this to our attention. Expect a fix in the next release.
Thanks,
-
This reply was modified 9 years, 1 month ago by
Clayton R.
-
This reply was modified 9 years, 1 month ago by
Clayton R.
Ah okay, that makes sense. Just to confirm for the next release then.
I’ve created a folder here:
/wp-content/themes/myTheme/woo-payment-gateway/paypal
within that folder I’ve placed a modified version of:
paypal-button-yellow.php
After the update that should read the folder correctly?
Hi @mjthehunter,
Yes after the update that folder will be read, which will include your PayPal button. The reason your PayPal button is not loading is the PayPal load file is performing an include rather than fetching the template.
Thanks,
-
This reply was modified 9 years, 1 month ago by
Clayton R.
-
This reply was modified 9 years, 1 month ago by
Clayton R.
Issue resolved with release of version 2.6.8.
Kind Regards,