Fabians small Magento world
  • Home
Subscribe
Tagged

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

  • Fabian Blechschmidt
Fabian Blechschmidt 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(

  • Fabian Blechschmidt
Fabian Blechschmidt Nov 24, 2012 • 1 min read
Magento

EAV attributes, default values and source models

EAV Attribute I tried to add an EAV attribut, 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 the values

  • Fabian Blechschmidt
Fabian Blechschmidt Oct 29, 2012 • 1 min read
Fabians small Magento world © 2022
Powered by Ghost