
WooCommerce 属性库存 允许您在多个产品/变体之间共享库存,或为每次购买产品、变体或属性扣除不同数量的库存,从而赋予您的库存超能力。
轻松跟踪和管理共享库存、可变数量、产品插件、组合包、测量值、组件等等!
一条短信和友好的警告
自 2020 年初发布 Attribute Stock 以来,随着时间的推移,出现了几个“竞争”插件。它们的范围从 Attribute Stock 功能的子集到我们插件的无耻克隆(例如 添加, 点商店, 弗林托普).
请不要被这些低质量的插件所迷惑。它们开发不佳,缺乏功能,充满错误,并且由于某种原因成本也更高。请记住,这些不是官方的 WooCommerce 插件,它们只是在 WooCommerce 市场上出售。但这并不能确保质量控制或防止错误、糟糕的 UI/UX 或无益的支持。
我们继续坚持 Attribute Stock 的高质量、高性能和广泛的功能集,同时以极低的成本(无年费)提供它。我们是一家小型独立开发商,我们制作插件是因为这是我们喜欢做的事情。当您联系我们寻求支持时,您是直接与制作插件的人交谈,而不是支持代理或公司代表。
话虽如此,我们要非常感谢大家多年来的客气话、宝贵的反馈和惊人的支持!!<3
Attribute Stock 解决了什么问题?
如果您已经使用 WooCommerce 一段时间,您就会知道它的库存能力非常有限。每个产品或产品变体都可以有一个库存数量,仅此而已。从本质上讲,您的产品就是您的库存商品。
当您销售简单的产品时,这很有效,但一旦您需要执行诸如在多个产品之间共享库存或每次销售扣除可变数量的库存数量之类的事情时,您就不走运了。
Attribute Stock 如何解决这个问题?
Attribute Stock 通过添加一些基本功能来扩展 WooCommerce 的库存功能,例如 基于规则的库存物料 可以轻松地在多个产品之间共享。而且用途广泛股票乘数 控制每次购买产品、变体、属性术语或库存商品时扣除的库存量。
无论您是使用强大的基于规则的库存项目,还是只是为您的产品添加库存乘数,您的库存水平都将被准确跟踪,产品可用性将得到适当显示,并防止过度购买。
基于规则的股票
使用简单而强大的规则,以您能想象到的任何方式分配和共享产品库存。
可变股票
使用库存乘数扣除不同数量的产品库存或每次销售的属性库存。适用于测量、重量、包装等。
库存管理
管理仪表板,可轻松管理属性库存项目。设置 SKU、库存图片、产品过滤器等。
强大的定制
使用匹配规则、产品过滤器、组件库存等设置几乎任何类型的库存配置。
“任何”变化
为您的产品使用简单的变体。将准确跟踪库存,而无需指定属性术语选项的每个组合。
CSV 导入/导出
立即将您的属性库存导出为 CSV。在您最喜欢的电子表格编辑器中添加或更新库存,然后只需单击一下即可导入更改。
REST API 和 Webhook
使用我们完全集成的 WooCommerce REST API 端点和 Webhook 主题从外部软件管理您的属性库存。
高度兼容
适用于大多数插件,例如 Variation Swatches、POS 系统、订阅、产品捆绑包、候补名单、购物车库存减少器、WP-Lister、WPML、Polylang 等。
开发人员友好
几乎任何尚未配置的内容都可以通过强大的作和过滤器添加或更改。
* 请注意,WordPress 多站点和多商店同步目前不受支持或计划。
示例 #1 – 可变股票 (演示)
假设您出售不同重量的包装茶叶。您只需在产品级别设置茶叶总库存,并指定一个 股票乘数 在每个产品变体或属性词上。每次购买的相应金额将从您的总库存中扣除。如果您需要在多个商品信息中共享可变库存,您可以使用属性库存项目 相反。
示例 #2 – 多个属性 (演示)
通常,您的库存会有多个属性,例如具有不同属性的 T 恤 大小 和颜色.在这种情况下,创建 属性库存项目 使用规则来匹配任意数量商品的任意属性组合。
示例 #3 – 产品捆绑包 (演示)
有时您会想出售多个 单个产品 以及捆 这些产品可享受折扣。库存项目可以轻松分配给任意数量的简单产品或产品变体,从而在它们之间无缝共享库存。
示例 #4 – 组件库存 (演示)
在某些情况下,您可能需要跟踪由其他库存物料制成的库存物料。例如,假设您设计并销售手绘蜡烛。通过将普通蜡烛库存设置为彩绘蜡烛库存的组成部分,您可以单独跟踪和销售每个蜡烛,同时允许您彩绘蜡烛使用普通蜡烛的额外库存数量。
组件库存是一项强大的功能,可用于许多其他高级库存要求,例如库存批次、成品,甚至来自多个供应商的库存。在下面的文档中了解有关其工作原理的更多信息。
想了解更多关于 WooCommerce 属性库存的信息吗?前往 在线文档.
请务必浏览 常见问题和故障排除 部分,如果您遇到任何问题。
# CHANGELOG 2.2.3 (2025-07-31) - Fixed empty/dangling rules causing issues with matching. - Fixed CSV imports failing in some cases. 2.2.2 (2025-07-25) - Added enable/disable actions to stock item list. - Fixed enabling stock on attributes. 2.2.1 (2025-07-15) - WooCommerce 10.0 compatibility. - Fixed naming issue on WordPress plugin directory. - Fixed several WordPress coding standard issues. - Fixed a bug causing normal variations to be ignored when alongside "Any" variations. 2.2.0 (2025-07-13) - WooCommerce 9.9 compatibility. - Added products to match rules. Stock items can now match products directly without attributes. - Added display of available stock from child components to the stock item list. - Merged stock item filter metadata into a single property (API change). - Fixed a permission issue with Webhooks. 2.1.2 (2025-05-07) - WordPress 6.8 compatibility. - WooCommerce 9.8 compatibility. - Updated various UI text to align with recent WordPress updates. - Fixed a regression causing attribute terms with a slug of "0" to not match. - Fixed multiple attribute match rule terms not working properly with "Any" variations. - Fixed checking the stock status of invalid/disabled variations. - Fixed a bug causing stock statuses to sometimes not sync correctly. - Fixed URL mismatches when plugins don't respect the URL scheme parameter. 2.1.1 (2025-02-13) - WooCommerce 9.6 compatibility. - Fixed stock list chips not displaying correctly in some cases. - Fixed stock item tags not being duplicated. - Fixed product multiplier compatibility with OpenPOS. - Fixed some rare JS errors with "any" variations. - Improved postmeta table index optimization. 2.1.0 (2024-11-10) - WordPress 6.7 compatibility. - WooCommerce 9.3 compatibility. - Added a backorders setting for individual stock items. - Added filters to easily disable stock emails for specific stock items. - Improved compatibility with WooCommerce blocks. - Fixed term meta cache not being cleared when adding a new term. - Fixed programmatically created products sometimes being set out of stock. - Fixed products not using the correct stock status when on backorder. - Fixed PHP error in attribute stock report. - Fixed some issues with WPML compatibility in newer versions. - Various tweaks and improvements. 2.0.3 (2024-08-13) - WordPress 6.6 compatibility. - WooCommerce 9.1 compatibility. - Added product SKU inheriting from stock items. - Added a filter for stock item default values. - Fixed inherited product data not showing on order items. - Fixed webhooks relying on the WC legacy API. - Fixed product stock actions not firing properly for variable quantity products. - Optimized background tasks to be less aggressive with server resources. 2.0.2 (2024-06-30) - Fixed a bug with product stock multiplier checking when adding to cart in certain cases. - Fixed some stock validation bugs when using cart/checkout blocks. - Fixed stock item match rules being initially focused on page load. 2.0.1 (2024-06-27) - Fixed "any" attributes not showing in admin stock list. - Fixed match rules not showing attribute terms with different sort orders. - Fixed incorrect type on REST API 'components' parameter. - Fixed bugs related to WPML compatibility. - Fixed $wp_roles not being set in some cases. - Renamed "pill" UI components to avoid malicious code detection on some hosts. 2.0.0 (2024-06-23) - This is a major release! Please ensure you have a backup of your site before upgrading. If you have any custom code or integrations with Attribute Stock, you should upgrade on a staging site and test that they still work correctly. - New documentation site. - New attribute term multipliers feature. - New stock components feature. - New stock images feature. - Many UI/UX, performance and other improvements. - WooCommerce 9.0 compatibility. - WordPress 5.4 / PHP 7.4 minimum requirement.
查看版本 1 更新日志
评论0