diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2019-05-28 03:57:20 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2019-05-28 03:57:20 +0300 |
commit | e35fcd8ce317a83d85543259cfd61f7e5f756931 (patch) | |
tree | 9464bf351dedd85cf204069c407048ee78c5a119 /plugins/Live/templates | |
parent | d8c99bf1462acf03a164adebf19e2d393d314091 (diff) |
Couple changes to visitor log for proxysite (#14481)
* Check if product categories key is defined.
* Update custom dimensions submodule + use query var id site if not set by Live API.
Diffstat (limited to 'plugins/Live/templates')
-rw-r--r-- | plugins/Live/templates/_actionEcommerce.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Live/templates/_actionEcommerce.twig b/plugins/Live/templates/_actionEcommerce.twig index 229067d998..a5d345a08a 100644 --- a/plugins/Live/templates/_actionEcommerce.twig +++ b/plugins/Live/templates/_actionEcommerce.twig @@ -40,7 +40,7 @@ {% for product in action.itemDetails %} <li> {{ product.itemSKU }}{% if product.itemName is not empty %}: {{ product.itemName }}{% endif -%} - {%- if product.categories is not empty %} ({% for category in product.categories %}{{ category }}{% if not loop.last %}, {% endif %}{% endfor %}){% endif %}, + {%- if product.categories is defined and product.categories is not empty %} ({% for category in product.categories %}{{ category }}{% if not loop.last %}, {% endif %}{% endfor %}){% endif %}, {{ 'General_Quantity'|translate }}: {{ product.quantity }}, {{ 'General_Price'|translate }}: {{ product.price|money(visitInfo.idSite)|raw }} </li> |