VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: keep on January 25, 2013, 15:45:35 PM

Title: Add custom field to shipment plugin
Post by: keep on January 25, 2013, 15:45:35 PM
I want to write an own shipment plugin and I need to add a custom dropdown field with some options to the shippig method. The dropbox values are in a separate table.
I need to store the user's choise and display it in the invoice mail and on the FrontEnd.

Is there any way to do it?

[attachment cleanup by admin]
Title: Re: Add custom field to shipment plugin
Post by: PolishedGeek on January 26, 2013, 07:21:03 AM
Will the shipping price vary by the options selected? If so, has to be a shipping plugin as you stated, and yes, you can have a plugin pull from a configured or pre-populated table.

If the shipping price won't vary, then you could use a custom order field, which would be simpler.