-
- jsperri

-
Total Posts: 126
Joined: 2007-08-31
Fistufle
|
First, you should have a look at the Entity-Attribute-Value model concept.
See for example: http://en.wikipedia.org/wiki/Entity-Attribute-Value_model
Then have a look at sales_order_entity table that gives you the order entities relations (see entity_id, parent_id columns). Then lookup references to the other sales_order_entity_* tables which give you the values for the entities on the different attributes. You should check eav_attribute for the definition of these attributes.
Well, this requires a small effort to understand, but in the end, it’s quite straightforward.
Still, it’s not recommended to interact directly with the database, as it can change between Magento versions.
Would be wiser to build on the code objets, or future webservices that may be available…
|