Attributes added by REST API aren’t displayed
-
I have read all topics related to this issue. Apparently this issue was fixed, but is not true for a fresh installation just realized.
I create products by REST API and I pass attributes with an array like this:$quality=array('name'=>'qualita','visible'=>'true','value'=>$qualita);
$certificate=array('name'=>'certifiato','visible'=>'true','value'=>$certificato);
$condition=array('name'=>'condizione','visible'=>'true','value'=>$condizione);
$attributes=array($quality,$certificate,$condition);
$postData = array('name' =>$titolo,'type' => 'simple','regular_price' => $prezzo,'description' => nl2br($descrizione),'short_description' => nl2br($descrizione),
'categories' => $categorie,'images'=>$immagini,'stock_quantity'=>$quantita,'manage_stock'=>true,'attributes'=>$attributes);Product is properly created, If I edit this product from Dashboard I see all attributes properly but if I use rest api for check this item, attributes aren’t displayed. If from the Dashboard I save again the item without mods, the attributes are now visibles from API rest.
I have disapled all plugin and templates with non effect
Any suggestion for fix this issue ?
You must be logged in to reply to this topic.