Author Topic: Virtuemart API  (Read 1837 times)

aguddanti

  • Beginner
  • *
  • Posts: 2
Virtuemart API
« 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.


bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: Virtuemart API
« Reply #1 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...

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

aguddanti

  • Beginner
  • *
  • Posts: 2
Re: Virtuemart API
« Reply #2 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.

bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: Virtuemart API
« Reply #3 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
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!