Closed estepix closed 8 years ago
Hi,
Please, feel free to add this feature to the plugin. You could make a pull request once you have added the feature. I will be pleased to add it to the plugin.
Kind regards,
El lun, 10-03-2014 a las 12:03 -0700, estepix escribió:
Hi Jesús,
It would be great if we could choose the image that we want to appear next to the payment method when we are on the checkout page.
Ideally, this should be an option in the backend where we could upload the image we want to use or, if it's too much hassle for you I would suggest inserting a filter hook in:
woocommerce-sermepa-payment-gateway/wc_sermepa_payment_gateway.php
$this->icon = home_url() . '/wp-content/plugins/' . dirname( plugin_basename( FILE ) ) . '/assets/images/icons/sermepa.png';
If you need a hand developing this, please let me know how I can help you. I'm a Wordpress developer myself and used to work with subversion/git, etc.
— Reply to this email directly or view it on GitHub.
Hi Jesús,
It would be great if we could choose the image that we want to appear next to the payment method when we are on the checkout page.
Ideally, this should be an option in the backend where we could upload the image we want to use or, if it's too much hassle for you I would suggest inserting a filter hook in:
woocommerce-sermepa-payment-gateway/wc_sermepa_payment_gateway.php
$this->icon = home_url() . '/wp-content/plugins/' . dirname( plugin_basename( __FILE__ ) ) . '/assets/images/icons/sermepa.png';
If you need a hand developing this, please let me know how I can help you. I'm a Wordpress developer myself and used to work with subversion/git, etc.