首页 > 解决方案 > journal3(opencart 的模板)iframe 在哪里?我怎样才能改变它?

问题描述

我在管理面板中寻找 .twig 文件或部分,但nt find nothing. I want to change layout in this iframe. OpenCart version 3 on the twig. This为调用 iframe 做了 s 按钮:

<a class="btn btn-cart" 
data-toggle="tooltip" 
data-tooltip-class="module-products-27 
module-products-grid cart-tooltip"
data-placement="top"
onclick="cart.add('360', $(this).closest('.product-thumb').find('.button-group 
 input[name=\'quantity\']').val());" 
data-loading-text="<span class='btn-text'>Buy</span>" 
data-original-title="Buy"><span class="btn-text">Buy</span>
</a>

标签: twigopencartopencart-3journalopencart-events

解决方案


如果您想替换文本、图标和样式:

您将在语言文件catalog/language/en-gb/en-gb.php行中找到购物车按钮文本

$_['button_cart']           = 'Add to Cart';

产品页面

此按钮的图标和设置您将在

期刊 > 样式 > 产品页面 > 默认

在此设置页面上找到按钮 > 添加到购物车

产品网格

此按钮的图标和设置您将在

期刊 > 样式 > 产品网格 > 默认

在此设置页面上找到按钮组 > 添加到购物车


推荐阅读