跳到内容

Class Based Shipping for WooCommerce — Define shipping methods per shipping class

v1.1

unifiedservices · 2022年7月26日 上架

Define the available shipping methods for your products on a per shipping class basis.

正在使用
10+
评分
暂无
累计下载
1,544
最近更新
2022年7月27日
需要 WordPress 5.5+已测试到 6.0.19PHP 7.0+

This free plugin allows you to customize with ease the shipping methods available for each shipping class, so that you can offer different shipping options per product class.

How does it work?

Simply create or edit an existing shipping class, and set the available shipping methods in the Description field of the shipping class (see below syntax). The plugin will then the default shipping methods to the ones specified when one or more items in the cart match the customized shipping methods class.

Custom syntax

To customize the available shipping methods for a WooCommerce shipping class, simply use the following plugin syntax inside the description field of the shipping class: CLASS_BASED_SHIPPING(shipping_method_1_id, shipping_method_2_id [, etc])

For example, one may wish to have a shipping class for products which can be picked up locally or shipped using a flat rate method: CLASS_BASED_SHIPPING(flat_rate, local_pickup)

The class description field may also include additional text, as long as it does not interfere with the syntax of the plugin tag above.

Plums

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

导航

说明

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

© 2026 Plums