How can i import simple_links and downloadable_links of downloadable products?How can I add a “Downloadable Product” to a Bundle?Changing limit on number of downloads for past and future purchases - Downloadable ProductsSimple product with downloadable sampleHow to use subscription payment for downloadable products?Create Downloadable Audio product (Album) and sell tracks individuallyMagento 2 multiple websites but same product catalogHow can I create a product which can be shipped or downloaded?Magento 2 - How to Manage different theme for different store?Downloadable Product import creates double entries in `downloadable_link` and `downloadable_link_price` tablesHow to achieve single domain > multiple stores > different products and prices per store

What's up with this leaf?

Preventing Employees from either switching to Competitors or Opening Their Own Business

At what point in time did Dumbledore ask Snape to do this thing?

Comparing and find out which feature has highest shape area in QGIS?

What's the name of this light airplane?

Are there downsides to using std::string as a buffer?

Does an ice chest packed full of frozen food need ice?

What does the "c." listed under weapon length mean?

Movie about a boy who was born old and grew young

Why only the fundamental frequency component is said to give useful power?

Argon vs nitrogen for preserving wine

My coworkers think I had a long honeymoon. Actually I was diagnosed with cancer. How do I talk about it?

How to chain Python function calls so the behaviour is as follows

Subfigures with pgfplots

Can a user sell my software (MIT license) without modification?

Orange material in grout lines - need help to identify

Avoiding cliches when writing gods

What is the giant octopus in the torture chamber for?

Was the output of the C64 SID chip 8 bit sound?

Did the ending really happen in Baby Driver?

Can a black dragonborn's acid breath weapon destroy objects?

How does a transformer increase voltage while decreasing the current?

How to retract an idea already pitched to an employer?

PhD - Well known professor or well known school?



How can i import simple_links and downloadable_links of downloadable products?


How can I add a “Downloadable Product” to a Bundle?Changing limit on number of downloads for past and future purchases - Downloadable ProductsSimple product with downloadable sampleHow to use subscription payment for downloadable products?Create Downloadable Audio product (Album) and sell tracks individuallyMagento 2 multiple websites but same product catalogHow can I create a product which can be shipped or downloaded?Magento 2 - How to Manage different theme for different store?Downloadable Product import creates double entries in `downloadable_link` and `downloadable_link_price` tablesHow to achieve single domain > multiple stores > different products and prices per store






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















i want to import downloadable products, which have multiple sample_links and downloadable_links, My Magento app is multi store site.
like i have 7 multistore/multilingual, each product belongs to different or same stores the title and description of each product is different with each store.
so once import a single product i am doing like this:
sample code



So how can i add the sample_links and downloadable_links for downloadable products?










share|improve this question









New contributor



