Support » Plugin: WooCommerce » Remove/Hide “Estimate for…” On Cart Page

  • Resolved railhead

    (@railhead)


    Another “I promise I searched” question:

    All our products offer flat rate shipping or local pickup only, and we want the rate displayed — but we don’t need the text “Estimate for…(address)” to appear for obvious reasons.

    Is there a code snippet that will hide this text I can implement without having to directly modify the functions file?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Sean Cull

    (@seanreloaded)

    Automattic Happiness Engineer

    Hi there,

    You can remove that “Estimate for…” message by adding the following CSS code at Dashboard > Appearance > Customize > Additional CSS:

    
    .woocommerce-shipping-destination {
        display: none;
    }
    

    A quick solution that’s working is to add:

    .woocommerce-shipping-destination {
    display: none;
    }

    That may be the best route, but wanted opinions…

    Hah, nice — we both posted the same code at the same time. GREAT MINDS, eh?

    Sean Cull

    (@seanreloaded)

    Automattic Happiness Engineer

    @railhead

    Haha! Great minds, indeed!

    It’s the easiest way. The only other way would be to start messing about with writing custom PHP code with conditionals and such. It’s also a fine solution, but in our experience most would prefer the smaller, more elegant solution using a bit of CSS instead.

    I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove/Hide “Estimate for…” On Cart Page’ is closed to new replies.