TB.One > Product and Article Data > Templates > Creating Twig Templates > FIELD DESCRIPTIONS IN THE TWIG TEMPLATING LANGUAGE

FIELD DESCRIPTIONS IN THE TWIG TEMPLATING LANGUAGE

The following fields can be used in Twig templates:

FIELD NAME

PARENT

TYPE

DESCRIPTION

product

--

Array

Product data

p_id

product

String

Product-ID

p_nr

product

String

Product number

text

product

String

Product description

text_service

product

String

Service text

text_environmental

product

String

Environmental text

prefix

product

String

Prefix

name_keyword

product

String

Common noun

name_proper

product

String

Proper name

supplement

product

String

Special text

text_features

product

Array

Feature list

text_bullets

product

Array of String

Bullet points

price_from

product

String

Lowest retail price of all related articles

price_to

product

String

Highest retail price of all related articles

tags

product

Array

Attribute list

key

tag

String

Import key from TB.One

name

tag

String

Name of the attribute

value

tag

String

One or more attribute values

channel_data

product

Array

Channel-specific data

channel

channel_data

String

Channel definition

categories

channel

Array

Categories of the specified channel

category

categories

String

Single category

links

product

Array

Links

media

product

Array

Product media

comps_all

product

Array

All product components

key

comps_all

String

Component name

value

comps_all

String

Component value

comps_essential

product

Key/Value

Product components that were not provided as article characteristics (ItemSpecific) (only eBay)

key

comps_essential

String

Component name

value

comps_essential

String

Component value

split_variations

product

Array

Only for split variants: The variant used for splitting (When a channel doesn't allow variant dimensions for a certain category, a product can be split into several products based on a variant dimension).

key

split_variations

String

Name of the split variant

value

split_variations

String

Variant value

variation_values

product

Array


key

variation_values

String

Designator of the variant dimension

value

variation_values

String

Variant value

brand

product

Array

Brand information

name

brand

String

Brand name

icon

brand

Array

Brand icon

ID

icon

Integer

ID

ext

icon

String

Extension

type

icon

String

Media type (image, etc.)

articles

product

Array

List of a product's articles (1-n)

article

product

Array

Single article

a_nr

article

String

Article number

a_nr2

article

String

Article number 2

a_prod_nr

article

String

Product number of the article's parent product

a_ean

article

Integer

EAN

a_vk

article

Float

Article retail price

a_vk_old

article

Float

Cross price

a_uvp

article

Float

MSRP

a_tax

article

Float

VAT

a_stock

article

Integer

Stock

tags

article

Array

Attribute list

key

tag

String

Import key from TB.One

name

tag

String

Name of the attribute

value

tag

String

One or more attribute values

variations

article

Array

List of variant dimensions

name

variations

String

Name of the variant dimension

value

variations

String

Value of the variant dimension

media

article

Array

Article media

packaging

article

Array

Package data

width

packaging

Integer

Length in cm

height

packaging

Integer

Width in cm

length

packaging

Integer

Height in cm

weight

packaging

Float

Weight in kilograms (kg)

pieces

packaging

Integer

Number of pack pieces

delivery

article

Array

Delivery information

time

delivery

Integer

Delivery time

replace

delivery

Integer

Replaceability (1 or 0)

replace_time

delivery

Integer

Lead time for the replacement of articles (when an article is sold out)

shipping_costs

delivery

Float

Shipping costs

tradestat

article

Array

IntraStat information

nr

tradestat

Integer

IntraStat number (8-digit)

org_country

tradestat

Array

Country of origin

alpha2

org_country

String

Country code ISO Alpha 2

alpha3

org_country

String

Country code ISO Alpha 3

nr

org_country

Integer

International country ID


For further information, see also:

Twig Templating Language - Overview

Managing templates

Using the Twig Templating Language

Example template