Adding Products to Your eBay Store with the Trading API

article

#1

Originally published at: http://www.sitepoint.com/adding-products-ebay-store-trading-api/

This entry is part 3 of 3 in the series Using eBay's API to Develop a Product Management App

Using eBay's API to Develop a Product Management App

In this third and final part of our eBay Trading API series, we’ll be building the product adding functionality into our application.

Creating new Products

Now that we’re done with the store settings, we can begin with writing the code for the controller that would handle the creation of products. Under the controllers directory, create a new file and name it Product.php.

<?php
class Product extends \SlimController\SlimController{

}

Next, create the newAction method. This will render the new.twig file under the templates/product directory. This is the view that renders the form for creating new products.

Using eBay's API to Develop a Product Management App

<< Configuring Your Store’s Settings with the eBay Trading API

Continue reading this article on SitePoint


closed #2

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.