Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Magento 的一个网站上工作,默认情况下,它将类别列为“类别”。但是,我希望将其更改为“品种”。
关于如何做到这一点的任何想法?
谢谢,杰夫
在 app/design/frontend/default/THEME/template/catalog/layer/view.phtml 中,将第 47 行替换为:
<dt><?= $this->__($_filter->getName()) == 'Category' ? 'Breeds' : $this->__($_filter->getName()) ?></dt>