Programmatically add Magento products to categories

后端 未结 7 1904
执念已碎
执念已碎 2020-12-24 14:31

I am using Magento 1.4.0.1. I have over 21000 simple products, each entered into a single category. There are hundreds of categories in my site. Some products belong in mult

相关标签:
7条回答
  • 2020-12-24 15:12

    You can write a module (which takes time but potentially quicker at importing your data) or you can put something together with the API (less involving of Magento programming but potentially slower at importing your data).

    Your starting point of what-you-know-already, how valuable your time is and how often you will need to run the update should determine your choice.

    Here is the Magento API documentation for adding products to categories (see example at foot of page):

    http://www.magentocommerce.com/wiki/doc/webservices-api/api/catalog_category

    0 讨论(0)
提交回复
热议问题