Skip to content

Mapp Cloud Shopware6 1.3.0

Latest
Compare
Choose a tag to compare
@stiegi stiegi released this 10 Dec 09:03

Mapp Cloud for Shopware 6.6

Added events for new product status: delete from cart, add to wishlist, remove from wishlist. Add to cart events are also added to offcanvas cart when changing the quantity, and on checkout pages.

The event names can be overwritten via datalayer. If you set it in your header.html.twig in your theme, it would look like this:

{% sw_extends '@Storefront/storefront/layout/header/header.html.twig' %}
{% block layout_header %}
    {{ parent() }}
    <script>
        window._ti = window._ti || {};
        window._ti["add"] = "My add-to-cart event name";
        window._ti["del"] = "My delete-from-cart event name";
        window._ti["add-wl"] = "My add-to-wishlist event name";
        window._ti["del-wl"] = "My delete-from-wishlist event name";
    </script>
{% endblock %}