fond-of-spryker / sales
扩展 spryker 销售模块
2.2.0
2020-05-12 05:55 UTC
Requires
- php: >=7.1
- fond-of-spryker/country: dev-master
- spryker/sales: ^10.1
Requires (Dev)
- codeception/codeception: ^2.4
- fond-of-codeception/spryker: dev-master
- mikey179/vfsstream: ^1.6
- php-coveralls/php-coveralls: ^2.1
- phpro/grumphp: ^0.14
- sebastian/phpcpd: ^4.0
- spryker/code-sniffer: ^0.12
This package is auto-updated.
Last update: 2024-08-30 01:43:46 UTC
README
- 自定义订单引用生成器
- 在订单总额中添加税率
安装
composer require fond-of-spryker/sales
配置
$config[SalesConstants::ORDER_REFERENCE_PREFIX] = 'xxx';
$config[SalesConstants::ORDER_REFERENCE_OFFSET] = 1000;
从前缀中移除最后一个分隔符,例如:xxx-yyy-1000 => xxx-yyy1000,xxx-1000 => xxx1000
$config[SalesConstants::ORDER_REFERENCE_USE_SEPARATOR_TO_CONNECT_PREFIX_TO_ORDER_NUMBER] = false;
变更日志
2020-05-11 1.0.5 => 添加配置参数 SalesConstants::ORDER_REFERENCE_USE_SEPARATOR_TO_CONNECT_PREFIX_TO_ORDER_NUMBER,用于从订单号的前缀中移除最后一个分隔符。默认为 false,不会移除