There are several types of template tags:
- Quote Template tags
- Cart Item tags (C tags)
- ST tags
Quote Template Tags

For data to be displayed in generated documents, dedicated tags must be entered in the template. Each tag can retrieve specific quote details, configuration, customer, or user-related information that is meant to be displayed in the output document. The list of tags and a detailed explanation with examples can be found in the Document Generation Tags section. Alternatively, you can use the standard CTX tags instead of quote template tags to retrieve data.
You can include any information in the quote template. The most common type to include is the customer information, such as Bill To, Ship To, or End User fields. In addition, the template includes the items from the cart. This option, along with any other information, can be included through the use of SAP CPQ quote template tags.
Quote Template Tags are used to transfer information from SAP CPQ into the Word document, which is done by adding these tags to the document using normal text. For example, you could include the following in a Word document: Total price of the quote is: «Q_QUOTE(TOTAL)»". This tag is used as a quote template tag which retrieves the total price of the cart when the quotation is generated.
Expressions are entered into a Word document in the areas or order that they are displayed. Virtually every piece of information existing in CPQ can be inserted in a Word quote document. Each tag has prefix character(s) that represent how the tag is used. The Q tags represent information that is pulled from the quote.
Cart Item Tags
The second type of tags is C tags or Cart item tags. These tags can only be used within a C2 repeatable quote tag.
ST Tags
ST tags are special tags that fall outside the cart or quote tags. Q and ST tags are used anywhere in the document without being restricted to the C2 repeatable quote tags.