From 5c53d83f32d48f0752b9175bb5d3997fed7c34ac Mon Sep 17 00:00:00 2001 From: MaxBUhe Date: Thu, 22 Jun 2023 09:39:03 +0200 Subject: [PATCH] [finished] item_category added to purchase-Event --- Application/views/blocks/purchase.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Application/views/blocks/purchase.tpl b/Application/views/blocks/purchase.tpl index 04dd350..f43c1d1 100644 --- a/Application/views/blocks/purchase.tpl +++ b/Application/views/blocks/purchase.tpl @@ -20,7 +20,9 @@ [ [{foreach from=$gtmArticles item="gtmBasketItem" name="gtmArticles"}] [{assign var="gtmPurchaseItemPriceObject" value=$gtmBasketItem->getPrice()}] - [{assign var="gtmPurchaseItemCategory" value=$gtmBasketItem->getCategory()}] + [{assign var="gtmPurchaseItem" value=$gtmBasketItem->getArticle()}] + [{assign var="gtmPurchaseItemCategory" value=$gtmPurchaseItem->getCategory()}] + { 'item_id': '[{$gtmBasketItem->getFieldData("oxartnum")}]', 'item_name': '[{$gtmBasketItem->getFieldData("oxtitle")}]',