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