要修改的文件:
/catalog/view/theme/journal3/template/product.twig
行274:
<div class="product-price">{{ price }}</div>
{% else %}
<div class="product-price-new">{{ special }}</div>
<div class="product-price-old">{{ price }}</div>
改成:
<div class="custom-price">Your custom text:<br></div><div class="product-price">{{ price }}</div>
{% else %}
<div class="product-price-new">{{ special }}</div>
<div class="custom-price">Your custom text:<br></div><div class="product-price-old">{{ price }}</div>
<div class="custom-price">Your custom text:<br></div><div class="product-price">{{ price }}</div>
{% else %}
<div class="product-price-new">{{ special }}</div>
<div class="custom-price">Your custom text:<br></div><div class="product-price-old">{{ price }}</div>
粗体部分为新增代码。