diff --git a/plugins/BKStripe/columns.php b/plugins/BKStripe/columns.php index c2d53ba6..2e3abf49 100644 --- a/plugins/BKStripe/columns.php +++ b/plugins/BKStripe/columns.php @@ -1,6 +1,6 @@ + * @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, + ], +]; diff --git a/plugins/FlatShipping/config.json b/plugins/FlatShipping/config.json new file mode 100644 index 00000000..74aa8da0 --- /dev/null +++ b/plugins/FlatShipping/config.json @@ -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" + } +}