哪些文件需要在CS-购物车中编辑,这样我才能将产品标题显示为类别中的H2?
这就是好鳕鱼?
<h2 class="ty-product-list__item-name">
{assign var="name" value="name_$obj_id"}
{$smarty.capture.$name nofilter}
</h2>
发布于 2022-07-30 09:55:34
你的问题是个将军。你用的是什么CS-购物车版本?您能发送网站类别页面的链接吗?这样我就可以看到您想要更改为h1的h2了吗?通常,您可以在此路径中找到h1 html标记:
design/themes/responsive/templates/blocks/wrappers/mainbox_general.tpl
响应是fedault主题cs-cart正在使用的地方(除非您已经更改为另一个主题),而mainbox_general.tpl是块中的五个下拉选项之一。
mainbox_general.tpl
mainbox_simple.tpl
onclick_dropdown.tpl
sidebox_general.tpl
sidebox_important.tpl
上面的tpl文件是块内部在“布局->布局”、“类别”选项卡“主内容”块中的选项。
https://stackoverflow.com/questions/72921922
复制相似问题