dyluck07
dyluck07
Simply put all the values into a variable and loop through looking for parent = '0' ``` $categories = $client->products->get_categories(); $parentcats = array(); foreach($categories as $category) { if($category['parent'] == 0)...
Hi there! Had the same problem and found the solution. You need to create a API catch handler in your child theme's functions.php. Some saint made this already. Save the...
I know this is old, but for others: you need to extend or update the `WC_API_Client_Resource_Products` class located in /resources/class-wc-api-client-resource-products.php then put in ``` public function get_attributes( $id = null,...
Answering my own question. IT doesn't work with this version of woocommerce API. Please update this really great tool to work with the new woocommerce api (https://woothemes.github.io/woocommerce-rest-api-docs/) instead of (https://woothemes.github.io/woocommerce-rest-api-docs/v2.html)