Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

РЕШЕНО - Как получить значение Manufacturer для продукта? 
 
topgunww2
Jr. Member
 
Total Posts:  17
Joined:  2008-09-29
 

Как получить значение Manufacturer для продукта?
Каким методом класса Mage_Catalog_Model_Product ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
retif
Sr. Member
 
Total Posts:  171
Joined:  2008-08-16
Odessa, Ukraine
 

$product->getManufacturer();

 
Magento Community Magento Community
Magento Community
Magento Community
 
topgunww2
Jr. Member
 
Total Posts:  17
Joined:  2008-09-29
 

Спасибо, но это

retif - 19 December 2008 09:24 AM

$product->getManufacturer();

вернет id, а мне нужно значение…
Вот так получилось:
$_brand = $_product->getAttributeText(’manufacturer’);
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top