How to create custom shipping module

When creating a submodule for shipping I have to add some additional fields would like to hide some fields.
Lets say I do offer shipping whrere I would like to ask only phone number and one custom value.
Wich way should I go.
1.Should I use costom fields under shipping services pane?
2. Should I do something with shipping information fields?

I would prefere the second one but becouse then maybe I could save stuff much easier way into order fields (As far as I see :D).
Still should I make new address plugin or could I just say show some fields if something is selected.

Posted: Oct 25, 2011


rfay Randy Fay on October 26, 2011

I'm not familiar with shipping, but in general in Commerce you don't do custom modules to add fields - you just add them. You can add fields to products, line items, and orders, for example.

kaido24 on October 28, 2011

Img 1
Img 2


Img 1 just the coolest way if I turn off sipping info fields Img 2 is with custom addressfield plugin and addressfield format is my own plugin.
The reason the ask this.. I do not need to ask all the information all the time :) Still there will be problems with other modules if ill go the way like the others wouldnt :p I mean if There are 3 modules wich do the Img 1 wway and one would do it different way.. When you look default picture then maybe youre gonna understand what I have in mind.