manifest / integrations / magento-api-soap
Magento API SOAP
A Wordpress plugin to integrate with Magento.
★ 2stars
v1.0.0latest · 11 years ago
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/elvishp2006/magento-api-soap/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A Wordpress plugin to integrate with Magento.
Settings

How to use!
use Magento\API\SOAP\Product;
//Get a single product by id.
$product_model = new Product( 1 );
$product_model = new Product();
//Get 4 products with status 1 randomly.
$products_model = $product_model->find(
array(
'max' => 4,
'random' => true,
'magento_filter' => array(
'status' => 1,
),
),
);
//Iterate on products.
foreach ( $products_model->list as $product_model ) :
$name = $product_model->name;
$price = $product_model->get_formated_price();
$thumbnail = $product_model->get_thumbnail();
$permalink = $product_model->get_permalink();
endforeach;
You can also extend the Product class and create your own collection of products with custom fields:
class Book extends Product
{
public $num_pages;
}
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
License
Releases
1 release.
Tag
Published
v1.0.0
latest
Aug 3, 2015 11 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.