-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
50 lines (33 loc) · 2.24 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
=== Not Sold Separately for WooCommerce ===
Contributors: helgatheviking
Tags: woocommerce, product, bundle, bundles, kits, composites
Requires at least: 5.0
Tested up to: 5.4
Stable tag: 2.4.0
WC requires at least: 4.0.0
WC tested up to: 4.0.0
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Restrict WooCommerce products from being sold by themselves
== Description ==
Limit WooCommerce products to being sold only as part of a [Mix and Match](https://woocommerce.com/products/woocommerce-mix-and-match-products/?aff=5151&cid=8069770), [Bundle](https://woocommerce.com/products/woocommerce-mix-and-match-products/?aff=5151&cid=8069770), or [Composite](https://woocommerce.com/products/composite-products//?aff=5151&cid=8069770) product.
== Usage
1. Download and install as plugin.
2. Edit a simple product and navigate to the "Inventory" tab in the product data metabox.
<img src="https://user-images.githubusercontent.com/507025/79056355-de5b4380-7c12-11ea-9f0e-4fed033f8b6f.png" alt="product data metabox showing not sold separately checkbox in Inventory tab" />
3. Save the product.
When visiting the single product page, the add to cart button should now be gone:
<img src="https://user-images.githubusercontent.com/507025/77197200-62a22700-6aaa-11ea-9cbb-23219079c56d.png" alt="single product page for Woo Ninja product with no add to cart button" />
However, the product can still be purchased as part of a container:
<img src="https://user-images.githubusercontent.com/507025/79056355-de5b4380-7c12-11ea-9f0e-4fed033f8b6f.png" alt="The Woo Ninja product appears in cart as part of T-Shirt 6 Pack" />
== Compatibility Requirements
[Mix and Match](https://woocommerce.com/products/woocommerce-mix-and-match-products/?aff=5151&cid=8069770) 1.9.1
[Bundle](https://woocommerce.com/products/woocommerce-mix-and-match-products/?aff=5151&cid=8069770) 6.2.2
[Composite](https://woocommerce.com/products/composite-products//?aff=5151&cid=8069770) 6.2.2
== Screenshots ==
1. Product data metabox showing not sold separately checkbox in Inventory tab
2. single product page for Woo Ninja product with no add to cart button
3. The Woo Ninja product appears in cart as part of T-Shirt 6 Pack
== Changelog ==
= 1.0.0 =
* Initial release.