好的!我從過去的兩週開始研究這個magento項目。這是我的第一個magento應用程序。在前端添加magento自定義屬性
我加入的後端一些新的屬性爲Magento的產品像這樣的....
Backend -> Catalog -> Manage Products -> 'Selected one product' -> General setting -> Create New Attribute
假設我添加locking
(屬性碼)現在這裏的屬性在後端我希望在產品着陸頁的前端顯示此屬性。
我試過這樣該呼叫 frontend\mgstheme\luxury\template\catalog/product/view/description.phtml
<?php echo $_product->getLocking(); ?>
,但它是不可見
難道我做錯了嗎?如果有,請告訴我
所以在我做了這個改變之後,我必須調用像'<?php echo $ _product-> getLocking()這樣的屬性。 ?>對嗎? – parish
是的,應該幫助 –
酷!我會盡量讓你知道。謝謝 – parish