【问题标题】:where is in journal3 (template for opencart) iframe? And how can I changing it?journal3(opencart 的模板)iframe 在哪里?我怎样才能改变它?
【发布时间】:2020-06-17 10:44:43
【问题描述】:

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

<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>

【问题讨论】:

  • 您到底想改变什么?这不是iframe。它只是添加到购物车按钮。你有一个实时网站上的链接吗?
  • shoploft.swipe-time.com - 产品微型按钮

标签: twig opencart opencart-3 journal opencart-events


【解决方案1】:

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

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

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

产品页面

您可以在

中找到此按钮的图标和设置

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

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

产品网格

您可以在

中找到此按钮的图标和设置

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-10-17
    • 2022-10-01
    • 2022-01-24
    • 1970-01-01
    • 1970-01-01
    • 2014-01-28
    • 2017-01-30
    相关资源
    最近更新 更多