fix wrong var usage
This commit is contained in:
parent
50f9fbca23
commit
429069e0cf
@ -20,17 +20,17 @@
|
|||||||
[{assign var="gtmBasketItem" value=$basketitem->getArticle()}]
|
[{assign var="gtmBasketItem" value=$basketitem->getArticle()}]
|
||||||
[{assign var="gtmBasketItemCategory" value=$gtmBasketItem->getCategory()}]
|
[{assign var="gtmBasketItemCategory" value=$gtmBasketItem->getCategory()}]
|
||||||
{
|
{
|
||||||
'item_id': '[{$gtmCartArticles[$basketindex]->getFieldData('oxartnum')}]',
|
'item_id': '[{$gtmCartArticles[$basketindex]->getFieldData('oxartnum')}]',
|
||||||
'item_name': '[{$gtmCartArticles[$basketindex]->getFieldData('oxtitle')}]',
|
'item_name': '[{$gtmCartArticles[$basketindex]->getFieldData('oxtitle')}]',
|
||||||
'item_variant': '[{$gtmCartArticles[$basketindex]->getFieldData('oxvarselect')}]',
|
'item_variant': '[{$gtmCartArticles[$basketindex]->getFieldData('oxvarselect')}]',
|
||||||
'item_category':'[{$gtmBasketItemCategory->getSplitCategoryArray(0)}]',
|
'item_category': '[{$gtmBasketItemCategory->getSplitCategoryArray(0)}]',
|
||||||
'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()}]',
|
'item_list_name': '[{$gtmBasketItemCategory->getSplitCategoryArray()}]',
|
||||||
'price': [{$d3oItemPrice->getPrice()}],
|
'price': [{$d3oItemPrice->getPrice()}],
|
||||||
'quantity':[{$basketitem->getAmount()}],
|
'quantity': [{$basketitem->getAmount()}],
|
||||||
'position':[{$smarty.foreach.gtmCartContents.index}]
|
'position': [{$smarty.foreach.gtmCartContents.index}]
|
||||||
}[{if !$smarty.foreach.gtmCartContents.last}],[{/if}]
|
}[{if !$smarty.foreach.gtmCartContents.last}],[{/if}]
|
||||||
[{/foreach}]
|
[{/foreach}]
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user