fond-of-spryker / sales
Extends spryker sales module
Installs: 19 977
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
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-10-30 02:04:55 UTC
README
- customize OrderReferenceGenerator
- add TaxRate in the Order Totals
Installation
composer require fond-of-spryker/sales
Configuration
$config[SalesConstants::ORDER_REFERENCE_PREFIX] = 'xxx';
$config[SalesConstants::ORDER_REFERENCE_OFFSET] = 1000;
Remove last separator from prefix e.g. xxx-yyy-1000 => xxx-yyy1000, xxx-1000 => xxx1000
$config[SalesConstants::ORDER_REFERENCE_USE_SEPARATOR_TO_CONNECT_PREFIX_TO_ORDER_NUMBER] = false;
Changelog
2020-05-11 1.0.5 => added config param SalesConstants::ORDER_REFERENCE_USE_SEPARATOR_TO_CONNECT_PREFIX_TO_ORDER_NUMBER for removing last separator from prefix of order number. Default is false and it would not be removed