Creating a Grouped Product
A grouped product consists of two or more products from a catalog that are sold together as a pre-defined set, either for customer convenience or to offer a special price. Grouped products are tracked in inventory and can include any type of products (i.e., Simple, Grouped, Virtual). For example, consider a wholesale furniture distributor. While furniture items can be purchased separately, the distributor can group related products together into a furniture set, either for customer convenience, or to offer special deals.
In addition to grouped products, Liferay supports the creation of product bundles using Product Options. With options, you can define values that link the current product to other SKUs to be purchased together. The final price is calculated based on the option’s configuration. See Creating Product Bundles and Product Options for more information.
Prerequisites
Before creating a grouped product, ensure you’ve already generated all of the SKUs you want to group together. At minimum, each SKU should have a base price and sufficient inventory.
Create a Grouped Product
-
Open the Global Menu (
) and navigate to Commerce → Products.
-
Click Add (
) → Grouped.
-
Enter a name, and select a Catalog.
-
Click Submit.
This creates a new grouped product in the selected catalog with a single SKU, default. You can configure grouped products like other product types. See Product Configuration Reference for more information about general product settings.
Adding Product Entries
-
Go to the Grouped tab.
-
Click Add (
) and select the desired products.
-
When finished, click Add.
The selected products are immediately associated with the grouped product and appears in the Grouped tab. You can edit each entry to manage its quantity and priority.
Once you’ve created the grouped product and associated other products, set a base price for the default SKU to make it available for purchase. This price replaces each product’s individual price.
Commerce 2.1 and Below
-
Navigate to Control Panel → Commerce → Products.
-
Click Add (
) → Grouped.
-
Enter the following:
- Catalog: Sahara.com
- Name: Brakes Set Combo Kit
- Short Description: Brakes Set Combo Kit
- Friendly URL: (auto-generated)
- Meta Title: Brakes Set Combo Kit
-
Click Publish.
Associate Products in Group
-
Go to the Grouped sub-tab.
-
Click Add (
) to add a grouped entry.
-
Select the following products: Brake Fluid, Brake Pads, and Brake Rotors.
-
Click Add.
Next, specify the priority, which determines the display order, and the quantity sold in each package. Click Actions () → Edit next to any product.
In the image above, the Product has been given priority 1.0 which means it’s listed first. Assign incremental values to the other Products.
Setting Prices and Quantities on Liferay Commerce 2.0 and Below
-
Go to the SKU tab.
-
Click Actions (
) → Edit next to default. Now, you can rename the SKU to something more descriptive.
-
Click Pricing and enter the following:
- Price: 89.99
- Promo Price: 0.00
- Cost: 0.00
-
Click Save. If Promo Price and Cost fields are left as 0.00, no discounts or promotions are applied at this point.
-
Click Price List to apply this product to existing Price Lists.