Answer the question
In order to leave comments, you need to log in
Why is added when setting the modifier?
I'm trying to write a breadcrumb modifier for OC 3, in general it turned out, but for some reason this symbol is added. What's wrong? Here is the code
<file path="catalog/view/theme/*/template/checkout/{cart,checkout}*.twig">
<operation error="skip">
<search><![CDATA[{% for breadcrumb in breadcrumbs %}]]></search>
<add position="replace" offset="3"><![CDATA[{% for key, breadcrumb in breadcrumbs %}{% if key + 1 < breadcrumbs|length %}<li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>{% else %}<li>{{ breadcrumb.text }}</li>{% endif %}{% endfor %}</ul>]]></add>
</operation>
</file>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question