flat shipping

This commit is contained in:
Edward Yang 2022-06-30 10:26:54 +08:00
parent 2bf68bd195
commit 1838ffa1b0
3 changed files with 39 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<?php
/**
* columns.php
* Stripe 字段
*
* @copyright 2022 opencart.cn - All Rights Reserved
* @link http://www.guangdawangluo.com

View File

@ -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,
],
];

View File

@ -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"
}
}