Remove Company Name Field

Design Tips- Last updated Nov 2, 2016

If you sell almost exclusively to individuals and you would like to remove the "company name" field that is part of the credit card payment section on the checkout screen, you can add the JavaScript below to the "text at the bottom of the shipping screen" text field found under Commerce > Order System > Shipping, to remove the "Company Name" field.

<script type="text/javascript">
document.getElementById('E_pay3').parentNode.style.display = "none";
document.billing.pay3.parentNode.style.display = "none";
</script>