How to add select field shipping module

Developer
Från Hungary
Medlem sedan juli 2017

How can I add a selection field to the delivery module that also appears in the order in the admin interface?
I tried this:


            'id' => 'option_1',
            'icon' => $this->settings['icon'],
            'name' => 'Option 2',
            'description' => 'This is the description for option 1',
            'fields' => functions::form_draw_select_field('bar', array(array('Point 1', 1), 
      array('Point 2', 2),
      array('Point 3', 3),
      array('Point 4', 4),
      array('Point 5', 5))),            
      'cost' => $this->settings['fee_1'],
            'tax_class_id' => $this->settings['tax_class_id'],
            'exclude_cheapest' => false,
            'error' => '',
          ),```

The buyer can choose, but it does not appear in the admin. Any ideas?
Den här tråden har stängts på grund av lång inaktivitet. Det går inte att posta inlägg till den.
Denna webbplats använder inga kakor och ingen spårningsteknik från tredje part . Vi tror att vi kan göra det bättre än andra och tänker verkligen på din integritet.