Sorry If I'm really a newbie here. But can someone tells me how to create a custom shipping method (or create a module for that) so I can set the cost per KG and for 1 city.
I.E :
- to City A : $1/Kg
- to City B : $2/Kg
Please help me.. I'm stuck now.. :(
I'm using VM 2.0.14
Quote from: dry_crushader on December 12, 2012, 02:44:04 AM
Sorry If I'm really a newbie here. But can someone tells me how to create a custom shipping method (or create a module for that) so I can set the cost per KG and for 1 city.
I.E :
- to City A : $1/Kg
- to City B : $2/Kg
Using my brand-new "Advanced Shipping by Rules for VirtueMart 2" plugin (the free version doesn't support shipping cost per kg) you can easily implement this:
http://open-tools.net/virtuemart-2-extensions/vm2-shipping-by-rules-plugin.html
The appropriate rule would be (with a condition on the ZIP code of the city):
Name=Shipping to City A; ZIP==01234; Shipping=1*Weight
Name=Shipping to City B; ZIP==56789; Shipping=2*Weight
Cheers,
Reinhold