[finished] item_category added to purchase-Event

This commit is contained in:
MaxBUhe 2023-06-22 09:39:03 +02:00
bovenliggende 8a7c25fad9
commit 5c53d83f32

Bestand weergeven

@ -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")}]',