Fabians small Magento world
  • Home
Sign in Subscribe

EAV

A collection of 3 posts
Magento

Joining a flat table on EAV

How to use the Mage_Eav_Model_Entity_Collection_Abstract::joinTable() method to join a flat table on a magento EAV collection Joining a "normal" (aka flat table) to a magento EAV table is easy - if you know how to do. As always there are a lot resources with
Jan 6, 2013 3 min read
EAV

Remove Values From Attribute

Today I had to change the values of a magento product attribute. Attribute before I had an attribute color with the values: * aqua * black * blue * fuchsia * ... (all other CSS2.1 color names) And I had to change it to german values. So I had a look into $installer->addAttribute() the
Nov 24, 2012 1 min read
Magento

EAV attributes, default values and source models

EAV Attribute I tried to add an EAV attribut [http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-7-advanced-orm-entity-attribute-value] , set a default value and that without using a source model, set this options: $this->addAttribute('customer', 'customer_type', array( 'type' => 'int' 'option' => array('values' => array('Customer', 'Artist')) 'default' => 'Customer', [...] ); Default value Magento adds
Oct 29, 2012 1 min read
Page 1 of 1
Fabians small Magento world © 2023
Powered by Ghost