Suppose you want to sell a music album. But you want to sell different tracks and visuals along with the album as a whole. Then you need to create a Grouped product.
A group product is a new option in the Dokan plugin similar to WooCommerce. In order to create a group product you need to be sure that you have the following :
Requirements
- PHP 5.6 or later
- MySQL 5.6 or later
- WordPress
- WooCommerce
- Dokan Lite
- Dokan Pro
If you have the following you are good to go.
Step 1: Create Parent Group Product
Now, a vendor needs to login to his dashboard. And create a new product.
Navigate to Vendor dashboard→ Product→ Add new
The product category must be group product. So, select Group Product from the Product Type drop-down menu.
Remember a group product is a parent product so there is no price field and also you need to select a category. If you have no category, please create one (only Admins can create product categories).
![How to create a grouped product 1 This image shows Dokan product type option](https://cdn.wedevs.com/uploads/2017/11/1.png)
Step 2: Create child product:
Navigate to Vendor dashboard→ Product→ Add new
![How to create a grouped product 2 This image shows Dokan edit product options](https://cdn.wedevs.com/uploads/2017/11/2.png)
As this is the child product the category of the product must be as same the parent product. Also, this product needs to be hidden from the catalog. Under the other option, there is a visibility field. You need to set it hidden and save the product as shown in the screenshot:
![How to create a grouped product 3 This image shows Dokan product visibility option](https://cdn.wedevs.com/uploads/2017/11/3.png)
Now you can see the product is hidden:
![How to create a grouped product 4 This image shows Dokan Hidden/View Product option](https://cdn.wedevs.com/uploads/2017/11/4.png)
Step 3: Link the child product to the Parent product:
Get back to the parent product and click on the linked product option under the inventory option. And select the child product in the group product section and linked them both.
If you are having difficulties please see the screenshot:
![How to create a grouped product 5 This image shows Dokan grouped product option](https://cdn.wedevs.com/uploads/2017/11/5.png)
Following step 2 and step 3 you can link more product to the parent product. And all of the products.
After creating and linking all your child product to the parent product you will get a group product:
![How to create a grouped product 6 This is a screenshot of how dokan grouped products look like](https://cdn.wedevs.com/uploads/2017/11/6.png)