Hallo,
ich habe das Problem das sich selbst definierte Zusatzfelder nicht über die API setzen lassen.
$article = array(
'name' => 'Artikel Titel',
'active' => true,
'tax' => 19,
'supplier' => 'shop',
'categories' => array(
array('id' => 6)
),
'mainDetail' => array(
'number' => 'A' . rand(1,9999),
'inStock' => 10,
'prices' => array(
array(
'customerGroupKey' => 'EK',
'price' => '50.50',
)
),
'attribute' => array(
'format' => 'CD',
'condition' => 'new',
'label' => 'Label'
)
)
);
$client->post('articles', $article);
Der Artikel ist da aber die Zusatzsfelder sind alle leer. Ich habe auch schon versucht das „attribute“ Array ausserhalb von „mainDetail“ zu setzen.
Die Shopware Version ist 5.1.2.
Hat jemand eine Idee?