Ahmad Wali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    1















    i want to import downloadable products, which have multiple sample_links and downloadable_links, My Magento app is multi store site.
    like i have 7 multistore/multilingual, each product belongs to different or same stores the title and description of each product is different with each store.
    so once import a single product i am doing like this:
    sample code



    So how can i add the sample_links and downloadable_links for downloadable products?










    share|improve this question









    New contributor



    Ahmad Wali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      1












      1








      1








      i want to import downloadable products, which have multiple sample_links and downloadable_links, My Magento app is multi store site.
      like i have 7 multistore/multilingual, each product belongs to different or same stores the title and description of each product is different with each store.
      so once import a single product i am doing like this:
      sample code



      So how can i add the sample_links and downloadable_links for downloadable products?










      share|improve this question









      New contributor



      Ahmad Wali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      i want to import downloadable products, which have multiple sample_links and downloadable_links, My Magento app is multi store site.
      like i have 7 multistore/multilingual, each product belongs to different or same stores the title and description of each product is different with each store.
      so once import a single product i am doing like this:
      sample code



      So how can i add the sample_links and downloadable_links for downloadable products?







      magento2 product downloadable download-link






      share|improve this question









      New contributor



      Ahmad Wali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      Ahmad Wali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited May 30 at 5:51









      Muhammad Wasif

      15311




      15311






      New contributor



      Ahmad Wali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked May 29 at 10:53









      Ahmad WaliAhmad Wali

      62




      62




      New contributor



      Ahmad Wali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Ahmad Wali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          you can add downloadableinfo array in your importdata like below:



           $downloadableInfo=['price'=>'10',
          'url'=>'https://firebearstudio.com/media/logos/default/logo.png'
          ,'downloads'=>'10',
          'group_title'=>'Downloadable links title',
          'title'=>'Link title 1'];

          foreach ($currentStores as $currentStore)

          $importData[] = [
          'sku' => $sku,
          'name' => $name,
          'price' => $price,
          'description' => $description,
          'product_type' => $product_type,
          'store_view_code' => $currentStore['code'],
          'downloadable_links'=>$downloadableInfo,
          ];






          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
            );



            );






            Ahmad Wali is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f276565%2fhow-can-i-import-simple-links-and-downloadable-links-of-downloadable-products%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            you can add downloadableinfo array in your importdata like below:



             $downloadableInfo=['price'=>'10',
            'url'=>'https://firebearstudio.com/media/logos/default/logo.png'
            ,'downloads'=>'10',
            'group_title'=>'Downloadable links title',
            'title'=>'Link title 1'];

            foreach ($currentStores as $currentStore)

            $importData[] = [
            'sku' => $sku,
            'name' => $name,
            'price' => $price,
            'description' => $description,
            'product_type' => $product_type,
            'store_view_code' => $currentStore['code'],
            'downloadable_links'=>$downloadableInfo,
            ];






            share|improve this answer



























              0














              you can add downloadableinfo array in your importdata like below:



               $downloadableInfo=['price'=>'10',
              'url'=>'https://firebearstudio.com/media/logos/default/logo.png'
              ,'downloads'=>'10',
              'group_title'=>'Downloadable links title',
              'title'=>'Link title 1'];

              foreach ($currentStores as $currentStore)

              $importData[] = [
              'sku' => $sku,
              'name' => $name,
              'price' => $price,
              'description' => $description,
              'product_type' => $product_type,
              'store_view_code' => $currentStore['code'],
              'downloadable_links'=>$downloadableInfo,
              ];






              share|improve this answer

























                0












                0








                0







                you can add downloadableinfo array in your importdata like below:



                 $downloadableInfo=['price'=>'10',
                'url'=>'https://firebearstudio.com/media/logos/default/logo.png'
                ,'downloads'=>'10',
                'group_title'=>'Downloadable links title',
                'title'=>'Link title 1'];

                foreach ($currentStores as $currentStore)

                $importData[] = [
                'sku' => $sku,
                'name' => $name,
                'price' => $price,
                'description' => $description,
                'product_type' => $product_type,
                'store_view_code' => $currentStore['code'],
                'downloadable_links'=>$downloadableInfo,
                ];






                share|improve this answer













                you can add downloadableinfo array in your importdata like below:



                 $downloadableInfo=['price'=>'10',
                'url'=>'https://firebearstudio.com/media/logos/default/logo.png'
                ,'downloads'=>'10',
                'group_title'=>'Downloadable links title',
                'title'=>'Link title 1'];

                foreach ($currentStores as $currentStore)

                $importData[] = [
                'sku' => $sku,
                'name' => $name,
                'price' => $price,
                'description' => $description,
                'product_type' => $product_type,
                'store_view_code' => $currentStore['code'],
                'downloadable_links'=>$downloadableInfo,
                ];







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 29 at 11:04









                Rutvee SojitraRutvee Sojitra

                2,1151321




                2,1151321




















                    Ahmad Wali is a new contributor. Be nice, and check out our Code of Conduct.









                    draft saved

                    draft discarded


















                    Ahmad Wali is a new contributor. Be nice, and check out our Code of Conduct.












                    Ahmad Wali is a new contributor. Be nice, and check out our Code of Conduct.











                    Ahmad Wali is a new contributor. Be nice, and check out our Code of Conduct.














                    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%2f276565%2fhow-can-i-import-simple-links-and-downloadable-links-of-downloadable-products%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

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form