Skip to content

Carriers Options Management

David Beal edited this page Jul 9, 2014 · 3 revisions

Up to now delivery methods options have 3 states : optional, optional by default and mandatory. It's not sufficient. Things that can be done :

  • allow to have select field or other field type.

(yannick) Selection field would solve the need of optionnal mandatory option. I mean you need at least option A or option B.

  • split optional and optional state : developper might define optional option and user/admin could choose 'by default' or not

(yannick) what you mean is that you want to be able to set which options are mandatory and which ones are optional in XML file. Then let the "delivery method configuration manager" (who ever could this user be) define which option should be added by default. And this should only be possible for optionnal option thus hidden for mandatory options.

I think things what have be done in postlogistics for options management could be useful in base module or at least concept

(yannick) about options one thing which is important in postlogistics is which option depends on other. That's why a template option comes with fields like 'postlogistics_basic_service_ids' and a type field on template option to set compatibilities and ease a bit the job of the "delivery method configuration manager".

(yannick) GUI: I wonder if anything could be done to show those option by forging the view of delivery.method a bit like in user access right panel. It could makes things simplier for the user.

Clone this wiki locally