VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: aguddanti on August 21, 2012, 21:07:44 PM

Title: Virtuemart API
Post by: aguddanti on August 21, 2012, 21:07:44 PM
Hi

We have recently started using Virtuemart Shopping cart. I would like to know if there are any api's to add new items,update quantity,delete the item.
I would like to write my own script to post to virtuemart shopping cart.
I have done a search on existing topics but couldnt find any help.

The link for Virtuemart API http://vm1.directrouter.com/~virtuem/api/ doesnt help.

Any help with documentation will be really helpful.

Thank you
Akhila.

Title: Re: Virtuemart API
Post by: bytelord on August 21, 2012, 21:38:04 PM
Hello,

You can see useful information on the wiki page http://dev.virtuemart.net/projects/virtuemart/wiki/Product_Plugins and generally here http://dev.virtuemart.net/projects/virtuemart/wiki/Plugin_system but i am not sure if there are updated.

For the cart/checkout i also make some custom script using jquery/ajax with vm2 json.

i think there is no documentation for vm2 api.

if anyone else in the forum could give you more information...

Title: Re: Virtuemart API
Post by: aguddanti on August 22, 2012, 15:34:38 PM
Hi

Thank you for your help.

I am not able to derive much form the documents. Were you able to use the functions in the document to get an api?

Thank you
Akhila.
Title: Re: Virtuemart API
Post by: bytelord on August 22, 2012, 16:29:18 PM
Hello,

When i need something i usually study vm source code (modes, etc). Is based on MVC structure, not easy i know. May be someone of the developers can help you more