In-Person Payments Refresh Banner Q2 2023

[Square] Add the option to turn off Google Pay/Apple Pay on individual product pages

Woocommerce + Square plugin – I would like the option to turn off Google Pay/Apple Pay on product pages, but still have the option on the basket/checkout pages

Autor

Current Status

Offen

Last updated: February 3, 2021

11 Kommentare

Log in to comment on this feature request.

  1. hautecreations says:

    IGNORE MY LAST RESPONSE. It does work. Make sure you activate it.

    add_filter( ‘wc_square_display_digital_wallet_on_pages’, function( $pages ) {
    return array(
    /* ‘product’, // Don’t show Apple Pay and Google Pay on product pages */
    ‘cart’,
    ‘checkout’,
    );
    }, 10, 1 );

  2. hautecreations says:

    Thanks @Petar. It did not work. I copied/pasted from both your writing below and directly from the FAQ.

  3. Petar Cvitanusic says:

    FYI After doing a little bit of digging you can add this to your themes functions.php file https://woocommerce.com/document/woocommerce-square/faq/.

    “`
    add_filter( ‘wc_square_display_digital_wallet_on_pages’, function( $pages ) {
    return array(
    /* ‘product’, // Don’t show Apple Pay and Google Pay on product pages */
    ‘cart’,
    ‘checkout’,
    );
    }, 10, 1 );
    “`

  4. Erin says:

    I found a solution for my situation. I want to use Square only, but Google Pay was showing up. I went to WooCommerce, Settings, Payments, scrolled down to Square and clicked “Manage”, then UN-CLICKED “Enable Digital Wallets”, which was showing the Google Pay option. Hope this helps.

  5. Massimo says:

    Hello,
    same question :
    We want Apple Pay with stripe on our website
    But HIDE de Apple Pay button ONLY on each product page?
    Best regards

  6. hautecreations says:

    Is there seriously still no answer to this?

  7. honeyjoyco says:

    Is there a setting for this yet??? ( turn off Google Pay/Apple Pay on individual product pages)

  8. FL Custom Flags says:

    did you find a solution for this?

  9. paco says:

    I JUST FIGURED IT OUT on your dashboard go to:
    WOOCOMMERCE>>SETTINGS>>PAYMENTS>>WOOCOMMERCE PAYMENTS MANAGE BUTTON>>CLICK THE BOX THAT SAYS “Enable payment request buttons (Apple Pay, Google Pay, and more).
    By using Apple Pay, you agree to Stripe and Apple’s terms of service.”

    It will remove the google button and apple buttons

  10. carla says:

    Thank you PACO!!!!

  11. Russ Castella says:

    This is ridiculous. There should be an option to remove these buy buttons from single product pages. They should stay on the checkout, but OFF from single pages.

  • 30-day money-back guarantee
  • Support teams across the world
  • Safe and secure online payment