[Fixed] error on array-count at zero entries

Cette révision appartient à :
MaxBUhe 2024-01-03 13:46:43 +01:00
Parent 19553fcee2
révision 22ea5a1ce2

Voir le fichier

@ -3,7 +3,7 @@
[{assign var="gtmProducts" value=$oView->getArticleList()}]
[{block name="d3_ga4_view_search_result_block"}]
[{if $gtmProducts|@count}]
[{if $gtmProducts}]
[{capture assign=d3_ga4_view_search_result}]
[{strip}]
dataLayer.push({"event": null, "eventLabel": null, "ecommerce": null}); /* Clear the previous ecommerce object. */