I am creating my store edcareusa.com. I want to add a grouped product
Pack Size, Qty, Price per unit, total price. These are four attributes. I am trying hard to find a way to display my product and which type of product I should add (Group, Config, or what). I tried with all types of products.
Can somebody please guide how to add a product?
Hi @selinaharge9b8 ,
Assumption I’ll follow:
“Pack Size” = units per pack (e.g. pack of 10 = 10 units).
“Qty” = number of packs the customer orders (so total units = qty × pack_size).
Price stored in simple product = price for one pack (pack price).
1) Create product attribute pack_size
Admin > Stores > Attributes > Product > Add New Attribute.
Attribute properties:
Attribute Code: pack_size
Catalog Input Type: Dropdown
Add options: e.g. 10, 20, 50 (these are pack sizes)
Use To Create Configurable Product = Yes
Save, then add the attribute to the attribute set used by the product.
2) Create Simple products (one per pack size)
For each pack size:
Product Type: Simple Product
Set SKU, name, price = price per pack (e.g. pack of 10 price = 100)
Set pack_size attribute to the corresponding option (10 / 20 / …)
Stock: set inventory and quantity
Visibility: Not Visible Individually (so customers use the configurable)
Save.
3) Create the Configurable product
Product Type: Configurable Product
Choose the pack_size attribute when asked for configurable attributes
Associate the simple products you created
Set other product details, images, description, etc.
Save.
Now the product page will let users choose a pack-size (and qty) and Magento will add the appropriate simple product to cart.
Problem Solved? Accept as Solution!
Thanks
Ankit