• Resolved chrishd06

    (@chrishd06)


    I would like to, uncheck the shipping option and payment method – How can i do that ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Saif

    (@babylon1999)

    Hello @chrishd06,

    If I understand you correctly, you want to de-select the default shipping and payment methods on checkout. You can start with this guide.

    You can add the snippet to your functions.php file or use a plugin like Code snippet.

    Hope it helps!

    Thread Starter chrishd06

    (@chrishd06)

    actually, I’ve already tried this one but it did not work, maybe its outdated ?

    Saif

    (@babylon1999)

    The shipping hook works fine on my test site. As for this hook 'pre_option_woocommerce_default_gateway' , you’re right it was deprecated a long time ago.

    According to this thread, there is no new hook to work with. I advise you to check the JavaScript workarounds provided there.

    Cheers!

    Thread Starter chrishd06

    (@chrishd06)

    Great thank you!
    in the payment method – do you know if its possible to have NOT JUST the radio buton/or the text like (pay with card) that extends the “form” but the WHOLE button?

    https://snipboard.io/TBNA74.jpg

    Hi @chrishd06

    in the payment method – do you know if its possible to have NOT JUST the radio buton/or the text like (pay with card) that extends the “form” but the WHOLE button?

    https://snipboard.io/TBNA74.jpg

    I apologize as I don’t understand your issue here. Can you please share with us the URL or the link to your checkout page so that we could check this further?

    Hi @chrishd06 ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – feel free to create a new topic  should you need any further help.

    Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Clear default shipping and payment options on cart/checkout page.’ is closed to new replies.