attribute

  1. Magento: Load a Product by an Attribute

    Magento: Load a Product by an Attribute

    Today I'm discussing about the Load a product by an attribute filter. At this point we assume that you have set up a new attribute, added it to the appropriate attribute set and set the...

    Read more »
  2. Magento: Installer script to remove the customer attribute & data by code

    Magento: Installer script to remove the customer attribute & data by code

    Installer script to remove the customer attribute & data by code.

    [php]
    $setup = Mage::getModel('customer/entity_setup', 'core_setup');

    $attributeId = $setup->getAttributeId('customer'...

    Read more »