Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1336665
    newskywebsites
    Participant

    Hi there, I’m afraid to ask this because I’m worried the answer will require editing php, which I’m not good at and seems like when I do it breaks something… but my customer wants the “Company Name” field removed from their Woocommerce Checkout page. Is there an easy way to do that aside from the $49 plugin woo sells? See screenshot if needed.

    Site: https://benfranklincraftswi.com
    Latest version of WP, X (renew), child theme, Cornerstone.

    Thanks!
    Dawn

    #1336807
    Rupok
    Member

    Hi Dawn,

    Thanks for writing in! It would require the changes in WooCommerce template files as it’s set by WooCommerce. But it’s not a required field, so you can hide with CSS. I can’t see any product to get into the cart or checkout page, so can’t provide the code.

    Cheers!

    #1337814
    newskywebsites
    Participant

    Thank you, the only “products” are events on the calendar that can be signed up for using the EventON plugin. See video on how to get to checkout page from live site: http://screencast-o-matic.com/watch/cbVYfxQJbE

    Once an event is in the cart, the link is: https://benfranklincraftswi.com/checkout/

    I hope that helps!
    Dawn

    #1337897
    Rupok
    Member

    Hi Dawn,

    Thanks for updating. You can try adding this under Custom > CSS in the Customizer.

    .woocommerce-account form .form-row, .woocommerce-checkout form .form-row#billing_company_field {
      display: none;
    }

    Cheers!

    #1338391
    newskywebsites
    Participant

    Perfect!! Thanks so much!!!
    Dawn

    #1338513
    Rahul
    Moderator

    Glad we were able to help you out!

    Feel free to ask us again if you have any queries with the theme.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1336665 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>