This is an info Alert.
x402 Logo
  • Product
    • Become Agent-Ready
      • Merchants
        Agentic Commerce — list your store across ChatGPT, Gemini, Claude & Perplexity
      • Publishers
        Monetize your content when AI agents read, cite, or train on it
      • SaaS Companies
        Treat AI agents as first-class customers with agent-priced checkout
    • Monetize
      • Monetize MCP Server
        Charge per call on any MCP server in 2 minutes
      • Monetize AI Agents
        Turn n8n, Zapier, Activepieces workflows into revenue
      • Agent Feed
        Pay-per-query access to licensed publisher content for your agents
  • Resources
    • xpay Ecosystem
      • xpay✦ Tools
        1,000+ pay-per-use tools for your AI agents
      • Agent-Ready SaaS Index
        25,481 SaaS scored on agent-buyability
      • SaaS Pricing Database
        Pricing pages indexed across 1,000+ categories
      • Shopify Apps Directory
        Every Shopify app, with its full review history
      • WooCommerce Plugins Directory
        Every WooCommerce plugin, scored on how well it is maintained
      • GitHub
        Open source repositories
    • Agent Building
      • Agent Frameworks
        AI frameworks for building multi-agent systems
      • x402 Integration
        AI frameworks with x402 payment integration
      • Networks
        Blockchain networks supporting x402
    • Company
      • About xpay✦
        Our mission, products, and protocols
      • Blog
        Latest insights and updates
      • Docs
        Complete xpay documentation
  • Pricing
  • Blog
  • Docs
Get Started
  1. xpay✦ Commerce

  2. Directory

  3. WooCommerce plugins

  4. Advanced Shipping Rules For WooCommerce

Advanced Shipping Rules For WooCommerce

Add conditional shipping fees in WooCommerce based on cart weight, item count, and cart total — no coding needed.

10+ active installsFree on WordPress.org
View on WordPress.orgSupport forum
Will this break my store?

What the WordPress.org registry says about keeping Advanced Shipping Rules For WooCommerce running.

WordPress compatibility
Tested to 7.0.2
Tested against the WordPress branch in use today.
Last updated
1 month ago
At least 2.8 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.
Requires PHP
7.4
Your host must be running at least this version.
Requires WordPress
5.6
Requires other plugins
woocommerce
These must be installed and active first.
Contributors
1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.

10+ active installsWordPress.org reports installs in bands, not exact counts.
Maintenance & trust

Scored on how Advanced Shipping Rules For WooCommerce is looked after — not on how many stores run it.

Well maintained
Not enough public feedback to put a confident number on this one. Little public feedback — score rests mostly on release activity. What we can see is below.

Maintenance
35 / 35
Updated 36 days ago.
WordPress compatibility
20 / 20
Tested to WP 7.0.2 (current).
Support responsiveness
Not enough data
Only 0 support thread(s) — not enough to judge.
Merchant satisfaction
Not enough data
No ratings yet.
Listing transparency
10 / 10
Provides: screenshots, description, homepage
2 of 5 measures had too little evidence to score. They are left out of the total rather than counted as zero — otherwise a plugin would be marked down for being small rather than for being poorly kept.Measured 2026-08-01 from the WordPress.org plugin registry.
Ratings

No one has rated this plugin on WordPress.org yet. That is a statement about the ratings page, not about the plugin — plenty of well-kept plugins never collect them.

Stop losing money on shipping costs — take full control of your WooCommerce shipping fees.

Advanced Shipping Rules For WooCommerce lets you create smart, conditional shipping rules that automatically apply extra fees based on what’s actually in the cart: total weight, number of items, or subtotal. Define as many conditions as you need, combine them with AND/OR logic, and let the plugin handle the rest at checkout — no developer required.

Whether you run a small shop or a high-volume store, getting shipping costs right is critical for both profitability and customer satisfaction. This plugin gives you the precision tooling you need.

Who is this for?

  • Store owners shipping heavy or bulky goods who need to recover real carrier surcharges for overweight shipments.
  • Shops with variable order sizes that want to add a handling fee when orders fall below a minimum quantity or total.
  • Multi-zone stores that need location-specific fee logic on top of WooCommerce’s native shipping zones.

How it works

The plugin adds a new shipping method — Advanced Shipping Rules — directly inside WooCommerce’s native shipping zones. You configure groups of conditions for each zone. When a customer’s cart matches a group, the defined extra fee is applied. Multiple groups use OR logic; conditions inside a group use AND logic. The highest matching fee wins, so you stay in control even when several rules could apply.

Key benefits

  • Accurate cost recovery: charge the real extra cost for heavy, bulky, or high-value orders instead of absorbing losses.
  • Fewer abandoned carts: transparent, rules-based fees at checkout are more trustworthy than flat-rate surprises.
  • Zero code: every rule is configured from the WooCommerce admin — no PHP, no hooks, no child theme edits.
  • Non-destructive: works alongside flat rate, free shipping, and any other method in the same zone.
  • Multiple instances: add the method more than once in a zone for layered fee structures.
  • Performance-friendly: no front-end scripts or styles are loaded; all logic runs only during cart/checkout calculation.

Available condition types

Condition
Operators

Cart total (subtotal)
equal to, less than, less than or equal to, greater than, greater than or equal to

Total cart weight
equal to, less than, less than or equal to, greater than, greater than or equal to

Number of products
equal to, less than, less than or equal to, greater than, greater than or equal to

Extensible by developers

Three WordPress filters let you add custom condition types, evaluation handlers, and adjust the final shipping cost without modifying plugin files:

  • asrfwoo_condition_types — register new condition type definitions (description, operators, input type, step)
  • asrfwoo_condition_handlers — register the evaluation logic for each condition type
  • asrfwoo_shipping_cost — filter the final computed cost before it is passed to WooCommerce

Example: add a custom condition type based on the number of unique product categories in the cart.

add_filter( 'asrfwoo_condition_types', function( $types ) {
    $types['category_count'] = array(
        'description' => 'Number of Categories',
        'operators'   => array(
            'greater_than'          => 'Greater than',
            'greater_than_or_equal' => 'Greater than or equal to',
            'less_than'             => 'Less than',
            'less_than_or_equal'    => 'Less than or equal to',
            'equal'                 => 'Equal to',
        ),
        'placeholder' => 'Enter category count',
        'input_type'  => 'number',
        'step'        => '1',
    );
    return $types;
} );

add_filter( 'asrfwoo_condition_handlers', function( $handlers ) {
    $handlers['category_count'] = function( $operator, $value, $cost, &$group_cost, &$is_condition_met, $cart_weight, $cart_items, $cart_total ) {
        $categories = array();
        foreach ( WC()->cart->get_cart() as $item ) {
            $terms = get_the_terms( $item['product_id'], 'product_cat' );
            if ( $terms ) {
                foreach ( $terms as $term ) {
                    $categories[ $term->term_id ] = true;
                }
            }
        }
        $count = count( $categories );
        if ( ( $operator === 'greater_than'          && $count > (int) $value ) ||
             ( $operator === 'greater_than_or_equal' && $count >= (int) $value ) ||
             ( $operator === 'less_than'             && $count < (int) $value ) ||
             ( $operator === 'less_than_or_equal'    && $count <= (int) $value ) ||
             ( $operator === 'equal'                 && $count === (int) $value ) ) {
            $is_condition_met = true;
        }
    };
    return $handlers;
} );

HPOS compatible: fully tested with WooCommerce High-Performance Order Storage.

How to Use

  1. Open the method settings after adding it to a shipping zone.
  2. Click Add Group to create a rule group.
  3. Inside the group, click Add Condition and choose a condition type (weight, item count, or cart total), an operator, and a threshold value.
  4. Add more conditions to the same group (all must match — AND logic) or add a second group (either group can match — OR logic).
  5. Set the Shipping Cost for each group in the group footer — this is the fee applied when all conditions in that group pass.
  6. Click Save changes. The fees will be applied automatically at checkout when the cart meets the defined conditions.

Example setups

  • Charge €4 when total cart weight is between 0 and 2 kg; €9 between 2 and 8 kg; €16 above 8 kg.
  • Charge €3 extra when the order contains fewer than 3 items.
  • Charge €10 extra when cart total is below €50 AND weight exceeds 10 kg.

License

This plugin is released under the GPL-2.0+ license.

Does this plugin replace WooCommerce’s built-in shipping methods?

No. It adds a new method that you place inside a shipping zone alongside flat rate, free shipping, or any other method. Each method calculates independently.

Can I use multiple instances of this method in one zone?

Yes. Add the method more than once to a zone to layer different fee rules for the same geographic area.

Does it work with WooCommerce shipping classes?

The free version evaluates cart-wide totals (weight, item count, subtotal), not per-product or per-class values.

Can I combine conditions with AND and OR logic?

Yes. Conditions within a single group are AND-ed (all must pass). Multiple groups are OR-ed (any matching group triggers its fee). The highest fee across all matching groups is applied.

Will this slow down my store?

