Code: Select all
<file path="catalog/view/theme/*/template/common/cart.twig">
<operation error="log" info="">
<search regex="true"><![CDATA[~{% for option in product\.option %}(.*)$~]]></search>
<add position="replace"><![CDATA[{% for option in product.option %}{% if option.name != 'test' %}$1]]></add>
</operation>
</file>
FILE: catalog/view/theme/default/template/common/cart.twig
NOT FOUND - OPERATIONS ABORTED!
And here is the code of line 11,12 of cart.twig:
Code: Select all
{% for option in product.option %} <br />
- <small>{{ option.name }} {{ option.value }}</small> {% endfor %}