Support » Plugin: WooCommerce Square » digital wallet on single product pages

  • Resolved lindsayLu

    (@lindsaylu)


    I’ve added the new feature to allow digital wallet payments, but I’d like to hide them from the single product pages. I tried using the code below but it does not work. Why is the default to have them on the single pages, I’d only like them on the checkout page. Thank you!

    .product-template-default #wc-square-digital-wallet{
    display: none;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Aashik P. a11n

    (@aashik)

    Hi there!

    Why is the default to have them on the single pages

    That’s because the feature is intended to enable faster checkouts right from the product page.

    Can you try if the following snippet works?

    .single-product div#wc-square-digital-wallet {
        display: none !important;
    }

    If you’d rather have this as an option in the core extension, I’d recommend posting it as a feature request. You can do that by adding your request as an idea to the Ideas Board https://ideas.woocommerce.com/forums/133476-woocommerce?category_id=175794 – This is where developers go to look for future plugin features and improvements.

    Thread Starter lindsayLu

    (@lindsaylu)

    Thank you, that code it is. I will also add my request to the list.

    Plugin Support Aashik P. a11n

    (@aashik)

    Thank you, that code it is. I will also add my request to the list.

    That’s great to hear! Thanks for letting us know.

    I’ll mark this topic as solved for now. Please feel free to open a new topic if you have any other questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.