This is just a question regarding opencart 3 version
Was looking into admin/view/template/sale/order_info.twig
Code: Select all
{% for product in products %}
<tr>
<td class="text-left"><a href="{{ product.href }}">{{ product.name }}</a> {% for option in product.option %} <br />
{% if option.type != 'file' %}
<small> - {{ option.name }}: {{ option.value }}</small> {% else %}
<small> - {{ option.name }}: <a href="{{ option.href }}">{{ option.value }}</a></small> {% endif %}
{% endfor %}</td>
<td class="text-left">{{ product.model }}</td>
<td class="text-right">{{ product.quantity }}</td>
<td class="text-right">{{ product.price }}</td>
<td class="text-right">{{ product.total }}</td>
</tr>
{% endfor %}
Code: Select all
{{ product.name }}
Code: Select all
{{ firstname }}
Code: Select all
<td><a href="https://wa.me/9{{ telephone }}?text=Hi {{ firstname }} {{ lastname }}," target="_blank">{{ telephone }}</a></td>