Extends spryker sales module

Installs: 22 503

Dependents: 3

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

pkg:composer/fond-of-spryker/sales

2.2.0 2020-05-12 05:55 UTC

README

Build Status PHP from Travis config license

  • 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