News:

Support the VirtueMart project and become a member

Main Menu

Shipping - override prices

Started by VMx, May 28, 2018, 15:48:21 PM

Previous topic - Next topic

VMx

The shipping plugin doesn't fit me, because I would need product or category based shipping calculation, so I am wondering where can I write some code to override the shipping cost and just use my own calculation (just set if one of products use category X shipping price is X, if he uses category Y, shipping price is Y...)?

I was thinking on modifying plugin to take product weight and use that as shipping cost and than just sum together all product weight numbers and use that as shipping cost - maybe any idea how to modify shipping plugin to enable that?

Jörgen

It is a "standard" plugin, copy the filesan rename file and classes. You can find more about writing a plugin here;
https://docs.virtuemart.net/tutorials/development/84-extension-plugins.html

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.