| 开发者 | tivy |
|---|---|
| 更新时间 | 2026年11月6日 23:08 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[shipping_rate_table]
Options:
vat="shop" (default): show prices the way WooCommerce → Settings → Tax → "Display prices in the shop" says, and follow a Tax Switch for WooCommerce toggle if you have one.vat="ex" or vat="inc": always show prices excluding or including VAT, whatever the shop setting or toggle.methods="Standard, Express": choose methods by name or instance ID, instead of the ticked methods on the settings page.caption="no": hide the method name above each table.merge="no": show every weight band separately, even where neighbouring bands cost the same. The default follows the setting, which is on.note="no": hide the free delivery and VAT footnotes.vatnote="no": hide just the VAT footnote, for example if your site lets customers switch between prices with and without VAT. There is also a setting for this.class="my-class": add a CSS class to the table wrapper.[shipping_rate_table] to your delivery information page.No. It only reads your Flexible Shipping settings and displays them. Checkout works exactly as before.
Postcode area tables need Flexible Shipping Locations and the Pro add-on.
The rate also depends on something other than weight, such as shipping class, cart value or a per-order extra, or two rules overlap. The table shows the lowest price that can apply.
Yes. It reads the same shipping methods. Rules based on conditions other than weight are shown with a "from" price.
Yes, with Tax Switch for WooCommerce. Leave vat at its default and the table's prices and VAT footnote change with the toggle. Tables with vat="ex", vat="inc" or vat="both" (Pro) always show those figures, and the toggle leaves them alone. With other switchers, untick the VAT footnote setting.
Yes. Every element has a class beginning srtfs, and you can add your own class with the class attribute.