No. The plugin loads no front-end assets. The condition evaluation runs only during WooCommerce’s shipping calculation phase.

Is it compatible with High-Performance Order Storage (HPOS)?

Yes. The plugin is fully HPOS compatible and does not rely on legacy order meta tables.

The method shows a €0 fee — why?

A fee is only added to the cart when at least one group matches and its Shipping Cost (set in the group footer) is greater than zero. Check that the cost is saved on each group, that your condition values are correct, and that the active cart meets the thresholds you set. Also verify that your product weights are defined under Product data → Shipping — if weight is 0, weight-based conditions will not trigger.

Categories
Shipping rates & rules
Plugin details
Version1.1.0
Last updated2026-06-26 7:42am GMT
Added2025-03-04
Requires WordPress5.6
Tested up to7.0.2
Requires PHP7.4

Tags on WordPress.org
conditional shipping
extra shipping fee
shipping cost
shipping rules
woocommerce shipping
Alternatives
Other plugins in the same categories.
Weight Based Shipping Table Rate for WooCommerce – Flexible Shipping
100K+ installs
4.9(702)
DHL Shipping Germany for WooCommerce
4K+ installs
4.0(47)
Free Shipping Label and Progress Bar for WooCommerce
5K+ installs
5.0(43)
PiWeb Advanced Flat rate / Conditional shipping for WooCommerce
2K+ installs
4.9(58)
Advanced Shipping Rates for WooCommerce: Flexible Table Rate Shipping Rules
2K+ installs
4.9(49)
Virtuaria Correios – Frete, Etiqueta, Rastreio e Declaração
500+ installs
5.0(19)
x402 Logo

The agent-readiness stack for the AI shopping era — helping merchants, publishers and SaaS companies get discovered, cited and transacted with by ChatGPT, Perplexity, Claude, Gemini and the custom shopping agents underneath them.

CompanyAgentically Inc. (d/b/a xpay✦)1875 Mission St, Ste 103San Francisco, CA 94103, United Stateslegal@xpay.sh · privacy@xpay.sh
or ask your AI app
Company
About xpayAgency PartnersGitHubDiscordllms.txt
DevelopersDocumentationAPI ReferenceSDKs & LibrariesQuickstart GuideOpenAPI Spec
Stay Updated
Occasional product updates and agent-readiness playbooks from xpay (Agentically Inc.) — typically a couple of emails a month. Double opt-in: we email you a link to confirm before sending anything, and every email has one-click unsubscribe.
Social
  • For Publishers
    • News
    • Finance
    • Dev / Tech
    • Travel
    • View all verticals
  • Agent Feed
    • AI Search Engines
    • RAG Builders
    • Browser Agents
    • Vertical Research
    • Browse full catalog
  • Agent-Ready Index
    • SaaS Pricing Database
    • Agent-Ready SaaS Index
    • Verified band
    • AI & ML
    • Sales & CRM
  • Products
    • Pricing Widget
    • Monetize MCP Server
    • Paywall
    • Smart Proxy
    • Monetize AI Agents
    • xpay x402 Facilitator
  • Agentic Economy
    • Timeline
    • Resources
    • Manifesto
    • Stack
  • Agentic Commerce
    • Get listed
    • ChatGPT Ads
    • How ChatGPT Ads work
    • ChatGPT Ads · Apparel
    • ChatGPT Ads · Health & Beauty
    • xpay Listings · Amazon + Google
    • Pricing
    • Free audit
    • Shopify
    • WooCommerce
    • Apparel & Accessories
    • Health & Beauty
    • Overview
  • Commerce Index
    • Shopify apps directory
    • Agentic Commerce Ready Index
    • Methodology
    • Pet brands · WooCommerce
    • Pet brands · Shopify
  • Marketplace
    • 🛍️ xpay.deals — agentic storefront for deals
  • Protocols
    • Overview
    • x402
    • MPP
    • UCP
    • ACP
    • AP2
    • TAP
    • A2A
  • Agent Frameworks
    • Overview
    • LangChain
    • CrewAI
    • Claude MCP
    • AutoGPT
    • LangChain vs Mastra
    • LangGraph vs Pydantic AI
  • Company
    • About xpay
    • Blog
    • Docs
    • GitHub
  • Free prompts
    • Ecommerce prompts
    • Email marketing prompts
    • Product description prompts
    • Facebook ad prompts
    • Skincare prompts
    • Supplement prompts
    • Wine prompts
    • Electronics prompts

© 2025 Agentically Inc. All rights reserved.
Privacy PolicyTerms of UseAcceptable Use Policy