show Trusted Store specific variables only, if Trusted Store is activated

Cette révision appartient à :
Daniel Seifert 2015-02-10 13:18:40 +00:00
Parent d0a7d9a853
révision d760ff512b

Voir le fichier

@ -3,10 +3,10 @@
<script type="text/javascript">
var gts = gts || [];
gts.push(["id", "[{$oD3GASettings->getValue('sD3GATSId')}]"]);
gts.push(["badge_position", "BOTTOM_RIGHT"]);
gts.push(["locale", "[{$sD3CurrentGTSLang}]"]);
[{if $oD3GASettings->getValue('sD3GATSShoppingActive')}]
gts.push(["id", "[{$oD3GASettings->getValue('sD3GATSId')}]"]);
gts.push(["badge_position", "BOTTOM_RIGHT"]);
gts.push(["locale", "[{$sD3CurrentGTSLang}]"]);
[{if $sD3GATSProdId}]
gts.push(["google_base_offer_id", "[{$sD3GATSProdId}]"]);
[{/if}]