Fabians small Magento world
  • Home
Sign in Subscribe

Sourcemodel

A collection of 2 posts
Sourcemodel

Custom Product Attributes, Source Models and Flat Tables

How to add an attribute to product_flat_table Either one of the following attribute settings is true: * backend_typ = 'static' * is_filterable > 0 * used_in_product_listing = 1 * is_used_for_promo_rules= 1 * used_for_sort_by = 1 Or you add it manually by observing
13 Jul 2017 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&
29 Oct 2012 1 min read
Page 1 of 1
Fabians small Magento world © 2025
Powered by Ghost