Checkpost

How to make the company field required for wholesale customers on Shopify

Short answer: Require a company name in the shipping address when a wholesale customer checks out, keeping invoices and deliveries accurate. In Checkpost, choose “Require company name for wholesale” from Templates, adjust the values, test it, then save and enable the rule.

The problem

Wholesale deliveries to a business without its company name on the label get misrouted or refused, and invoices without a company name cause accounting headaches.

How to set it up

  1. Install Checkpost from the Shopify App Store.
  2. Open Templates and choose Require company name for wholesale.
  3. Set your wholesale customer tag.
  4. Use Try this rule to test a sample cart, then click Save rule.

The rule

Checkout is blocked when all of these conditions are true:

Shoppers see: “Please add your company name to the shipping address.” at the company field, once they reach checkout.

Rule definition (JSON)
{
  "name": "Company required for wholesale",
  "match": "all",
  "conditions": [
    {
      "kind": "customer_tag",
      "op": "has_any",
      "tags": [
        "wholesale"
      ]
    },
    {
      "kind": "text",
      "field": "ship_company",
      "op": "is_empty",
      "values": []
    }
  ],
  "message": "Please add your company name to the shipping address.",
  "target": "company",
  "runOn": "checkout"
}

Where this rule works

These are cart and checkout validations, including supported accelerated checkouts. They are current-cart policies; they do not track previous purchases of a SKU. Shopify excludes POS, recurring subscription orders and native pre-order/Try Before You Buy flows from this API. See Shopify's validation compatibility.

Tips

FAQ

Can I make the company field required for everyone?

Shopify's checkout settings can make company name required for all customers. Use this rule to require it only for certain customers.

Does it work with Shopify B2B?

Yes. Swap the tag condition for "Customer is a B2B company buyer".

Related rules

Add require company name for wholesale to your store