Shipping Rules by Role - Hide WooCommerce Shipping Methods & Payment Gateways by User Role (Blocks Compatible)

by WooPlugins

The free WooCommerce plugin to show or hide shipping methods and payment gateways based on the customer's user role. Wholesale, VIP, B2B, Subscriber, Distributor, Guest - any WordPress role. Works on both the classic shortcode checkout AND the new WooCommerce Cart/Checkout blocks. Two logic modes per rule: hide-these or show-only-these. Per-zone method instance targeting. HPOS compatible. Zero external calls. A polished free alternative to the $79/year Conditional Shipping and Payments extension.

This plugin is fully compatible with the WooCommerce Cart & Checkout blocks - a customizable, conversion-optimized checkout experience.

    Hide or show WooCommerce shipping methods and payment gateways per user role - free, and it works on the block checkout too.

    WooCommerce shipped the new block-based Cart and Checkout in 2023 and broke most of the old conditional-shipping plugins overnight. The official Conditional Shipping and Payments extension from WooCommerce is $79/year with no drag-drop rule builder. QuadLayers Checkout Manager is explicitly incompatible with WC 8.3+ blocks. SkyVerge/GoDaddy Checkout Add-Ons never made the jump. Fluid Checkout falls back to shortcode at runtime. Everyone else costs money or forces you into a modified checkout.

    Why Shipping Rules by Role beats the alternatives: Shipping Rules by Role uses the standard WooCommerce PHP filters (woocommerce_package_rates and woocommerce_available_payment_gateways) that fire for both the classic shortcode checkout AND the new block-based Cart/Checkout blocks - no JS compatibility shim, no runtime fallback, no modified checkout. One plugin, both surfaces, zero configuration to switch between them. Free forever.

    Block-checkout native + HPOS compatible

    Full compatibility with the WooCommerce Cart and Checkout blocks (declared via FeaturesUtil). HPOS-native (declared for custom order tables). Works with WooCommerce Subscriptions, Bookings, Memberships, and every other extension that uses the standard WC shipping and payment APIs.

    What you get for free

    • Role-based shipping visibility - hide or show any shipping method (per-zone instance like flat_rate:3, or entire method type) based on user role.
    • Role-based payment gateway visibility - hide or show Cash on Delivery, Cheque, Stripe, PayPal, or any gateway based on role.
    • Two logic modes per rule - Hide these (customer sees everything else) or Show only these (customer sees only what you check).
    • Per-zone method instance targeting - hide a $5 Flat Rate in Zone 1 but keep the same Flat Rate in Zone 2.
    • Guest checkout support - configure a pseudo-role slug for not-logged-in customers.
    • Enable/disable rules without deleting - great for testing rule changes.
    • Multi-role handling - rule fires when the customer belongs to ANY of the selected roles.
    • Zero third-party services - all rule evaluation happens inside WordPress. No external API calls.

    New to per-role shipping? Read the full walkthrough and plugin comparison: WooCommerce shipping rules by role (2026 guide).

Description

Hide or show WooCommerce shipping methods and payment gateways per user role - free, and it works on the block checkout too.

WooCommerce shipped the new block-based Cart and Checkout in 2023 and broke most of the old conditional-shipping plugins overnight. The official Conditional Shipping and Payments extension from WooCommerce is $79/year with no drag-drop rule builder. QuadLayers Checkout Manager is explicitly incompatible with WC 8.3+ blocks. SkyVerge/GoDaddy Checkout Add-Ons never made the jump. Fluid Checkout falls back to shortcode at runtime. Everyone else costs money or forces you into a modified checkout.

Why Shipping Rules by Role beats the alternatives: Shipping Rules by Role uses the standard WooCommerce PHP filters (woocommerce_package_rates and woocommerce_available_payment_gateways) that fire for both the classic shortcode checkout AND the new block-based Cart/Checkout blocks - no JS compatibility shim, no runtime fallback, no modified checkout. One plugin, both surfaces, zero configuration to switch between them. Free forever.

Block-checkout native + HPOS compatible

Full compatibility with the WooCommerce Cart and Checkout blocks (declared via FeaturesUtil). HPOS-native (declared for custom order tables). Works with WooCommerce Subscriptions, Bookings, Memberships, and every other extension that uses the standard WC shipping and payment APIs.

What you get for free

  • Role-based shipping visibility - hide or show any shipping method (per-zone instance like flat_rate:3, or entire method type) based on user role.
  • Role-based payment gateway visibility - hide or show Cash on Delivery, Cheque, Stripe, PayPal, or any gateway based on role.
  • Two logic modes per rule - Hide these (customer sees everything else) or Show only these (customer sees only what you check).
  • Per-zone method instance targeting - hide a $5 Flat Rate in Zone 1 but keep the same Flat Rate in Zone 2.
  • Guest checkout support - configure a pseudo-role slug for not-logged-in customers.
  • Enable/disable rules without deleting - great for testing rule changes.
  • Multi-role handling - rule fires when the customer belongs to ANY of the selected roles.
  • Zero third-party services - all rule evaluation happens inside WordPress. No external API calls.

New to per-role shipping? Read the full walkthrough and plugin comparison: WooCommerce shipping rules by role (2026 guide).

Reviews

There are no reviews yet.

Be the first to review “Shipping Rules by Role - Hide WooCommerce Shipping Methods & Payment Gateways by User Role (Blocks Compatible)”

Your email address will not be published. Required fields are marked *