Display
Theses Layouts are used to display informations on the screen.
Image
- Description: An image layout. The same as the image component but you don't have to specify a name to link it.
Example:
{
"type": "image",
"data": "get_product(_G.product).image"
}
Text
- Description: A text layout. The same as the text component but you don't have to specify a name to link it.
Example:
{
"type": "text",
"data": "get_product(_G.product).name"
}
Template
- Description: A template layout. The same as the template component but you don't have to specify a name to link it.
Example:
{
"data": {
"value": "'<html><head /><body><h1>Hello world !</h1></body></html>'",
"lua_values": "{ ['key'] = 'value' }"
},
"type": "template"
}