2011-12-31 71 views

回答

6

根據文檔,此功能會給你產品重寫後綴。它需要一個可選參數,即商店ID。

鏈接指向的類是幫助器,這意味着您可以在模板文件中訪問它。

先拿到幫手,然後調用函數。

$helper = Mage::helper('catalog/product'); 
$suffix = $helper->getProductUrlSuffix(); // may have particular store ID 
相關問題