How to add select field shipping module

Developer
Da Hungary
Membro dal lug 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?
Questo thread è stato chiuso per lunga inattività. Non è possibile postare su di esso.
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.