定制 fond-of-spryker/stock 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fond-of-spryker/stock

Composer 安装命令:

composer require fond-of-spryker/stock

包简介

README 文档

README

Build Status PHP from Travis config license

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(),
        ];

统计信息

  • 总下载量: 18.86k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-02-10