wonderfan / magento

Magento Theme and Module Development
http://www.wonderfan.github.io
1 stars 2 forks source link

advanced product options #24

Closed wonderfan closed 9 years ago

wonderfan commented 9 years ago

The options data can be exported, imported and migrated.

wonderfan commented 9 years ago

In the js file, the class and object are used.

wonderfan commented 9 years ago

The anatomy of configuration file:

  1. The parent node is config
  2. declare the version in the modules node;
  3. add the translate file inside the frontend node;
  4. define the routers inside the frontend node;
  5. add the layout update file;
  6. listen the order save, block to html and product collection load events in the scope of frontend side;
  7. listen the product qty and order item event in the global level
  8. in the models tag, specify the model class and entities;
  9. use rewrite to override the product options model and other resource model;
  10. The import and export product models are also rewritten.
  11. Some of blocks and helpers are also overridden;
  12. In the admin tag, add the events, menu and layout update