[Resolved] Paypal image missing on Woocommerce checkout page

  • Author
    Posts
  • #8427

    danny weiss
    Participant

    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.

    #8428

    Andrew Misplon
    Keymaster

    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() . '//puro-4401.kxcdn.com/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.

    #8429

    danny weiss
    Participant

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

    #8430

    Andrew Misplon
    Keymaster

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

    #8459

    danny weiss
    Participant

    Hi,

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

    #8460

    Andrew Misplon
    Keymaster

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

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Scroll to top