5
Nilai default dari atribut produk turun turun 'ya / tidak'
Saya memasang atribut dengan skrip berikut: $installer = $this; $installer->startSetup(); $installer->removeAttribute('catalog_product', 'customizableonly'); $installer->addAttribute('catalog_product', 'customizableonly', array( 'group' => 'General', 'input' => 'select', 'type' => 'int', 'label' => 'Customizable Only', 'source' => 'eav/entity_attribute_source_boolean', 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL, 'visible' => 1, 'required' => 0, 'visible_on_front' => 0, 'is_html_allowed_on_front' => 0, 'is_configurable' => 0, 'searchable' …