twig - 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>
解决方案
如果您想替换文本、图标和样式:
您将在语言文件catalog/language/en-gb/en-gb.php行中找到购物车按钮文本
$_['button_cart'] = 'Add to Cart';
产品页面
此按钮的图标和设置您将在
期刊 > 样式 > 产品页面 > 默认
在此设置页面上找到按钮 > 添加到购物车
产品网格
此按钮的图标和设置您将在
期刊 > 样式 > 产品网格 > 默认
在此设置页面上找到按钮组 > 添加到购物车
推荐阅读
- java - 泛型能力问题:地图
在签名中没有 K 和 V 的类/方法内部 - django - '在此服务器上未找到请求的资源。' django-rest-framework 和 pythonanywhere 中的错误
- amazon-cognito - 如何查看调用 AWS Cognito 功能(例如注册和登录)的日志?
- django - 如果 for 语句为空,则隐藏标题
- reactjs - Tailwind/typography 如何在 React 项目中与 markdown-it 配合使用?
- azure - 面向来宾的 Azure 许可和 MFA
- python - 烧瓶 set_cookie 没有延续到其他路线
- asp.net - 原因:xxx.aspx 没有预编译,无法请求(是预编译的)
- c# - C#如何正确读取/显示所有监视器
- reactjs - 是否可以将 react-components 和 eslint-plugin 捆绑到同一个 repo 中?