• Resolved Tishina

    (@gkaralov)


    Hello,

    My shop offers only the standard payment method – paying to a courier after being handled and inspecting your delivery.

    However, can the method of payment be hidden on the checkout page? It’s self-explanatory how payment is done to the customers when they pick the shipping options of their like – shippment to office of a courier or to a personal address.

    Don’t want to stack the checkout with redundant information so the goal is to hide the information of cash on delivery.

    Cheers!

    • This topic was modified 6 years, 7 months ago by Tishina.
    • This topic was modified 6 years, 7 months ago by Tishina.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi there!

    So from what I understand, you’d like to show only the price, without the name of the shipping method?

    If you can share with us your site URL, we can take a look at it for you, as this should be doable with some CSS code.

    Thread Starter Tishina

    (@gkaralov)

    Hi,

    Exactly. This is the website.

    This is the text I want to be missing from the Checkout page.

    • This reply was modified 6 years, 7 months ago by Tishina.

    Hi there,

    Many thanks for the clarification! To hide this text, you can use the following CSS code:

    .wc_payment_method payment_method_cod {
      display: none;
    }

    The CSS goes in at:

    Dashboard > Appearance > Customize > Additional CSS

    I hope it helps!

    • This reply was modified 6 years, 7 months ago by maolszewska.
    Thread Starter Tishina

    (@gkaralov)

    Hi @maolszewska,

    Tried but it didn’t work :>

    Regards.

    Just a dot missing, try this revised custom css:

    .wc_payment_method.payment_method_cod {
      display: none;
    }
    Thread Starter Tishina

    (@gkaralov)

    Boom. Thank you ??

    Luminus Alabi

    (@luminus)

    Automattic Happiness Engineer

    @gkaralov,

    Glad to hear you got it working the way you want. I’ll go ahead and mark this as resolved now.

    Huge thanks to @maolszewska and @lorro for the tag team effort.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Hiding The Payment Method’ is closed to new replies.