This commit is contained in:
2026-04-30 01:43:17 +02:00
parent 2114254518
commit 1994f95183
14 changed files with 2153 additions and 1251 deletions

View File

@@ -244,7 +244,6 @@
<script type="text/javascript">
$( function() {
<? if ( $this -> settings['google_tag_manager_id'] ):?>
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: "view_item",
ecommerce: {
@@ -565,7 +564,6 @@
<? if ( $this -> settings['google_tag_manager_id'] ):?>
var add_to_cart_value = <? if ( $this -> product['price_brutto_promo'] ): echo \Shared\Helpers\Helpers::normalize_decimal( $this -> product['price_brutto_promo'] ); else: echo \Shared\Helpers\Helpers::normalize_decimal( $this -> product['price_brutto'] ); endif;?> * quantity;
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: "add_to_cart",
ecommerce: {
@@ -667,4 +665,4 @@
});
return false;
}
</script>
</script>