Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
要更改标题和标签,需要知道的一个好技巧是内联翻译。
对于产品布局,您只需要了解一点 CSS 即可。在网络上搜索“css 水平列表”。
To change titles and labels a good trick to know is Inline Translation.
For the products layout you only need to know a little CSS. Search the web for "css horizontal list".
因此,我没有使用“相关产品”选项卡(在管理 -> 管理产品中),而是使用“追加销售产品”选项卡并在其中选择产品。然后我通过以下方式更改了标题:
/public_html/store/app/design/frontend/default/storedesign/template/catalog/product/list/upsell.phtml
没有人会知道其中的区别:) 更改 CSS 对我来说不起作用,而且我知道足够的 CSS 来更改但它似乎是被编码进去的。Magento 有太多的文件,让我自己无法承受。
So instead of using "related products" tab (in admin -> manage products), I used the "upsell products" tab and chose products in there. Then i changed the title through:
/public_html/store/app/design/frontend/default/storedesign/template/catalog/product/list/upsell.phtml
No one will know the difference :) Changing the CSS did not work for me, and I know enough CSS to change it but it seemed like it was coded in. Magento has way too many files to stress myself over it.