Hello,
I would like to develop a shipping plugin
Unfortunately I cant find any documentation for development of plugins for vm2.
The delivery fees are based on the distance (within a location: Shop -> delivery address) & will be calculated and displayed at the checkout. The distance is calculated using the google maps api. Unfortunately, I do not know how to implement it in vm2.
Any tips or links that could help me?
Thank you.
Hello,
You could take a look first here:
http://dev.virtuemart.net/projects/virtuemart/wiki/Plugin_system
http://dev.virtuemart.net/projects/virtuemart/wiki/Shipper_Plugins
Hello
Txs bytelord for the links.
The wiki is not really up to date, but it gives you an idea of how it should work.
Hi,
and forget to mention that always you can study the existing plugins source (paypal, standart, etc) ... it's how i build my own one, was very helpful :)
@bytelord
Quoteand forget to mention that always you can study the existing plugins source (paypal, standart, etc) ... it's how i build my own one, was very helpful
I concur... that's how I built my FedEx plugin.
It's actually more helpful than the documentation.
@ivus
+1. Exactly and also all the functions itself are very well commented inside the payment plugins :)
Hello,
Quote+1. Exactly and also all the functions itself are very well commented inside the payment plugins
This is of course a good idea,. But documentation is also good when you are beginner.
The problem is that it takes a lot of time to maintain it.
I would prefer to have some dynamic documentation like we did on the french joomla developer web site http://api.joomla.fr/joomla25/
It is done with Doxygen.
Hello alatak,
Documentation is always best option and now that vm 2+ is stable enough i think it's time an API documentation get published (manual also), heh
You did great work with doxygen, fast, ajax support, maybe the best "tool" for writing software reference documentation.