Basically I am trying to add new custom drop-down option with values in Shipping Method option, in one page checkout. I am following this tutorial to create attributes and confused about some issues. To add static options to drop-down we can add below code.
'option' => array ( 'values' => array( 0 => 'Small', 1 => 'Medium', 2 => 'Large', )
1) How can I add dynamic options to my select drop-down while creating an attribute ?
2) What is the difference between
'source' => 'eav/entity_attribute_source_table' 'source' => 'eav/entity_attribute_source_boolean' 'source' => 'yourmodule/source_option'
3) How, where and when to use above
source options ?
4) What is the difference between
Is there any tutorial that could guide me on complete parameters for attributes, its usages and sample code ?
Apart from the above technical concerns, I still do not know how to add a custom drop-down in shipping method.
Thanks in advance.