magento数据库结构?
目前正在与magento项目合作.. 我一直坚持这一点.. 那是当管理员添加任何子类别/类别时 按
管理类别-> 客户设计
这里的
提供了两个选项,例如Active from和Active to.. 了解magento数据库的任何人都可以告诉我这两个值存储在哪里或在哪个表中
感谢您的任何建议或帮助!
Currently am working with magento project..
in which i have stucked on the point ..
that is when admin add any subcategory/category
by
Manage category -> custome design
here its gives two option like
Active from and Active to..
can anyone, who know about magento database, tell me where or in which table this two value store
Thanks for any suggestion or help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我在下面列出了目录类别的属性。由于类别是 EAV 类型,因此您需要查看特定的子表来获取您的值。在本例中,
custom_design_from
和custom_design_to
是日期时间值,实体名称为catalog_category_entity
,因此您想要的表为Catalog_category_entity_datetime
。您将发现的下一个问题是获取正确的属性 ID。由于它们可能会发生变化,因此需要运行以下 SQL 查询来获取它们:
我得到 52 和 53,但得到 YMWV。希望有帮助!
谢谢,
乔
I've listed the attributes for catalog categories below. Since categories are an EAV type, you'll need to look in a particular subtable to get your values. In this case,
custom_design_from
andcustom_design_to
are datetime values, and the name of your entity iscatalog_category_entity
, so the table you want iscatalog_category_entity_datetime
.Next problem you'll find is getting the right attribute ID. Since they're liable to change, here's the SQL query to run in order to grab them:
I get 52 and 53, but YMWV. Hope that helps!
Thanks,
Joe
检查上面的表格,其中entity_id的值是您的类别ID,attribute_id是57,并且活动值存储在表的
value
字段中,相同的活动值存储在value
中其中entity_id字段是你的类别id,attribute_id是58。Check above table with row like value of entity_id is your category id, attribute_id is 57 and active from value is store in
value
field of table same active to value is stored invalue
field with entity_id is your category id, attribute_id is 58.