Product Import - How to import "selection" products?
Posted: 09 Aug 2018, 10:35
PHP: 7.1.18
Laravel: 5.6
Aimeos: 2018.04
Hi,
I followed "Import products from CSV" link (given below) and imported all products. Link:
https://aimeos.org/docs/Developers/Cont ... s_from_CSV
But it turned out that I am dealing with Parent-child products, which are "Selection" products in Aimeos (I think). So, the question is, how I import products (of all types), choose product type, and associate child products?
I know I can set "product.type" key in "item" array to "selection" but how choose which products are "variants?" This has to be done during CSV read.
Please, help!
Thanks!
Laravel: 5.6
Aimeos: 2018.04
Hi,
I followed "Import products from CSV" link (given below) and imported all products. Link:
https://aimeos.org/docs/Developers/Cont ... s_from_CSV
But it turned out that I am dealing with Parent-child products, which are "Selection" products in Aimeos (I think). So, the question is, how I import products (of all types), choose product type, and associate child products?
I know I can set "product.type" key in "item" array to "selection" but how choose which products are "variants?" This has to be done during CSV read.
Code: Select all
'item' => array(
0 => 'product.code', // e.g. unique EAN code
1 => 'product.label', // UTF-8 encoded text, also used as product name
2 => 'product.type', // type of the product, e.g. "default" or "selection"
3 => 'product.status', // enabled (1) or disabled (0)
),
Thanks!