How To Add a Product with Variants¶
In this how-to you will learn how to add a product with variants.
If you don’t have a working LFS instance yet, you can just use our demo shop at http://demo.getlfs.com. Please be aware that we reset the database every two hours.
Go to the LFS Management Interface.
Catalog / Products.
Add Productin order to add new product.
Name, and the
Slugof the product and click on
Now you can enter further data as you would do for standard products for instance the price. Please note that this are in case of a
Product with Variantsjust default values, which can be overwritten for every single variant later.
Change the product’s type from
Product with Variantsand click
change. You will notice that there is now a
Go to the
Click on the pencil left beside the
Local Propertiestitle in order to display the local properties add form.
Colorin the text field and click on
You can also use global properties to create variants, but this is beyond of these how-to.
Redinto the now provided option field and click on
Repeat step 10 with
For convenience you can also add
Red, Green, Blueto add all options at once.
Now go to the
Variantssection and select
Coloroption. Click on
Add Variants(s). This will create all variants based on the option you have entered above.
Click on the pencil of a variant in order to open its edit form.
By default the data is inherited from the parent. In order to override a field activate it - check the check box beside the field - and enter some information to it for instance for the price of a variant.
Repeat that for every variant you want to change.
Click on the
Base Articlesite action in order to go back to the parent product.
Go to the
Variantstab. You should be there automatically.
Activecheck box. This will check the active check boxes of all variants and click on the
Select the default variant by checking one of the radio boxes below the
Defaulttitle. This variant is displayed if the shop customer visits the
Product with Variant.
Go to the
Activecheck box. This will activate the whole
Product with Variants.
Now click on
Goto Product and you will see your newly created
variants. There is a
Variants section from which the customer can select
the variants the product provides. All information of the product (which has been
overwritten by a variant) are automatically updated if the customer choose a
- Add more properties and options in order to create more complex variants.
- Use global properties in order to create variants.
- Check the difference between the both display types list and select.