Browse code

Fix some structural errors

Benjamin Roth authored on08/04/2019 11:13:25
Showing1 changed files
... ...
@@ -36,7 +36,7 @@
36 36
   [{/if}]
37 37
 [{/if}]
38 38
 
39
-[{if $oViewConf->getActiveClassName() == 'thankyou'}][{strip}]
39
+[{if $oViewConf->getActiveClassName() == 'thankyou'}]
40 40
 <script>
41 41
   // Order infos
42 42
   [{assign var="order" value=$oView->getOrder()}]
... ...
@@ -71,12 +71,12 @@
71 71
   [{/foreach}]
72 72
 
73 73
   [{if $googleTrackingId}]
74
-    gtag('event', 'purchase' {
74
+    gtag('event', 'purchase', {
75 75
       'transaction_id': '[{$order->oxorder__oxordernr->value}]',        [{* Transaction ID *}]
76 76
       'affiliation':    '[{$oxcmp_shop->oxshops__oxname->value|escape:"quotes"}]',      [{* Store name *}]
77 77
       'value':          '[{$sTotal}]',                                  [{* Grand Total *}]
78 78
       'shipping':       '[{$sShipping}]',                               [{* Shipping *}]
79
-      'tax':            '[{$sTax}]'                                     [{* Tax *}]
79
+      'tax':            '[{$sTax}]',                                     [{* Tax *}]
80 80
       'items': orderitems
81 81
     });
82 82
   [{/if}]
... ...
@@ -85,9 +85,9 @@
85 85
     gtag('event', 'conversion', {
86 86
       'send_to': '[{$googleAdsId}]/[{$googleAdsConvLabel}]',
87 87
       'transaction_id': '[{$order->oxorder__oxordernr->value}]',
88
-      'value':          '[{$sTotal}]',
88
+      'value':          '[{$sTotal}]'
89 89
     });
90 90
   [{/if}]
91 91
 
92 92
 </script>
93
-[{/strip}][{/if}]
94 93
\ No newline at end of file
94
+[{/if}]
95 95
\ No newline at end of file