Is there anyway to stop webflow from loading this script on pages that don’t have any eCommerce elements?
Like the homepage for example.
<script type="text/javascript">
window.__WEBFLOW_CURRENCY_SETTINGS = {
"currencyCode": "USD",
"$init": true,
"symbol": "$",
"decimal": ".",
"fractionDigits": 2,
"group": ",",
"template": "{{wf {"path":"symbol","type":"PlainText"\\} }} {{wf {"path":"amount","type":"CommercePrice"\\} }} {{wf {"path":"currencyCode","type":"PlainText"\\} }}",
"hideDecimalForWholeNumbers": true
};
</script>