// Removed useless option "billing according to the default behavior" in the carrier wizard and carrier options

This commit is contained in:
Damien Metzger
2013-07-17 11:20:58 +02:00
parent 67ec90fae9
commit ee038c868c
3 changed files with 25 additions and 21 deletions
+17 -16
View File
@@ -69,22 +69,23 @@ class AdminShippingControllerCore extends AdminController
</ul>',
'submit' => array()
),
'billing' => array(
'title' => $this->l('Billing'),
'icon' => 'money',
'fields' => array(
'PS_SHIPPING_METHOD' => array(
'title' => $this->l('Billing'),
'cast' => 'intval',
'type' => 'radio',
'choices' => array(
0 => $this->l('According to total price'),
1 => $this->l('According to total weight')
),
'validation' => 'isBool'
),
)
),
// Deprecated since 1.5.5
// 'billing' => array(
// 'title' => $this->l('Billing'),
// 'icon' => 'money',
// 'fields' => array(
// 'PS_SHIPPING_METHOD' => array(
// 'title' => $this->l('Billing'),
// 'cast' => 'intval',
// 'type' => 'radio',
// 'choices' => array(
// 0 => $this->l('According to total price'),
// 1 => $this->l('According to total weight')
// ),
// 'validation' => 'isBool'
// ),
// )
// ),
);
}