产品属性和属性选项如何存储在Magento数据库中? [英] How are product attributes and attribute options stored in Magento database?

查看:113
本文介绍了产品属性和属性选项如何存储在Magento数据库中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图弄清楚如何在Magento中实现属性和属性选项以及产品和属性之间的链接.有什么参考这是如何工作的吗?或有人给我一个提示.

I am trying to figure out how the linkage between attribute and attribute options, and product and attributes are made in Magento. Is there any reference to how this is working? or anyone give me a hint on this.

谢谢

巴兰

推荐答案

正如Alan Storm所说:您不必了解数据库的工作原理.您必须学习模型的工作原理". (这不是确切的报价.我给你的意思是.)

As Alan Storm says: "you do not have to know about how your db works. You have to learn how the models work ". (This is not an exact quote. I gave you the meaning).

但是我创建了自己的方案来理解数据库结构.因此,此屏幕显示了它是如何工作的:

But I created own scheme to understand the DB structure. So this screen shows how it works:

希望,会有所帮助.

我也建议您浏览以下链接:

Also I recommend you to look through these links:

http://www.magentocommerce.com/wiki/2_-_magento_concepts_and_architecture/magento_database_

http://alanstorm.com/magento_advanced_orm_entity_attribute_value_part_1

这篇关于产品属性和属性选项如何存储在Magento数据库中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