Could we upload products using 1 data line directly to muliple _product_websites
seansan opened this issue · 3 comments
seansan commented
Could we upload products using 1 data line directly to muliple _product_websites?
avstudnitz commented
Yes, see our documentation at http://avstudnitz.github.io/AvS_FastSimpleImport/options.html, section "Support Nested Arrays for Import":
$data = array(
array(
'sku' => '1234567',
'_type' => 'simple',
'_attribute_set' => 'Default',
'_product_websites' => array('de', 'en', 'fr'),
'name' => 'Default',
'price' => 0.99,
'description' => 'Default',
'short_description' => 'Default',
'colors' => array('green', 'silver')
'weight' => 0,
'status' => 1,
'visibility' => 4,
'tax_class_id' => 2,
'qty' => 76,
),
)
seansan commented
And when using csv file?
…On Fri, 31 Jul 2020 at 10:41, Andreas von Studnitz ***@***.***> wrote:
Yes, see our documentation at
http://avstudnitz.github.io/AvS_FastSimpleImport/options.html, section "
http://avstudnitz.github.io/AvS_FastSimpleImport/options.html":
$data = array(
array(
'sku' => '1234567',
'_type' => 'simple',
'_attribute_set' => 'Default',
'_product_websites' => array('de', 'en', 'fr'),
'name' => 'Default',
'price' => 0.99,
'description' => 'Default',
'short_description' => 'Default',
'colors' => array('green', 'silver')
'weight' => 0,
'status' => 1,
'visibility' => 4,
'tax_class_id' => 2,
'qty' => 76,
),
)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#445 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE7I25LKNMO4DQUAGTBXT3R6J7UVANCNFSM4PPZBTSA>
.
avstudnitz commented
This module doesn't support using a CSV file. You'd have to implement that yourself.