1
如何添加属性到magento中的某个类别?如何使用sql将属性添加到magento中的类别?
我看了一些教程,他们说只是将两个记录,但不工作 有了很大的变化,并与价值观玩,但还是没有结果
每次更改后,我已清除缓存,以便被NOG我正在与Magento的1.5和平坦表工作的问题
插入的下一个querys并与值测试
INSERT INTO `eav_attribute`
(
`attribute_id`,
`entity_type_id`,
`attribute_code`,
`attribute_model`,
`backend_model`,
`backend_type`,
`backend_table`,
`frontend_model`,
`frontend_input`,
`frontend_label`,
`frontend_class`,
`source_model`,
`is_required`,
`is_user_defined`,
`default_value`,
`is_unique`,
`note`
)
VALUES
(
158,
3,
'uitslag',
NULL,
'',
'varchar',
'',
'',
'text',
'Uitslag',
'',
'',
1,
0,
'',
0,
''
);
而且
INSERT INTO `eav_entity_attribute`
(
`entity_attribute_id`,
`entity_type_id`,
`attribute_set_id`,
`attribute_group_id`,
`attribute_id`,
`sort_order`
)
VALUES
(
158,
3,
3,
3,
158,
61
);
任何一个想法?
在此先感谢
嗯,那么catalog_category_entity *表呢? – Zyava