Resolved

Paypal image missing on Woocommerce checkout page

Polestar Theme started by danny weiss Dec 11, 2017 5 replies
danny weiss Dec 11, 2017 · 7:24 pm #8427

Hello, great people from Puro!

As the title says, instead of the Paypal image on the checkout page, I can only see a text: “Paypal acceptance mark”. Here’s a screenshot so you can get an idea about this issue: https://imgur.com/a/X1Uyr.
The website is http://fromkitchenwithlove.com. I’m using a child theme for Polestar and when I switch to the original theme or any other theme, the Paypal image is properly displayed.

Andrew Misplon Puro Dec 12, 2017 · 3:02 am #8428

Hi Danny

Thanks for reaching out. So sorry for the hassle. I see the problem. Unfortunately, I can only have an update out on Thursday to fix this. If you’d like to fix this right away you could add to your child theme functions.php file:

if ( ! function_exists( 'polestar_woocommerce_paypal_icon' ) ) :
/**
 * Add a consistent PayPal icon.
 */
function polestar_woocommerce_paypal_icon( $url ) {
	return get_template_directory_uri() . '/woocommerce/images/paypal-icon.png';
}
endif;
add_filter( 'woocommerce_paypal_icon', 'polestar_woocommerce_paypal_icon' );

And then remove that function once the next update is out, although it won’t matter if you leave it, it’s just neater to remove it.

Thanks for reporting this, appreciate the help.

danny weiss Dec 12, 2017 · 5:18 pm #8429

No problem, I can wait until Thursday, there’s no hurry. Thank you for providing the temporary code!

Andrew Misplon Puro Dec 13, 2017 · 4:27 pm #8430

For sure. Will have that update out ASAP. Thanks again.

danny weiss Dec 16, 2017 · 3:02 pm #8459

Hi,

I just wanted to let you know that after the recent theme update the issue was fixed. Thank you!

Andrew Misplon Puro Dec 16, 2017 · 3:08 pm #8460

Awesome 🙂 Thanks for letting me know. Chat soon. Cheers!

6 posts