flat shipping
This commit is contained in:
parent
2bf68bd195
commit
1838ffa1b0
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* columns.php
|
||||
* Stripe 字段
|
||||
*
|
||||
* @copyright 2022 opencart.cn - All Rights Reserved
|
||||
* @link http://www.guangdawangluo.com
|
||||
|
|
|
|||
|
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
/**
|
||||
* Flat Shipping 字段
|
||||
*
|
||||
* @copyright 2022 opencart.cn - All Rights Reserved
|
||||
* @link http://www.guangdawangluo.com
|
||||
* @author Edward Yang <yangjin@opencart.cn>
|
||||
* @created 2022-06-29 21:16:23
|
||||
* @modified 2022-06-29 21:16:23
|
||||
*/
|
||||
|
||||
return [
|
||||
[
|
||||
'name' => 'type',
|
||||
'label' => '方式',
|
||||
'type' => 'select',
|
||||
'option' => ['固定运费', '百分比'],
|
||||
'required' => true,
|
||||
],
|
||||
[
|
||||
'name' => 'value',
|
||||
'label' => '运费值',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
],
|
||||
];
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"code": "flat_shipping",
|
||||
"name": "固定运费",
|
||||
"description": "按订单总额收取固定运费",
|
||||
"type": "shipping",
|
||||
"version": "v1.0.0",
|
||||
"icon": "https://via.placeholder.com/30x30.png/002299?text=a",
|
||||
"author": {
|
||||
"name": "成都光大网络科技有限公司",
|
||||
"email": "yangjin@opencart.cn"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue