{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% block base_header %}
{{ parent() }}
{% block econda_header %}
<script type="text/javascript">
window.emos3 = {
defaults : {
siteid : "{{ app.request.server.get('SERVER_NAME') }}/",
countryid: "DE",
langid: "DE"
},
stored : [],
send : function(p){this.stored.push(p);}
};
</script>
{% block econda_header_emospro %}
<script type="text/javascript">
var emospro = {};
if("{{ ANA['content'] }}" === "{{ app.request.server.get('SERVER_NAME') }}/") {
emospro.content = "Startseite";
}else{
emospro.content = "{{ ANA['content'] }}";
}
emospro.pageId = "{{ ANA['pageId'] }}";
{% block econda_header_content %}{% endblock %}
window.emos3.send(emospro);
console.log(window)
</script>
{% endblock %}
{% endblock %}
{% endblock %}