How to add select field shipping module

Developer
Şundan Hungary
Tem 2017 tarihinden beri üye

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?
Bu konu uzun süredir aktif olmadığı için kapatıldı. Konuya mesaj göndermek mümkün değil.
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.