journal3(opencart的模板)iframe在哪里?我该如何更改?

问题描述 投票:1回答:1

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

<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>
twig opencart opencart-3 journal opencart-events
1个回答
0
投票

如果您希望替换文字,图标和样式:

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

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

产品页面

您将在]中找到的该按钮的图标和设置>

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

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

PRODUCT GRID

您将在]中找到的该按钮的图标和设置>

Journal>样式>产品网格>默认

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

© www.soinside.com 2019 - 2024. All rights reserved.