{php}
$postData = array('gid' => '1',);
$results = localAPI('GetProducts', $postData, 'admin');
//print_r( $results);
foreach ($results['products']['product'] as $product) {
$description =$product['description'];
$description = str_replace(array('', ''), '', $description);
$description = str_replace('', '', $description);
$description = str_replace('', '', $description);
$getProducts[] = array(
'name' => $product['name'],
'url' => $product['product_url'],
'desc' => $description,
'prefix' => $product['pricing']['USD']['prefix'],
'price' => $produ
...
继续阅读
(53)