Import Product Information from MSSQL to MySQL (or Magento)












0















I have Products Information stored in MSSQL database and i want this Product Information into Magento or MySQL database.










share|improve this question





























    0















    I have Products Information stored in MSSQL database and i want this Product Information into Magento or MySQL database.










    share|improve this question



























      0












      0








      0








      I have Products Information stored in MSSQL database and i want this Product Information into Magento or MySQL database.










      share|improve this question
















      I have Products Information stored in MSSQL database and i want this Product Information into Magento or MySQL database.







      product database import mssql






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 27 mins ago









      Teja Bhagavan Kollepara

      2,95841847




      2,95841847










      asked Jan 18 '16 at 12:02









      Pradeep SankuPradeep Sanku

      7,86613156




      7,86613156






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Our erp system is running on ms sql server.



          On daily base we export all sku for the magento online shop with a sql script based on a erp sales price list.



          The export contains the sku number, short description, long description, prices and stock level.



          In addition we added some online shop related settings in the erp system e.g. catalog, increments, discontinued, replaced-by, update-selling, cross-selling. This settings control the sku behaviour in the shop.



          The csv data is transfered with winscp to the linux based magento server.



          The import is managed by MAGMI (free of charge) triggered by crontab.



          http://wiki.magmi.org/index.php?title=Main_Page


          Please be aware to make a safe magmi configuration.



          The magmi importer tries to match existing pictures (same name es sku.jpg) on the magento server.



          We use 2 store views and import language related information with a second magmi import.



          We use this solution for about 5000 sku, the process is running very stable. The sku are automatically added or updated. The insert / update is very fast, the indexing takes some time. For the 5000 parts the daily update is finished after 1 hour (including magento full backup before with 10 minutes).






          share|improve this answer


























          • erp (enterprise ressource planning) is the software to run the company (sales, purchase, production, finance, service). Magmi is an open source magento mass importer program. You can run it with a webinterface or script based. Enclosed the link http://sourceforge.net/projects/magmi/ and a weblink with some inforamtion https://www.phpro.be/news/magmi-magento-mass-importer.

            – Kozure
            Jan 20 '16 at 8:00





















          0














          I had used magento Soap API V2 and installed mssql driver to import products to magento (mysql). I had imported using following steps



          Step 1:- Installed MSSQL Driver on my server. and connected to the Mssql database with query



          Step 2:- Fetched the products data from the product table at MSSQL table. Using simple select query and looped the records and used in step 3.



          Step 3:- Used magento Soap api v2 for creating products at Magento



          $client = new SoapClient('http://yourmagentohost.com/index.php/api/v2_soap?wsdl=1');
          $session = $client->login('yourapiusername','yourapipassword');

          $client->catalogProductCreate($session, 'simple', $set, $sku, array(
          'categories' => array(2),
          'websites' => array(1),
          'name' => $row['name'],
          'description' => $row['description'],
          'short_description' => $row['short_description'],
          'weight' => $row['weight'],
          'status' => '2',
          'visibility' => '4',
          'price' => $row['price'],
          'tax_class_id' => 1,
          'meta_title' => '',
          'meta_keyword' => '',
          'meta_description' => '',
          'additional_attributes' => array(
          'single_data' => array(
          array('key'=>'brand', 'value'=>$row['brand']),
          array('key'=>'model', 'value'=>$row['model']),
          ),
          )
          ));





          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "479"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f97820%2fimport-product-information-from-mssql-to-mysql-or-magento%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Our erp system is running on ms sql server.



            On daily base we export all sku for the magento online shop with a sql script based on a erp sales price list.



            The export contains the sku number, short description, long description, prices and stock level.



            In addition we added some online shop related settings in the erp system e.g. catalog, increments, discontinued, replaced-by, update-selling, cross-selling. This settings control the sku behaviour in the shop.



            The csv data is transfered with winscp to the linux based magento server.



            The import is managed by MAGMI (free of charge) triggered by crontab.



            http://wiki.magmi.org/index.php?title=Main_Page


            Please be aware to make a safe magmi configuration.



            The magmi importer tries to match existing pictures (same name es sku.jpg) on the magento server.



            We use 2 store views and import language related information with a second magmi import.



            We use this solution for about 5000 sku, the process is running very stable. The sku are automatically added or updated. The insert / update is very fast, the indexing takes some time. For the 5000 parts the daily update is finished after 1 hour (including magento full backup before with 10 minutes).






            share|improve this answer


























            • erp (enterprise ressource planning) is the software to run the company (sales, purchase, production, finance, service). Magmi is an open source magento mass importer program. You can run it with a webinterface or script based. Enclosed the link http://sourceforge.net/projects/magmi/ and a weblink with some inforamtion https://www.phpro.be/news/magmi-magento-mass-importer.

              – Kozure
              Jan 20 '16 at 8:00


















            0














            Our erp system is running on ms sql server.



            On daily base we export all sku for the magento online shop with a sql script based on a erp sales price list.



            The export contains the sku number, short description, long description, prices and stock level.



            In addition we added some online shop related settings in the erp system e.g. catalog, increments, discontinued, replaced-by, update-selling, cross-selling. This settings control the sku behaviour in the shop.



            The csv data is transfered with winscp to the linux based magento server.



            The import is managed by MAGMI (free of charge) triggered by crontab.



            http://wiki.magmi.org/index.php?title=Main_Page


            Please be aware to make a safe magmi configuration.



            The magmi importer tries to match existing pictures (same name es sku.jpg) on the magento server.



            We use 2 store views and import language related information with a second magmi import.



            We use this solution for about 5000 sku, the process is running very stable. The sku are automatically added or updated. The insert / update is very fast, the indexing takes some time. For the 5000 parts the daily update is finished after 1 hour (including magento full backup before with 10 minutes).






            share|improve this answer


























            • erp (enterprise ressource planning) is the software to run the company (sales, purchase, production, finance, service). Magmi is an open source magento mass importer program. You can run it with a webinterface or script based. Enclosed the link http://sourceforge.net/projects/magmi/ and a weblink with some inforamtion https://www.phpro.be/news/magmi-magento-mass-importer.

              – Kozure
              Jan 20 '16 at 8:00
















            0












            0








            0







            Our erp system is running on ms sql server.



            On daily base we export all sku for the magento online shop with a sql script based on a erp sales price list.



            The export contains the sku number, short description, long description, prices and stock level.



            In addition we added some online shop related settings in the erp system e.g. catalog, increments, discontinued, replaced-by, update-selling, cross-selling. This settings control the sku behaviour in the shop.



            The csv data is transfered with winscp to the linux based magento server.



            The import is managed by MAGMI (free of charge) triggered by crontab.



            http://wiki.magmi.org/index.php?title=Main_Page


            Please be aware to make a safe magmi configuration.



            The magmi importer tries to match existing pictures (same name es sku.jpg) on the magento server.



            We use 2 store views and import language related information with a second magmi import.



            We use this solution for about 5000 sku, the process is running very stable. The sku are automatically added or updated. The insert / update is very fast, the indexing takes some time. For the 5000 parts the daily update is finished after 1 hour (including magento full backup before with 10 minutes).






            share|improve this answer















            Our erp system is running on ms sql server.



            On daily base we export all sku for the magento online shop with a sql script based on a erp sales price list.



            The export contains the sku number, short description, long description, prices and stock level.



            In addition we added some online shop related settings in the erp system e.g. catalog, increments, discontinued, replaced-by, update-selling, cross-selling. This settings control the sku behaviour in the shop.



            The csv data is transfered with winscp to the linux based magento server.



            The import is managed by MAGMI (free of charge) triggered by crontab.



            http://wiki.magmi.org/index.php?title=Main_Page


            Please be aware to make a safe magmi configuration.



            The magmi importer tries to match existing pictures (same name es sku.jpg) on the magento server.



            We use 2 store views and import language related information with a second magmi import.



            We use this solution for about 5000 sku, the process is running very stable. The sku are automatically added or updated. The insert / update is very fast, the indexing takes some time. For the 5000 parts the daily update is finished after 1 hour (including magento full backup before with 10 minutes).







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 19 '16 at 10:34

























            answered Jan 19 '16 at 10:23









            KozureKozure

            13510




            13510













            • erp (enterprise ressource planning) is the software to run the company (sales, purchase, production, finance, service). Magmi is an open source magento mass importer program. You can run it with a webinterface or script based. Enclosed the link http://sourceforge.net/projects/magmi/ and a weblink with some inforamtion https://www.phpro.be/news/magmi-magento-mass-importer.

              – Kozure
              Jan 20 '16 at 8:00





















            • erp (enterprise ressource planning) is the software to run the company (sales, purchase, production, finance, service). Magmi is an open source magento mass importer program. You can run it with a webinterface or script based. Enclosed the link http://sourceforge.net/projects/magmi/ and a weblink with some inforamtion https://www.phpro.be/news/magmi-magento-mass-importer.

              – Kozure
              Jan 20 '16 at 8:00



















            erp (enterprise ressource planning) is the software to run the company (sales, purchase, production, finance, service). Magmi is an open source magento mass importer program. You can run it with a webinterface or script based. Enclosed the link http://sourceforge.net/projects/magmi/ and a weblink with some inforamtion https://www.phpro.be/news/magmi-magento-mass-importer.

            – Kozure
            Jan 20 '16 at 8:00







            erp (enterprise ressource planning) is the software to run the company (sales, purchase, production, finance, service). Magmi is an open source magento mass importer program. You can run it with a webinterface or script based. Enclosed the link http://sourceforge.net/projects/magmi/ and a weblink with some inforamtion https://www.phpro.be/news/magmi-magento-mass-importer.

            – Kozure
            Jan 20 '16 at 8:00















            0














            I had used magento Soap API V2 and installed mssql driver to import products to magento (mysql). I had imported using following steps



            Step 1:- Installed MSSQL Driver on my server. and connected to the Mssql database with query



            Step 2:- Fetched the products data from the product table at MSSQL table. Using simple select query and looped the records and used in step 3.



            Step 3:- Used magento Soap api v2 for creating products at Magento



            $client = new SoapClient('http://yourmagentohost.com/index.php/api/v2_soap?wsdl=1');
            $session = $client->login('yourapiusername','yourapipassword');

            $client->catalogProductCreate($session, 'simple', $set, $sku, array(
            'categories' => array(2),
            'websites' => array(1),
            'name' => $row['name'],
            'description' => $row['description'],
            'short_description' => $row['short_description'],
            'weight' => $row['weight'],
            'status' => '2',
            'visibility' => '4',
            'price' => $row['price'],
            'tax_class_id' => 1,
            'meta_title' => '',
            'meta_keyword' => '',
            'meta_description' => '',
            'additional_attributes' => array(
            'single_data' => array(
            array('key'=>'brand', 'value'=>$row['brand']),
            array('key'=>'model', 'value'=>$row['model']),
            ),
            )
            ));





            share|improve this answer






























              0














              I had used magento Soap API V2 and installed mssql driver to import products to magento (mysql). I had imported using following steps



              Step 1:- Installed MSSQL Driver on my server. and connected to the Mssql database with query



              Step 2:- Fetched the products data from the product table at MSSQL table. Using simple select query and looped the records and used in step 3.



              Step 3:- Used magento Soap api v2 for creating products at Magento



              $client = new SoapClient('http://yourmagentohost.com/index.php/api/v2_soap?wsdl=1');
              $session = $client->login('yourapiusername','yourapipassword');

              $client->catalogProductCreate($session, 'simple', $set, $sku, array(
              'categories' => array(2),
              'websites' => array(1),
              'name' => $row['name'],
              'description' => $row['description'],
              'short_description' => $row['short_description'],
              'weight' => $row['weight'],
              'status' => '2',
              'visibility' => '4',
              'price' => $row['price'],
              'tax_class_id' => 1,
              'meta_title' => '',
              'meta_keyword' => '',
              'meta_description' => '',
              'additional_attributes' => array(
              'single_data' => array(
              array('key'=>'brand', 'value'=>$row['brand']),
              array('key'=>'model', 'value'=>$row['model']),
              ),
              )
              ));





              share|improve this answer




























                0












                0








                0







                I had used magento Soap API V2 and installed mssql driver to import products to magento (mysql). I had imported using following steps



                Step 1:- Installed MSSQL Driver on my server. and connected to the Mssql database with query



                Step 2:- Fetched the products data from the product table at MSSQL table. Using simple select query and looped the records and used in step 3.



                Step 3:- Used magento Soap api v2 for creating products at Magento



                $client = new SoapClient('http://yourmagentohost.com/index.php/api/v2_soap?wsdl=1');
                $session = $client->login('yourapiusername','yourapipassword');

                $client->catalogProductCreate($session, 'simple', $set, $sku, array(
                'categories' => array(2),
                'websites' => array(1),
                'name' => $row['name'],
                'description' => $row['description'],
                'short_description' => $row['short_description'],
                'weight' => $row['weight'],
                'status' => '2',
                'visibility' => '4',
                'price' => $row['price'],
                'tax_class_id' => 1,
                'meta_title' => '',
                'meta_keyword' => '',
                'meta_description' => '',
                'additional_attributes' => array(
                'single_data' => array(
                array('key'=>'brand', 'value'=>$row['brand']),
                array('key'=>'model', 'value'=>$row['model']),
                ),
                )
                ));





                share|improve this answer















                I had used magento Soap API V2 and installed mssql driver to import products to magento (mysql). I had imported using following steps



                Step 1:- Installed MSSQL Driver on my server. and connected to the Mssql database with query



                Step 2:- Fetched the products data from the product table at MSSQL table. Using simple select query and looped the records and used in step 3.



                Step 3:- Used magento Soap api v2 for creating products at Magento



                $client = new SoapClient('http://yourmagentohost.com/index.php/api/v2_soap?wsdl=1');
                $session = $client->login('yourapiusername','yourapipassword');

                $client->catalogProductCreate($session, 'simple', $set, $sku, array(
                'categories' => array(2),
                'websites' => array(1),
                'name' => $row['name'],
                'description' => $row['description'],
                'short_description' => $row['short_description'],
                'weight' => $row['weight'],
                'status' => '2',
                'visibility' => '4',
                'price' => $row['price'],
                'tax_class_id' => 1,
                'meta_title' => '',
                'meta_keyword' => '',
                'meta_description' => '',
                'additional_attributes' => array(
                'single_data' => array(
                array('key'=>'brand', 'value'=>$row['brand']),
                array('key'=>'model', 'value'=>$row['model']),
                ),
                )
                ));






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jul 6 '16 at 12:21

























                answered Jul 6 '16 at 12:14









                Pradeep SankuPradeep Sanku

                7,86613156




                7,86613156






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f97820%2fimport-product-information-from-mssql-to-mysql-or-magento%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    What other Star Trek series did the main TNG cast show up in?

                    Berlina muro

                    Berlina aerponto