Open
Conversation
Author
|
@magento run all tests |
Author
|
@magento run all tests |
Author
|
@magento run all tests |
…country-ssa # Conflicts: # _metapackage/composer.json
Author
|
@magento run all tests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description (*)
By default magento2 have 2 algorithms to determines the best match for sources: source priority in stock and distance priority algorithms.
Default for country SSA define which source more priors for selected country and as additional check other algorithms executed to determine best match (additional algorithm can be configured in Stores→ Configuration→ Catalog→ Inventory → Default For Country SSA → "Additional Algorithm" field).
Example,
Sources:
DE-1 (Munich),
DE-2 (Frankfurt),
FR-1 (Paris),
FR-2 (Nice),
GB-1 (London),
GB-2 (Liverpool)
Stocks:
eu-stock-1 with DE-1, DE-2, FR-1, FR-2, GB-1, GB-2 sources with priority order setting as given above.
Shipping address: BE (Brussels)
Priority SSA will give next result:
DE-1 (Munich),
DE-2 (Frankfurt),
FR-1 (Paris),
FR-2 (Nice),
GB-1 (London),
GB-2 (Liverpool)
Distance SSA will give next result (it's around as example):
DE-2 (Frankfurt),
GB-1 (London),
FR-1 (Paris),
GB-2 (Liverpool),
DE-1 (Munich),
FR-2 (Nice)
As example, because of some tax laws shipping from London should be less priors then even shipping from DE-2 or FR-2 for merchant and in this case default for country SSA will be helpfull.
Using "Default for country SSA" merchant can define
Stores→ Configuration→ Catalog→ Inventory → Default For Country SSA → "Exclude Unmatched Sources From List" setting allow to show/use only sources assignment for given country if set to "Yes". Example, if requested source selection for country BE and store have 6 sources but only for 2 of them BE assignment, this 2 sources will be available in list and 4 other will be not in the list at all.
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)