openlabs / magento

Python API for Magento
Other
136 stars 82 forks source link

Add checkout.py class Cart #16

Closed iiijjjii closed 10 years ago

iiijjjii commented 11 years ago

I created a checkout.py file with a class Cart for creating shopping carts and retrieving information from shopping carts.

sharoonthomas commented 11 years ago

Is this a standard Magento API implementation or a custom one ?

iiijjjii commented 11 years ago

This is a standard Magento API implementation. Here is the magentocommerce.com documentation: http://www.magentocommerce.com/api/soap/checkout/cart/cart.html

I added a sendInfo method to the sales.py Shipment class as well. That method is not documented but it is included in the standard Magento API code.

Regards, Jim Karsten

sharoonthomas commented 11 years ago

@shalabhaggarwal can you please confirm ?

shalabhaggarwal commented 11 years ago

@sharoonthomas As @iiijjjii says, all the cart related API implementation is a part of core magento API which can be found at http://www.magentocommerce.com/api/soap/checkout/cart/cart.html

Also the sendinfo() method on Shipment also is a core API method without documentation which can be found at http://doc-magento.com/_functions/index.html#sendinfo

sharoonthomas commented 11 years ago

Fine, the only issue I have is that this pull request is to master branch while it should have been sent to develop.

Either @iiijjjii can send the PR to develop or we can manually merge this tomorrow to develop

sharoonthomas commented 10 years ago

Merged manually: