Author Topic: Shipping - override prices  (Read 107 times)

VMx

  • Beginner
  • *
  • Posts: 3
  • A beginner
Shipping - override prices
« on: May 28, 2018, 15:48:21 pm »
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 1461
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: Shipping - override prices
« Reply #1 on: May 28, 2018, 19:27:12 pm »
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.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)