跳到内容

WooCommerce Product Dependencies

v2.0.3

WooCommerce · 2014年1月13日 上架

Restrict access to any WooCommerce product, depending on the ownership and/or purchase of other required products.

正在使用
3,000+
评分
5.0 / 5
累计下载
7.2 万
最近更新
2026年11月11日
16 条评价需要 WordPress 6.2+已测试到 6.6.12

截图

Product dependencies can be created from the Dependencies tab, found under Product Data , and adding products/variations to the Product Dependencies field.
Product dependencies can be created from the Dependencies tab, found under Product Data , and adding products/variations to the Product Dependencies field.
If the ownership and/or purchase conditions are not met, products with dependencies cannot be added to the cart and a notification is displayed.
If the ownership and/or purchase conditions are not met, products with dependencies cannot be added to the cart and a notification is displayed.

Looking for a way to restrict product access in WooCommerce? Don’t want to set up a full-fledged memberships site?

This tiny plugin allows you to restrict access to any WooCommerce product, depending on the ownership or purchase of other, required products.

Features:

  • Conditional product access based on the ownership and/or purchase of other required products.
  • Support for “ownership”, “purchase” and “ownership/purchase” dependency types.

Developers can checkout and contribute to the source code on the plugin’s GitHub Repository.

Important: Requires WooCommerce 2.2+. WooCommerce 3.0+ or higher recommended.

Like this plugin? You’ll love our official WooCommerce Extensions:

Documentation

Dependencies are evaluated when customers attempt to add a product to their cart. If validation fails, the product cannot be added to the cart and a notice is displayed. In order to evaluate “Ownership”-type dependencies, customers are prompted to log in.

Creating Dependencies

To add dependencies to a product:

  • Go to the Product Data > Dependencies tab.
  • Use the Product Dependencies field to search for and add some products and/or variations.
  • Choose a Dependency Type.
  • Update to save your changes.

The “Ownership” dependency type is evaluated by checking if the customer has purchased a required product in a previous order. The “Purchase” dependency type requires the customer to have a required product in the cart in order to purchase the dependent one.

Ownership vs Purchase

The plugin allows you to select between 3 different dependency types:

  • Ownership: Access is granted only to customers that already own any of the products added to the Product Dependencies field.
  • Purchase: The product can be purchased only in combination with any of the items added to the Product Dependencies field. Ownership is not taken into account.
  • Either: Access is granted with ownership or purchase of any item added to the Product Dependencies field.

Plums

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

导航

说明

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

© 2026 Plums