add missing item_list_name

This commit is contained in:
MaxBUhe 2023-06-21 15:45:12 +02:00
parent 47b8622018
commit cb18feba82
3 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,7 @@
'item_category_2':'[{$gtmBasketItemCategory->getSplitCategoryArray(1)}]', 'item_category_2':'[{$gtmBasketItemCategory->getSplitCategoryArray(1)}]',
'item_category_3':'[{$gtmBasketItemCategory->getSplitCategoryArray(2)}]', 'item_category_3':'[{$gtmBasketItemCategory->getSplitCategoryArray(2)}]',
'item_category_4':'[{$gtmBasketItemCategory->getSplitCategoryArray(3)}]', 'item_category_4':'[{$gtmBasketItemCategory->getSplitCategoryArray(3)}]',
'item_list_name':'[{$gtmCategory->getSplitCategoryArray()}]',
'price': [{$d3oItemPrice->getPrice()}], 'price': [{$d3oItemPrice->getPrice()}],
'quantity':[{$basketitem->getAmount()}], 'quantity':[{$basketitem->getAmount()}],
'position':[{$smarty.foreach.gtmCartContents.index}] 'position':[{$smarty.foreach.gtmCartContents.index}]

View File

@ -21,6 +21,7 @@
'item_category_2':'[{$gtmCategory->getSplitCategoryArray(1)}]', 'item_category_2':'[{$gtmCategory->getSplitCategoryArray(1)}]',
'item_category_3':'[{$gtmCategory->getSplitCategoryArray(2)}]', 'item_category_3':'[{$gtmCategory->getSplitCategoryArray(2)}]',
'item_category_4':'[{$gtmCategory->getSplitCategoryArray(3)}]', 'item_category_4':'[{$gtmCategory->getSplitCategoryArray(3)}]',
'item_list_name':'[{$gtmCategory->getSplitCategoryArray()}]',
[{assign var="d3PriceObject" value=$gtmProduct->getPrice()}] [{assign var="d3PriceObject" value=$gtmProduct->getPrice()}]
'price': [{$d3PriceObject->getPrice()}] 'price': [{$d3PriceObject->getPrice()}]
} }

View File

@ -34,6 +34,7 @@
'item_category_2':'[{$gtmCategory->getSplitCategoryArray(1)}]', 'item_category_2':'[{$gtmCategory->getSplitCategoryArray(1)}]',
'item_category_3':'[{$gtmCategory->getSplitCategoryArray(2)}]', 'item_category_3':'[{$gtmCategory->getSplitCategoryArray(2)}]',
'item_category_4':'[{$gtmCategory->getSplitCategoryArray(3)}]', 'item_category_4':'[{$gtmCategory->getSplitCategoryArray(3)}]',
'item_list_name':'[{$gtmCategory->getSplitCategoryArray()}]',
'quantity': iArtQuantity 'quantity': iArtQuantity
} }
] ]