Hi,
I have a question: How can I get records from this module AOS_Product_Categories
function find_category_by_name($category){
$login_result = $this->call("login", $this->login_parameters, $this->url);
$session_id = $login_result->id;
$get_entry_list_parameters = array(
'session' => $session_id,
'module_name' => 'AOS_Product_Categories',
'query' => " name like '%".$category."%'",
'order_by' => "",
'offset' => "0",
'select_fields' => array(
'id'
),
'link_name_to_fields_array' => array(
),
'max_results' => '1',
'deleted' => 0,
'Favorites' => false,
);
$product_category = $this->call('get_entry_list', $get_entry_list_parameters, $this->url);
echo "<pre>";
print_r($product_category );
echo "</pre>";
}
I only get this result
Array
(
[session] => vouf8pvo7tddtbmcn0muas1i21
[module_name] => AOS_Product_Categories
[query] => name like ‘%yoga%’
[order_by] =>
[offset] => 0
[select_fields] => Array
(
[0] => id
)
[link_name_to_fields_array] => Array
(
)
[max_results] => 1
[deleted] => 0
[Favorites] =>
)
How can I get this records from this module AOS_Product_Categories
Best regards from Peru