fond-of-spryker / stock
Installs: 16 755
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: >=7.2
- spryker/stock: ^8.0.0
Requires (Dev)
- codeception/codeception: ^2.5
- mikey179/vfsstream: ^1.6
- php-coveralls/php-coveralls: ^2.0
- phpro/grumphp: ^0.14
- sebastian/phpcpd: ^4.1
- spryker/code-sniffer: ^0.14.7
This package is auto-updated.
Last update: 2024-12-05 16:05:44 UTC
README
Description
Adds console command "stock:warehouse:assign". Since the ZED backend can not handle the store to warehouse assignment by gui (gateway timeout). Just use the console to handle it.
vendor/bin/console stock:warehouse:assign -w STORENAME_OR_ID -s STORE_NAMES_OR_IDS
stock:warehouse:assign -w EU -s 1,4,5,6
stock:warehouse:assign -w EU -s STORE,STORE2,STORE3
stock:warehouse:assign -w 1 -s 1,STORE2,3
Installation
composer require fond-of-spryker/stock
Register "src/FondOfSpryker/Zed/Stock/Communication/Console/StockConsole.php" in "src/Pyz/Zed/Console/ConsoleDependencyProvider.php"
/**
* @param \Spryker\Zed\Kernel\Container $container
*
* @return \Symfony\Component\Console\Command\Command[]
*/
protected function getConsoleCommands(Container $container)
{
$commands = [
...
new StockConsole(),
];