1

I am using Magento 1.9.0.1 and i have installed this module: http://www.magentocommerce.com/magento-connect/manage-customer-attributes.html

I've created attribute with attribute code sms_promo

My question is how can i select this attribute information in PHP ?

  • 1
    what you mean by select? – Amit Bera Jul 2 '15 at 14:14
  • Something like this: $customer->getResource()->getAttribute('sms_promo')->getFrontend()->getValue($customer); – Venelin Vasilev Jul 2 '15 at 14:15
  • can you please show your code as $customer->getResource()->getAttribute('sms_promo')->getFrontend()->getValue($c‌​ustomer); is ok – Amit Bera Jul 2 '15 at 14:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.