我已经安装了Magento 1.9.1.0而没有示例数据,但在管理员中,添加或编辑类别页面没有缩略图图像字段。我怎样才能显示在管理类别提交的缩略图? Magento类别缩略图字段未在管理员中显示
回答
与1.9有同样的问题,但设法通过手动将属性直接插入数据库来解决它。检查以下三个表格eav_attribute,catalog_eav_attribute,eav_entity_attribute的image
属性(我的ID为45),并相应地复制它的缩略图。希望这会有所帮助。
我通过运行在我的phpMyAdmin的以下查询解决此问题,
1)
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(140, 3, 'thumbnail', NULL,
'catalog/category_attribute_backend_image', 'varchar', NULL, NULL, 'image', 'Thumbnail
Image', NULL, NULL, 0, 0, NULL, 0, NULL);
2)
INSERT INTO `catalog_eav_attribute` (`attribute_id`, `frontend_input_renderer`,
`is_global`, `is_visible`, `is_searchable`, `is_filterable`, `is_comparable`,
`is_visible_on_front`, `is_html_allowed_on_front`, `is_used_for_price_rules`,
`is_filterable_in_search`, `used_in_product_listing`, `used_for_sort_by`,
`is_configurable`, `apply_to`, `is_visible_in_advanced_search`, `position`,
`is_wysiwyg_enabled`, `is_used_for_promo_rules`) VALUES
(140, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0);
3)
INSERT INTO `eav_entity_attribute` (`entity_attribute_id`, `entity_type_id`,
`attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`)
VALUES (337, 3, 3, 4, 140, 3);
在这里,我我使用attribute_id作为140,在这些查询中使用一个唯一的值作为ID
您有可能为@Shijin解释一点这段代码吗?提前致谢。 – 2015-02-19 21:43:53
最简单的解决方案是激活Mage_XmlConnect模块,从1.9.1.0开始此模块默认为非活动状态。您可以通过修改
应用程序的/ etc /模块/ Mage_XmlConnect.xml
变化<active>
标签从假到真正
不起作用。至少不在Magento 1.9.2.1上 – Paktas 2015-10-25 17:14:59
适用于Magento 1.9.2.2。您可以再次禁用模块。 – 2016-01-15 14:43:16
- 1. Magento的类别缩略图
- 2. Magento:管理员类别表单不显示
- 3. 的Magento没有显示在管理员
- 4. 未显示Magento类别。
- 5. PDF缩略图未显示
- 6. Magento 1.7缩略图图像不显示
- 7. 如何让管理员在magento中显示私密和公开的类别?
- 8. 类别在产品更新时未显示在magento管理面板中
- 9. Magento管理员:在添加布局后未显示新块
- 10. 缩略图现在显示在Django管理列表视图
- 11. Magento - 管理员字段的默认值
- 12. 如何使用Magento中的getThumbnailUrl()从类别中显示缩略图
- 13. Magento管理员网址显示404
- 14. 在opencart中显示category.tpl模块中的类别缩略图?
- 15. 如何按类别显示类别缩略图
- 16. magento管理页面不显示在管理员
- 17. 如何在wordpress后缩略图中显示类别?
- 18. Django管理员,使用easy_thumbnails显示上传图片旁边的缩略图
- 19. Magento产品图像不显示在管理员
- 20. Magento提示未激活管理员开发人员暗示
- 21. Magento不显示管理中的所有类别
- 22. Magento 1.9.1.0在类别菜单中没有缩略图
- 23. 缩略图没有显示在Django管理界面
- 24. Bootstrap缩略图列表未显示缩略图
- 25. 仅显示在类别页面中显示缩略图的标题
- 26. 管理员菜单中的高亮显示在magento中
- 27. Magento管理类别树
- 28. 管理类别损坏Magento
- 29. 谷歌,加上片段 - 图片缩略图未显示
- 30. 在FBDialog中未显示缩略图图像在IOS中共享
你找到答案值激活此模块,我有同样的问题 – someone 2015-01-04 14:54:33
不是。但为了获得缩略图字段,我只需安装示例数据,然后截断产品,类别,订单和属性表。通过删除这些数据和缩略图字段保持可见 – 2015-01-06 07:20:30
thanx我会尝试 – someone 2015-01-06 07:48:01