Is this really the version you are looking for? Kentico Xperience 8.1 Documentation is no longer updated. Use the switcher in the header to choose your product version.
The example demonstrates how you can add a product with a Text option to a Kentico site. The product is based on the Product - Book product type, and has one product option.
The example uses the sample E-commerce Site.
First, you need to add a new product of the required type and representation to a selected part of your on-line store.
Open the Products application.
Select Books -> Technical in the product sections tree and click New ().
Select Product - Book in the Product types column.
Enter the following values for the product's properties:
Click Save.
The system adds the product to the selected part of your on-line store. Now you can add to the product a product option category.
Switch to the product's Options -> Option categories tab and click New category.
Enter the following values for the category's properties:
Option category name: Book inscription
The system uses this name in your on-line store administration interface.
Display name: Inscription
The system uses this name on the live site.
Enabled: Yes (checked)
Type: Text
Click Save.
Enter the following values for the category's properties in the Options and Validation sections:
Click Save and close the dialog.
If you now switch back to the product's Options -> Option categories tab, the system lists the product option category as assigned to the product. As an option category of type Text, the category automatically contains one option, which you can now modify.
Edit () the Book inscription product option category and switch to its Options tab.
Enter the following value for the option's Price adjustment property: 5.
Click .
If your customers purchase the product together with the product option, they will have to pay an extra charge.
Open the live site.
Select Books -> Technical in your on-line store main menu.
Click Developing Websites with Kentico to view the product's details page.
Enter My inscription into the Inscription field.
Click Add to cart.
The system adds the product together with the product option to the shopping cart.