.. _users-manual-edit-variant: Edit Variant ------------ You can add freely definable texts at the product level. You can enter a text or a number, which the basket ists a single product variant. You can change the number of a product variant in the same manner as with normal variants. **Example:** The products with uid 52 will have the entry field of a web domain. The web domain will be checked for validity. .. code-block:: typoscript :caption: Setup for Edit Variant plugin.tt_products { ### DOMAIN marks { p_domain = Domäne } editVariant { 10 { sql.where = uid = 52 suffix = domain evalValues { 1 = required, wwwURL } error =
Hint:
You must enter an internet Domain !
} } } HTML: ~~~~~ See example HTML template :file:`EXT:tt_products/Resources/Private/Templates/example_locallang_xml.html` . You must insert the following subpart Marker and text markers. Single/List view of a product: .. code-block:: html :caption: Template for Edit Variant ###P_DOMAIN### ###EDIT_VARIANT###
Basket view of product: ###P_DOMAIN### ###EDIT_VARIANT###
Payment view of product: ###PRODUCT_TITLE### | ###EDIT_VARIANT### Order confirmation of product: ###PRODUCT_TITLE### | ###EDIT_VARIANT###