Title: WooCommerce Product Dependencies
Author: WooCommerce
Published: <strong>13. јануар 2014.</strong>
Last modified: 10. новембар 2026.

---

Претражи додатке

![](https://ps.w.org/woocommerce-product-dependencies/assets/banner-772x250.png?
rev=3243288)

Овај додатак **није испробан са последња 3 главна издања Вордпреса**. Можда се више
не одржава нити подржава и може имати проблема са усаглашеношћу када се користи 
са новијим издањима Вордпреса.

![](https://ps.w.org/woocommerce-product-dependencies/assets/icon-256x256.png?rev
=3243288)

# WooCommerce Product Dependencies

 Аутор: [WooCommerce](https://profiles.wordpress.org/woocommerce/)

[Преузми](https://downloads.wordpress.org/plugin/woocommerce-product-dependencies.2.0.3.zip)

 * [Детаљи](https://sr.wordpress.org/plugins/woocommerce-product-dependencies/#description)
 * [Рецензије](https://sr.wordpress.org/plugins/woocommerce-product-dependencies/#reviews)
 *  [Постављање](https://sr.wordpress.org/plugins/woocommerce-product-dependencies/#installation)
 * [Развој](https://sr.wordpress.org/plugins/woocommerce-product-dependencies/#developers)

 [Подршка](https://wordpress.org/support/plugin/woocommerce-product-dependencies/)

## Опис

Looking for a way to restrict product access in WooCommerce? Don’t want to set up
a full-fledged [memberships](https://woocommerce.com/products/woocommerce-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](https://github.com/woocommerce/woocommerce-product-dependencies/).

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

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

 * [WooCommerce Product Bundles](https://woocommerce.com/products/product-bundles/)
 * [WooCommerce Composite Products](https://woocommerce.com/products/composite-products/)
 * [WooCommerce Conditional Shipping and Payments](https://woocommerce.com/products/conditional-shipping-and-payments/)
 * [WooCommerce Product Recommendations](https://woocommerce.com/products/product-recommendations/)
 * [All Products for WooCommerce Subscriptions](https://woocommerce.com/products/all-products-for-woocommerce-subscriptions/)

### 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.

## Снимци екрана

[⌊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.⌉[

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.⌉[

If the ownership and/or purchase conditions are not met, products with dependencies
cannot be added to the cart and a notification is displayed.

## Постављање

 1. Download the plugin.
 2. Go to your WordPress Dashboard and then click **Plugins > Add New**.
 3. Click **Upload Plugin** at the top.
 4. Click **Choose File** and select the .zip file you downloaded in **Step 1**.
 5. Click **Install Now** and **Activate** the plugin.

## Рецензије

![](https://secure.gravatar.com/avatar/ae0d29e1a30ddd9f97434ddd2d305821c67935c83dfcaf03ce826ca9774951f8?
s=60&d=retro&r=g)

### 󠀁[Thanks!!](https://wordpress.org/support/topic/thanks-2316/)󠁿

 [Steven](https://profiles.wordpress.org/stgoos/) 7. октобар 2022.

Big thanks for creating this slim but highly effective plugin. Works out of the 
box and very intuitive. The only test case I still have to setup is to see if it's
possible to setup a dependency to 2 other products where only one of the two has
to be bought before. When this last test case is not working (is a rare case anyway)
then I'm totally happy with the plugin!! Btw – I'm running a multisite setup WP 
6.0.2 with WC 6.9.4 at the moment.

![](https://secure.gravatar.com/avatar/143b49b6f6d026688eb1d5575a8e3eb43c99e84671f65c24c6a39da68ec487ab?
s=60&d=retro&r=g)

### 󠀁[Awesome](https://wordpress.org/support/topic/awesome-9441/)󠁿

 [romeoks](https://profiles.wordpress.org/romeoks/) 13. мај 2022.

Simple and efficient

![](https://secure.gravatar.com/avatar/0ddbe4a074a562091bf0bf250e97991d5465e17f09e3bc3ef665c42d579bb08e?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-33691/)󠁿

 [toulip](https://profiles.wordpress.org/toulip/) 16. март 2022.

This is a great plugin! It's so simple to use and it does exactly what it promises!
Thank you guys!

![](https://secure.gravatar.com/avatar/9af7797e6db519ddb079920b85fb9d25b4fba34dc2f18a02c0797ec2c02bb9d2?
s=60&d=retro&r=g)

### 󠀁[Thanks!!!](https://wordpress.org/support/topic/thanks-2227/)󠁿

 [rudoi1991](https://profiles.wordpress.org/rudoi1991/) 27. фебруар 2022.

greate plugin!!

![](https://secure.gravatar.com/avatar/ae886703a8cc108ad9ac9f596c0ca43f9c1ff632a095559ef5e39c86287c032b?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-29287/)󠁿

 [naresh11381](https://profiles.wordpress.org/naresh11381/) 13. јануар 2021. 1 одговор

Excellent, simple little plugin. Does what it says it will do while seamlessly integrating
into the backend. Thanks!!

![](https://secure.gravatar.com/avatar/097a41bffcd0647ae52ccde6e7a188be5162fe39fbbcc13369f888a2d11c235f?
s=60&d=retro&r=g)

### 󠀁[Works perfectly. Designed well. Does one thing really well.](https://wordpress.org/support/topic/works-perfectly-designed-well-does-one-thing-really-well/)󠁿

 [Dave Warfel](https://profiles.wordpress.org/davewarfel/) 9. новембар 2020.

WooCommerce Product Dependencies is a well-built plugin that does one thing really
well. It allows you to restrict the purchasing of a product unless certain other
products have been purchased previously, or you have certain other products in your
cart (and purchase them alongside the main product). The UI fits right into the 
WooCommerce admin design. Super-simple options. Very clear how to use it. Great 
documentation on the WordPress plugin page. And Jason provided fast & thorough support
when I reached out with a question. I'd highly recommend this plugin for anyone 
looking to set up WooCommerce product dependencies.

 [ Прочитај свих 16 рецензија ](https://wordpress.org/support/plugin/woocommerce-product-dependencies/reviews/)

## Сарадници и градитељи

„WooCommerce Product Dependencies“ је софтвер отвореног кода. Следећи људи су допринели
овом додатку.

Сарадници

 *   [ WooCommerce ](https://profiles.wordpress.org/woocommerce/)
 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ SomewhereWarm ](https://profiles.wordpress.org/somewherewarm/)

„WooCommerce Product Dependencies“ је преведен на 4 језика. Хвала [преводиоцима](https://translate.wordpress.org/projects/wp-plugins/woocommerce-product-dependencies/contributors)
на њиховим доприносима.

[Преведите „WooCommerce Product Dependencies“ на свој језик.](https://translate.wordpress.org/projects/wp-plugins/woocommerce-product-dependencies)

### Заинтересовани сте за развој?

[Прегледајте кôд](https://plugins.trac.wordpress.org/browser/woocommerce-product-dependencies/),
погледајте [SVN складиште](https://plugins.svn.wordpress.org/woocommerce-product-dependencies/)
или се претплатите на [дневник развоја](https://plugins.trac.wordpress.org/log/woocommerce-product-dependencies/)
преко [RSS-а](https://plugins.trac.wordpress.org/log/woocommerce-product-dependencies/?limit=100&mode=stop_on_copy&format=rss).

## Дневник измена

#### 2.0.3

 * Fix – Ownership dependencies now recognize past purchases on stores using High-
   Performance Order Storage (HPOS).

#### 2.0.2

 * Fix – Prevent unpublished dependency names from appearing in customer notices.

#### 2.0.0

 * Tweak – Updated author links.

#### 2.0.0

 * Important – New: PHP 7.4+ is now required.
 * Important – New: WooCommerce 8.2+ is now required.
 * Important – New: WordPress 6.2+ is now required.

#### 1.2.8

 * Feature – Declared compatibility with the new High-Performance Order Tables.

#### 1.2.7

 * Fix – Prevent products from satisfying their own dependencies.

#### 1.2.6

 * Tweak – Declared support for WooCommerce 5.0.

#### 1.2.5

 * Tweak – Declared support for WooCommerce 4.2.

#### 1.2.4

 * Tweak – Declared support for WC 4.1 and WP 5.4.

#### 1.2.3

 * Tweak – Updated plugin headers to declare support for WC 3.9 and WP 5.3.

#### 1.2.2

 * Fix – Remove esc_html when rendering custom notices.

#### 1.2.1

 * Fix – Products with „Purchase“-type category dependencies cannot be added to 
   the cart although a variation of a product that belongs to the required category
   has been added to the cart.

#### 1.2.0

 * Feature – Introduced category-based dependencies.
 * Feature – Added custom dependency notices.
 * Feature – Added AND/OR dependency relationship. Can be activated for specific
   products using the ‘wc_pd_dependency_relationship’ filter.
 * Tweak – Tweaked default notices.

#### 1.1.3

 * Tweak – Updated description.
 * Tweak – Added WooCommerce version headers.

#### 1.1.2

 * Fix – Variable product dependencies not validated correctly in the cart.

#### 1.1.1

 * Fix – Dependencies not working under WC < 3.0 after last update. Fixed!

#### 1.1.0

 * Refactored and cleaned up plugin.
 * Fix – Added support for WooCommerce 3.0.
 * Tweak – Add links to dependent products in notices.

#### 1.0.7

 * Fix – Stray „or“ in dependent products list when only one dependency is present.
 * Localization – Added Brazilian Portuguese translation.

#### 1.0.6

 * Fix – PHP array_values warning.

#### 1.0.5

 * Fix – WC 2.3 support.

#### 1.0.4

 * Localization – Added Brazilian translation (robertopc)

#### 1.0.3

 * Fix – Saving bug

#### 1.0.2

 * Fix – WC detection fix

#### 1.0.1

 * Tweak – Styling support for WooCommerce v2 write-panels

#### 1.0

 * Initial release

## Мета

 *  Издање **2.0.3**
 *  Последње ажурирање **пре 2 дана**
 *  Активних постављања **3.000+**
 *  Издање Вордпреса ** 6.2 или новије **
 *  Испробано до **6.6.11**
 *  Језици
 * [Dutch](https://nl.wordpress.org/plugins/woocommerce-product-dependencies/), 
   [English (US)](https://wordpress.org/plugins/woocommerce-product-dependencies/),
   [German](https://de.wordpress.org/plugins/woocommerce-product-dependencies/),
   [Russian](https://ru.wordpress.org/plugins/woocommerce-product-dependencies/)
   и [Swedish](https://sv.wordpress.org/plugins/woocommerce-product-dependencies/).
 *  [Преведите на свој језик](https://translate.wordpress.org/projects/wp-plugins/woocommerce-product-dependencies)
 * Ознаке
 * [dependencies](https://sr.wordpress.org/plugins/tags/dependencies/)[products](https://sr.wordpress.org/plugins/tags/products/)
   [restrict](https://sr.wordpress.org/plugins/tags/restrict/)[woocommerce](https://sr.wordpress.org/plugins/tags/woocommerce/)
 *  [Напредни преглед](https://sr.wordpress.org/plugins/woocommerce-product-dependencies/advanced/)

## Оцене

 5 од 5 звездица.

 *  [  16 рецензија са 5 звездица     ](https://wordpress.org/support/plugin/woocommerce-product-dependencies/reviews/?filter=5)
 *  [  0 рецензија са 4 звездица     ](https://wordpress.org/support/plugin/woocommerce-product-dependencies/reviews/?filter=4)
 *  [  0 рецензија са 3 звездица     ](https://wordpress.org/support/plugin/woocommerce-product-dependencies/reviews/?filter=3)
 *  [  0 рецензија са 2 звездица     ](https://wordpress.org/support/plugin/woocommerce-product-dependencies/reviews/?filter=2)
 *  [  0 рецензија са 1 звездица     ](https://wordpress.org/support/plugin/woocommerce-product-dependencies/reviews/?filter=1)

[Ваша рецензија](https://wordpress.org/support/plugin/woocommerce-product-dependencies/reviews/#new-post)

[Види све рецензије](https://wordpress.org/support/plugin/woocommerce-product-dependencies/reviews/)

## Сарадници

 *   [ WooCommerce ](https://profiles.wordpress.org/woocommerce/)
 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ SomewhereWarm ](https://profiles.wordpress.org/somewherewarm/)

## Подршка

Проблеми решени у последња два месеца:

     0 од 1

 [Види форум подршке](https://wordpress.org/support/plugin/woocommerce-product-dependencies/)