This tutorial is to show you how to create a template item with a number of
SKU items automatically generated. This feature is important for items that has multiple attributes and we need to keep separate inventory for all combination of attributes. One example is clothing that can have multiple colors and sizes and separate inventory is required for all colors and sizes.
In this tutorial, we will be setting up a Tee that has 2 different colors with
3 sizes. As you can see, there are 6 combinations for this item. We will show
you how to handle this scenario by creating a template item.
Part 1 - Setup two custom attributes for this item.
Step 1
Go to menu Item catalog and choose Custom Attribute.

Step 2
Clicks New to create a new custom attribute.

Step 3 - Enters information for the custom attribute to be created.
Enter the following information and clicks Save.
| Custom Attribute Name |
Enters 'Size'. |
| Custom Attribute Description |
Enters 'Size' |
| Data Type |
Selects 'String' from the drop down. |
| Attribute Type |
Select 'SKU makeup' from drop down. |
| Item compare |
Un-check this field. |
Step 4 - Add option for this custom attribute.
Clicks Options -> Add custom attribute option.

Enter the following information and clicks Save.
| Option value |
Enters 'Small' |
| SKU makeup code |
Enters 'S'. This code will be used to create the SKU code for individual
items. |
Step 5 - Add another option for this custom attribute.
Clicks Options -> Add custom attribute option.

Enter the following information and clicks Save.
| Option value |
Enters 'Medium' |
| SKU makeup code |
Enters 'M'. This code will be used to create the SKU code for individual
items. |
Step 6 - Add the last option for this custom attribute.
Clicks Options -> Add custom attribute option.

Enter the following information and clicks Save.
| Option value |
Enters 'Large' |
| SKU makeup code |
Enters 'L'. This code will be used to create the SKU code for individual
items. |
Step 7
Clicks 'Custom Attribute Listing' to create another custom Attribute.

Step 8
Clicks New to create a new custom attribute.

Step 9- Enters information for the custom attribute to be created.
Enter the following information and clicks Save.
| Custom Attribute Name |
Enters 'Color'. |
| Custom Attribute Description |
Enters 'Color' |
| Data Type |
Selects 'String' from the drop down. |
| Attribute Type |
Select 'SKU makeup' from drop down. |
| Item compare |
Un-check this field. |
Step 10 - Add option for this custom attribute.
Clicks Options -> Add custom attribute option.

Enter the following information and clicks Save.
| Option value |
Enters 'Orange' |
| SKU makeup code |
Enters 'O'. This code will be used to create the SKU code for individual
items. |
Step 11 - Add another option for this custom attribute.
Clicks Options -> Add custom attribute option.

Enter the following information and clicks Save.
| Option value |
Enters 'Gray' |
| SKU makeup code |
Enters 'G'. This code will be used to create the SKU code for individual
items. |
Step 12
Go to menu Item catalog and choose Custom Attribute Group.

Step 13
Clicks New to create a new custom attribute group.

Step 14 - Enters information for the custom attribute group to be created.
Enter the following information and clicks Save.
| Custom Attribute Group Name |
Enters 'Tees'. |
Step 15
Clicks Option -> Add Custom Attribute.

Clicks Size
Step 16
Clicks Option -> Add Custom Attribute.

Clicks Color
Part 2 - Setup item.
Step 1
Go to menu Item catalog and choose Item.

Step 2
Clicks New to create a new item.

Step 3 - Enters information for the item to be created.
Enter the following information and clicks Save.
| Item Type |
Selects 'Template' from the drop down. |
| Custom Attribute Group |
Selects 'Tees' from the drop down. |
| Sellable |
Check this field. |
| Publish On |
You can leave this as the current date. |
| Expire On |
You can leave this as 12/31/2999. |
| Shipping Type |
Selects 'Regular' from the drop down. |
| Product Class |
Selects 'Regular' from the drop down. |
| Published |
Check this field. |
| Price |
Enters 29.99 as the selling price. |
| Item Number |
Enters '2' as the item number. This field has to be unique and if you
have used it for other item, please choose another value. |
| Item UPC Code |
Enters '2' as the item UPC code. |
| Item SKU Code |
Enters '2' as the item SKU code. This field has to be unique and if you
have used it for other item, please choose another value. |
| Short Description |
Enter 'Crewneck Tee'. |
| Description |
You can enter anything here as the description of this item. |
Step 4 - Associate this item to category, Apparel.
Clicks Options -> Pick Category under Categories on your left.

Selects the checkbox besides Apparel and clicks confirm.

Step 5 - Generate SKU items
Clicks Options -> Generate SKU Codes under Skus on your left.

This process generates 6 individual SKU items based on the custom attributes
from the custom attribute group assigned to the item while creating it.
Step 6 - View the item.
You can now view the item by clicking on Apparel on the menu.
If you follow Tutorial - multi-store creation, you can access the apparel store using the following URL.
http://localhost:8080/jada/web/fe/apparel/English/home
