This block is similar to the default loop block and could be used in two ways.
Both ways behave similar and you could access a special $environment variable $env[“product”], which contain the Item Details.
You have access to:
$env Variable | Content |
$env[“product”][“quantity”] | Quantity of Item |
$env[“product”][“unitprice”] | Unit Price of Item |
$env[“product”][“sequence”] | Position of Item |
$env[“product”][“productid”] | Product ID/Service ID of Item |
$env[“product”][“discount_percent”] | Percentage Discount of Item |
$env[“product”][“discount_amount”] | Absolute Discount of Item |
$env[“product”][“comment”] | Comment/Description of Item |
$env[“product”][“tax1”] $env[“product”][“tax2”]… | Tax of Item One variable for every Tax-value you defined in your vtiger |