News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Lorna Mitchell's Blog:
Retrieving Product Attributes from Magento's V2 API
July 12, 2010 @ 08:28:14

Lorna Mitchell has posted a sort of follow-up to her previous post about accessing the Magento A{I to pull information about products from the application. In this new post she takes it a step further and shows how to get attributes from those products.

I've been working with the API for Magento in recent weeks and I had a bit of a struggle explaining to the V2 API which attributes of a product I wanted to retrieve. Actually I had issues talking to the V2 API at all, but that's a different post so I'll skate over those for now. Instead I thought I'd share (or rather, record for the next time I have the same problem!) how to specify which attributes about a product to retrieve.

She figured out that you could use the info method for the product_catalog call and specify the attributes you want. Her code example shows how to fetch the title, description, a shorter description and the price of an item.

1 comment voice your opinion now!
magento product attribute tutorial api


blog comments powered by Disqus

Similar Posts

Peter Petermann: Building better project skeletons with Composer

Linode Library: Deploy High Performance Drupal Sites with Mercury on Ubuntu 10.04 (Lucid)

Duckout Blog: Do Funny Stuff with the Google Charts API and PHP

Voices of the ElePHPant Podcast: Itís the booze talking, episode 03: APIs

Deepak Radhakrishnan\'s Blog: Configuring Apache - PHP - MySQL on Windows (WAMP Configuration)


Community Events

Don't see your event here?
Let us know!


composer example community introduction series list programming framework language project laravel part2 api interview opinion yii2 symfony php7 application podcast

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework