list position entfernt, ist unzuverlässig

This commit is contained in:
vanilla-thunder 2018-12-04 11:51:42 +01:00
parent a813c2ec21
commit 1deb3a635a

View File

@ -18,14 +18,14 @@
'category': '[{if $_category}][{$_category->getLink()|replace:$oViewConf->getHomeLink():""|rtrim:"/"}][{else}]-[{/if}]',
[{if $listId == 'productList' || $listId == 'categoryList'}]
[{if $oViewConf->getGTMproductListPerformanceSetting() == "1"}]
'list': '[{oxmultilang ident="CATEGORIES"}]',
'list': '[{oxmultilang ident="CATEGORIES"}]'
[{elseif $oViewConf->getGTMproductListPerformanceSetting() == "2"}]
'list': '[{if $_tmCategory}][{$_tmCategory->getLink()|replace:$oViewConf->getHomeLink():""|rtrim:"/"}][{else}]-[{/if}]',
'list': '[{if $_tmCategory}][{$_tmCategory->getLink()|replace:$oViewConf->getHomeLink():""|rtrim:"/"}][{else}]-[{/if}]'
[{/if}]
[{else}]
'list': '[{$listId|default:$oView->getClassName()}]',
'list': '[{$listId|default:$oView->getClassName()}]'
[{/if}]
'position': [{$smarty.foreach.productlist.iteration}]
[{*'position': [{$smarty.foreach.productlist.iteration|default:1}]*}]
}
]
}