jreinke / magento-improve-api

Magento extension to improve some missing features of API.
92 stars 76 forks source link

specify category names rather than ids not working #12

Open LouNik1984 opened 8 years ago

LouNik1984 commented 8 years ago

Hi,

I'm using this extension with magento 1.9 and everything works fine. If I add array of categories with their ids, the product is created correctly, but if I add an array of names, the product is created without any category associated to it. The code I'm using is:

$simple_data = array( 'categories' => array('Default Category', 'first subcategory'), ... );