Hey,
How are you adding the button? And where are you adding it? Can you post a link?
Hannah
It is added in the order-processing-email from woocommerce when the customer has chosen paypal and it is a pay now button link. it is hooked in with
add_action( ‘woocommerce_email_before_order_table’, array( $this, ’email_pay_now_button’ ), 0, 1 );and in the html it looks like
pay now
and when I use
.button.custom-button:before{content:”My text;”}
it does not work. You can probably add text by using the same hook but my knowledge in PHP is limited.
I don’t think doing this with css would be the best way. Can you tell me what file the email_pay_now_button is in woocommerce? I’m not seeing it?
Kadence Themes