fix small issues
This commit is contained in:
parent
8a732d7eac
commit
2791e915c4
@ -7,7 +7,9 @@
|
|||||||
gts.push(["badge_position", "BOTTOM_RIGHT"]);
|
gts.push(["badge_position", "BOTTOM_RIGHT"]);
|
||||||
gts.push(["locale", "[{$sD3CurrentGTSLang}]"]);
|
gts.push(["locale", "[{$sD3CurrentGTSLang}]"]);
|
||||||
[{if $oD3GASettings->getValue('sD3GATSShoppingActive')}]
|
[{if $oD3GASettings->getValue('sD3GATSShoppingActive')}]
|
||||||
|
[{if $sD3GATSProdId}]
|
||||||
gts.push(["google_base_offer_id", "[{$sD3GATSProdId}]"]);
|
gts.push(["google_base_offer_id", "[{$sD3GATSProdId}]"]);
|
||||||
|
[{/if}]
|
||||||
gts.push(["google_base_subaccount_id", "[{$oD3GASettings->getValue('sD3GATSShoppingAccountId')}]"]);
|
gts.push(["google_base_subaccount_id", "[{$oD3GASettings->getValue('sD3GATSShoppingAccountId')}]"]);
|
||||||
gts.push(["google_base_country", "[{$oD3GASettings->getValue('sD3GATSShoppingCountry')|upper}]"]);
|
gts.push(["google_base_country", "[{$oD3GASettings->getValue('sD3GATSShoppingCountry')|upper}]"]);
|
||||||
gts.push(["google_base_language", "[{$oD3GASettings->getValue('sD3GATSShoppingLanguage')|lower}]"]);
|
gts.push(["google_base_language", "[{$oD3GASettings->getValue('sD3GATSShoppingLanguage')|lower}]"]);
|
||||||
@ -51,8 +53,8 @@
|
|||||||
<span id="gts-o-tax-total">[{math equation="fi + se + th + fo" fi=$oOrder->getFieldData('oxartvatprice1') se=$oOrder->getFieldData('oxartvatprice2') th=$oOrder->getFieldData('oxpayvat') fo=$oOrder->getFieldData('oxdelvat') format="%.2f"}]</span>
|
<span id="gts-o-tax-total">[{math equation="fi + se + th + fo" fi=$oOrder->getFieldData('oxartvatprice1') se=$oOrder->getFieldData('oxartvatprice2') th=$oOrder->getFieldData('oxpayvat') fo=$oOrder->getFieldData('oxdelvat') format="%.2f"}]</span>
|
||||||
<span id="gts-o-est-delivery-date">[{$oView->d3GAgetEstimatedDeliveryDate()|date_format:"%Y-%m-%d"}]</span>
|
<span id="gts-o-est-delivery-date">[{$oView->d3GAgetEstimatedDeliveryDate()|date_format:"%Y-%m-%d"}]</span>
|
||||||
<span id="gts-o-est-ship-date">[{$oView->d3GAgetEstimatedShippingDate()|date_format:"%Y-%m-%d"}]</span>
|
<span id="gts-o-est-ship-date">[{$oView->d3GAgetEstimatedShippingDate()|date_format:"%Y-%m-%d"}]</span>
|
||||||
<span id="gts-o-est-has-preorder">[{$oView->d3GAhasBackorderPreorder()}]</span>
|
<span id="gts-o-has-preorder">[{$oView->d3GAhasBackorderPreorder()}]</span>
|
||||||
<span id="gts-o-est-has-digital">[{$oView->d3GAhasDigitalGoods()}]</span>
|
<span id="gts-o-has-digital">[{$oView->d3GAhasDigitalGoods()}]</span>
|
||||||
<!-- end order and merchant information -->
|
<!-- end order and merchant information -->
|
||||||
|
|
||||||
<!-- start repeated item specific information -->
|
<!-- start repeated item specific information -->
|
||||||
|
@ -336,7 +336,7 @@ class d3_oxcmp_utils_googleanalytics extends d3_oxcmp_utils_googleanalytics_pare
|
|||||||
if (count($aArticleIds)) {
|
if (count($aArticleIds)) {
|
||||||
return $aArticleIds[array_keys($aArticleIds)[0]];
|
return $aArticleIds[array_keys($aArticleIds)[0]];
|
||||||
} else {
|
} else {
|
||||||
return "";
|
return "not_set";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user