Title: Class Based Shipping for WooCommerce — Define shipping methods per shipping class
Author: unifiedservices
Published: <strong>2022 年 7 月 26 日</strong>
Last modified: 2022 年 7 月 26 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/wc-class-based-shipping/assets/icon-256x256.png?rev=2762036)

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

 作者：[unifiedservices](https://profiles.wordpress.org/unifiedservices/)

[下载](https://downloads.wordpress.org/plugin/wc-class-based-shipping.1.1.zip)

 * [详情](https://cn.wordpress.org/plugins/wc-class-based-shipping/#description)
 * [评价](https://cn.wordpress.org/plugins/wc-class-based-shipping/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/wc-class-based-shipping/#developers)

 [支持](https://wordpress.org/support/plugin/wc-class-based-shipping/)

## 描述

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.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Class Based Shipping for WooCommerce — Define shipping methods per shipping class」
是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ unifiedservices ](https://profiles.wordpress.org/unifiedservices/)

[帮助将「Class Based Shipping for WooCommerce — Define shipping methods per shipping class」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wc-class-based-shipping)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wc-class-based-shipping/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wc-class-based-shipping/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/wc-class-based-shipping/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wc-class-based-shipping/)。

## 额外信息

 *  版本 **1.1**
 *  最后更新：**4 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.5 或更高版本 **
 *  已测试的最高版本为 **6.0.12**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wc-class-based-shipping/)
 * 标签
 * [shipping](https://cn.wordpress.org/plugins/tags/shipping/)[shipping class](https://cn.wordpress.org/plugins/tags/shipping-class/)
   [shipping method](https://cn.wordpress.org/plugins/tags/shipping-method/)
 *  [高级视图](https://cn.wordpress.org/plugins/wc-class-based-shipping/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/wc-class-based-shipping/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wc-class-based-shipping/reviews/)

## 贡献者

 *   [ unifiedservices ](https://profiles.wordpress.org/unifiedservices/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wc-class-based-shipping/)