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.
我在如何显示类别的某个部分时遇到问题。
例如,我想获取类别的名称,即
$_category->getName()
获取链接将是
$_category->getURL()
我想显示一些部分,但不知道要调用的特定函数是什么。有谁知道我可以找到它的图书馆的网站?
$_category->getName() $_category->getURL() $_category->getImageUrl()
等等?
最好的地方是在文档中......:http ://docs.magentocommerce.com/Mage_Catalog/Mage_Catalog_Model_Category.html