Hi Yokesh,
If you prefer to understand it by using OFBiz as a standard user, let's
follow below instructions.
Let's configure a computer.
1 base computer, 1 RAM of 8Gb, 2 type of SSD (128 and 256)
Create the computer with "Configurable Good" type. Define a sale price
(around 800€ for a good one ;)
Create the 8Gb RAM product whit "Finish Good" type. Define a sale price.
Create 2 other Finish Good for SSD 128 and SSD 256 and define them a
sale price.
In the Web Application "Configurations" click on the "Create New" button
_A choice for the RAM quantity :_
Config item type : Single Choice
Config Item Name : Quantity of RAM
=> Click on the Update button
You are now in the choice options. Create new configuration option, go
to "Config Options" tab and in the "Create New Config Options" define
the 8Gb RAM option.
Config Option Name : 8Gb RAM (1x8Gb)
Description : 8Gb RAM (1x8Gb)
Sequence Num : 10 /(the first option in the list)/
The screen add a new screenlet "Add Product Component".
Select the 8Gb RAM previously created and a Quantity of 1, sequ num 10
then click on the "Create" button.
Now add another config option. In the "Edit Config Options" screenlet,
click on the "Create New Config Options" button and create the new
config options :
Config Option Name : 16Gb RAM (2x8Gb)
Description : 16Gb RAM (2x8Gb)
Sequence Num : 20
In the "Add Product Component" add the same 8Gb RAM product but keyin 2
in quantity.
_SSD Options_
Click the "[New Config Item]" button and do the same as the the RAM (but
change the product for each config options)
_*Link Computer and Config Options*_
Go to the application "Catalog", tab "Products", select the computer
previously created then find the button "Configurations".
Here, you'll find the "Add Products Configs" screenlet. Select the RAM
in first and the sequence num 10.
IMPORTANT !!! In the "Config Type Id" you MUST select "Question" to let
the choice to the user.
That's all. It's as simple as that ;)
Le 14/11/2018 à 10:00, [email protected] a écrit :
How to setup a configurable product in ofbiz, also how to map the associated
products within a configurable product to be shown in e commerce.
Regards,
Yokesh.