News:

Looking for documentation? Take a look on our wiki

Main Menu

Create shipping plugin

Started by mrp, June 29, 2015, 17:22:42 PM

Previous topic - Next topic

mrp


Hi,

I'd like to create my own shipping plugin for VM 3 but couldn't find any documentation. Can you help me?


GJC Web Design

no step by step exists  - just use the bundled weight-country one as your example
It is relatively straight forward if u know php
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

PRO

its easiest to modify one of the existing ones.

I made mine be editing the weight_countries    plugin

AH

What would you like it to do

That might give someone an idea how to help you further

I did the same as PRO and modified the weights countries plugin
Regards
A

Joomla 4.4.5
php 8.1

mrp

Quote from: PRO on June 29, 2015, 22:06:56 PM
its easiest to modify one of the existing ones.


That's been my intention - but if I have look at http://extensions.virtuemart.net/shipments there are no free ones. Do I have to buy an extension just to get an example...?

AH

MRP

I meant the one that is installed for free with VM.

You will find it in the directory:

plugins/vmshipment/weight_countries
Regards
A

Joomla 4.4.5
php 8.1

mrp

Thanks - I'm going to have a look at it.

Do I have to register my plugin anywhere in the database?

AH

If you build a new one you will need to ensure that Joomla is aware of it

Regards
A

Joomla 4.4.5
php 8.1

GJC Web Design

Quotejust use the bundled weight-country one as your example
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

PRO

MRP,
I have attached 1 of mine for you to look at. It is the 3.0 version

To understand how it works. look here.
http://www.kaizenmediaworks.com/pro-ship-virtuemart-2-0-shipping-plugin-module

I DO NOT OFFER SUPPORT FOR THE VM3 VERSION

mrp

Thank you, PRO!!!
I didn't understand every line, but got it work. Hope there'll be documentations some time...

jibon57

You can check my Free UPS shipment plugin as for example: https://extensions.hoicoimasti.com/products/shipment-plugin/17-free-ups-shipment-plugin-for-virtuemart-3.html
I used default VM weight-country as sample :)