How to Add User-Specific Hide Shipping Rules in WooCommerce

In some cases, you may want to show different shipping methods to different users. For example, store staff, wholesalers, or contributors may need limited shipping options compared to regular customers.

User-specific hide shipping rules let you hide or show shipping methods based on user roles or individual users. This helps you control shipping behavior without affecting the experience for other customers.

User role specific hide shipping
User specific hide shipping

When should you use user-specific hide shipping rules?

This feature is useful when:

  • Certain user roles require special delivery options
  • Internal users regularly visit your physical store
  • Wholesale or staff users should not see standard shipping methods
  • You want tighter control over shipping visibility per user

Example use case

You want contributors to use only the Local Pickup option because they often visit your physical store.

In this case:

  • User Role: Contributor
  • Allowed Shipping Method: Local Pickup
  • Hidden Shipping Methods: All others (Flat Rate, Free Shipping, Express, etc.)

Once configured, contributors will see only Local Pickup at checkout, while other users continue to see normal shipping options.


How to configure user-specific hide shipping rules

Step 1: Go to Hide Shipping Method Rules

  • Open your WordPress dashboard
  • Navigate to WooCommerce → Hide Shipping Method Rules

Step 2: Add a New Rule

  • Click Add New Rule
  • Enter a clear rule name (e.g., Contributor – Local Pickup Only)

Step 3: Choose the User-Specific Condition

  • Select User Role or Specific User as the condition

    Choose:

    • User Role: Contributor
    • OR
    • Specific User: Select individual users

Step 4: Select Shipping Methods to Hide

  • Choose all shipping methods you want to hide
  • Leave Local Pickup unselected so it remains visible

Step 5: Save the Rule

  • Save the settings
  • Test by logging in as a contributor user

Only Local Pickup should appear at checkout.

User role or user based hide shipping rule
User specific hide shipping rules

Why use user-specific shipping rules

  • Keeps checkout clean and relevant
  • Prevents incorrect shipping selections
  • Improves internal workflow for staff and contributors
  • No coding required
  • Fully automated based on user role or login status
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.