V
V
vlad_was_here2014-04-23 10:55:18
Magento
vlad_was_here, 2014-04-23 10:55:18

How to make product loading in magento using a separate script?

Good afternoon.
Tell me how to implement adding products to magento using a separate script?
Goods will come to the server in a zip archive, which will be opened and everything you need will be selected from it - data and images.
How to implement adding products to the database?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Fedyuk, 2014-04-24
@dfediuk

Directly in Magento Community Edition, 3 scenarios are implemented, where goods are added to the online store database.
1) script for adding a product to the online store manually by the administrator :
2) a script for programmatically remotely adding a product to an online store by an administrator using SOAP / XML-RPC protocols :
version 1:

Mage_Catalog_Model_Api2_Product_Rest_Admin_V1::_create()
version 2 (according to the WS-I standard): Mage_Catalog_Model_Product_Api_V2::create()
3) script for batch import of goods into an online store from CSV / Excel files :
version 1 (according to Magento Dataflow technology):
Mage_Catalog_Model_Convert_Adapter_Product::saveRow()
version 2 (appeared in the Magento core later as an accelerated alternative to Magento Dataflow, works with the database at a low level, I do not recommend it for initial training):
In the Russian assembly of Magento (paid, but the source code is completely open), in addition to the scenarios of Magento Community Edition, there is a script for importing goods from the accounting systems " 1C: Trade Management " and " MyStorage " that fully matches your description:
goods will come to the server in a zip archive, which will be opened and everything you need will be selected from it - data and images

import of simple goods is implemented in the method:
import of complex goods (goods with customizable options, in the context of which separate warehouse accounting is maintained):
Df_1C_Model_Cml2_Import_Processor_Product_Type_Configurable::process()

S
Sl0n1k911, 2014-05-19
@Sl0n1k911

Have a look at this: Magmi is the best way to import products into Magento
PS Read about "Russian Magento build" here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question