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;
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
New contributor
add a comment |
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
New contributor
add a comment |
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
New contributor
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
magento2 product downloadable download-link
New contributor
New contributor
edited May 30 at 5:51
Muhammad Wasif
15311
15311
New contributor
asked May 29 at 10:53
Ahmad WaliAhmad Wali
62
62
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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,
];
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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,
];
add a comment |
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,
];
add a comment |
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,
];
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,
];
answered May 29 at 11:04
Rutvee SojitraRutvee Sojitra
2,1151321
2,1151321
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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