跳到内容

Smart Flat Rate Shipping for WooCommerce

v1.0.1

WP All Solution · 2026年11月11日 上架

Flat rate shipping for WooCommerce with conditional rules: per-item fees, free-shipping thresholds, product, category and location conditions.

正在使用
10 以下
评分
暂无
累计下载
283
最近更新
2026年11月14日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

截图

Shipping methods list with amounts, status, priority and a readable condition summary.
Shipping methods list with amounts, status, priority and a readable condition summary.
Add/edit method with pricing options and AND/OR condition groups.
Add/edit method with pricing options and AND/OR condition groups.
Test shipping (simulator) result showing which methods match and why.
Test shipping (simulator) result showing which methods match and why.
Diagnostics and help with environment checks.
Diagnostics and help with environment checks.

Read the documentation – setup, conditions, the simulator and troubleshooting. Need help? Contact support.

Smart Flat Rate Shipping is a flexible flat rate shipping plugin for WooCommerce. It adds one shipping method that offers as many flat-rate options as you configure. Each option has a fee, optional conditions and a priority, so you can set up conditional shipping rules (for example by cart total, quantity, product, category or destination) without writing code.

Key features

  • Fixed fee, optional per-item fee, optional “free shipping from” subtotal.
  • Conditions: cart subtotal, cart quantity, products, product categories, destination country, state and postcode.
  • AND inside a group, OR between groups, with a readable summary in the list.
  • Shipping simulator: test a sample cart and destination without a real cart, order, payment or stock change. It uses the same pricing engine as checkout.
  • Diagnostics: environment checks and an optional, bounded log that explains why a method matched or not.
  • Works with WooCommerce shipping zones, taxes, multiple packages and native shipping methods, so it fits into your existing WooCommerce shipping setup. It never hides or changes other methods.
  • Documentation: step-by-step guides for every screen and condition.

How rates are calculated

Cost = base fee + per-item fee x chargeable units. If the eligible subtotal reaches the free-shipping threshold, the cost is 0.

  • Subtotals exclude tax. Coupon discounts are deducted by default (a setting lets you ignore them).
  • Eligible items: for the first matching condition group, the items selected by its “contains any of” product/category conditions; every item if the group has none.
  • Per-item fees count all cart units or only eligible units, as chosen per method.
  • Methods are independent: every matching method is offered, none hides another, and prices are never added together.
  • Location conditions need the customer’s address. Until a value is entered, a location condition does not match (also “is not one of”), so a rate is never shown to the wrong place.
  • Postcodes support exact values, a trailing wildcard (380*) and numeric ranges (380001…380060). Spaces, dashes and case are ignored.

Not included (yet)

Rate tables (table rate shipping style ranges), weight, shipping-class and coupon conditions, formulas, scheduling, import/export, splitting a cost between products. Some of these (weight, shipping class, coupon, role and day/time conditions, tiered range rates by quantity, weight or subtotal, import/export) are provided by the separate Smart Flat Rate Shipping Pro add-on. The free plugin makes no external requests and sends no data anywhere.

For developers

Add-ons can extend the plugin with these hooks: filters sfrs_condition_types, sfrs_evaluate_condition, sfrs_sanitize_condition, sfrs_draft_condition, sfrs_describe_condition, sfrs_context, sfrs_pricing_adjust, sfrs_rule_defaults, sfrs_sanitize_request, sfrs_price_summary, sfrs_admin_tabs; actions sfrs_condition_value_fields, sfrs_form_pricing_rows, sfrs_simulator_fields and sfrs_render_tab_{tab}.

Usage examples

Standard shipping, free over 1000
Base fee 80, free shipping from 1000. Carts with an eligible subtotal of 1000 or more get 0.

Per-item shipping
Base fee 40, per-item fee 10. Three items cost 40 + 3 x 10 = 70.

Express for one state only
Base fee 150, condition: Destination state is one of IN:GJ.

Cheaper shipping for a category
Condition: Product categories contains any of “Books”, per-item fee 5, “Only units of eligible products”.

Local delivery by postcode
Condition: Destination postcode is one of 380001…380060, 3900*.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums