Hi,does anybody know howe to add small info on cart/canvas.
i am using twig to revrite original code but noting happens
twig is on path
/custom/plugins/MyTheme/src/Resources/views/storefront/component/checkout/offcanvas-cart.html.twig
or custom/plugins/MyTheme/src/Resources/views/storefront/page/checkout/cart.html.twig
but nothing happens
I assume the path is correct. Did you clear the cache after updating your plugin?
everything,refresh theme and clear cache.i need small info for delivery but no way that can be shown on cart or canvas
{% block component_offcanvas_cart_items %}
... your content ...
parent()
{% endblock %}
should work. Which block did you override?
and the catch is that You shoud insert code from off canvas in vendor path and add text and insert it your theme