定制 ikuzostudio/stock-alert-plugin 二次开发

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

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

ikuzostudio/stock-alert-plugin

最新稳定版本:v1.6

Composer 安装命令:

composer require ikuzostudio/stock-alert-plugin

包简介

Stock Alert implementation for Sylius.

README 文档

README

Stock Alert

Add Stock Alert & subscription into Sylius.

/!\ Currently in alpha /!\

Quickstart

$ composer require ikuzostudio/stock-alert-plugin

Add plugin dependencies to your config/bundles.php file:

return [
  // ...
  Ikuzo\SyliusStockAlertPlugin\IkuzoSyliusStockAlertPlugin::class => ['all' => true],
];

Import required config in your config/packages/_sylius.yaml file:

# config/packages/_sylius.yaml

imports:
  ...
  - { resource: "@IkuzoSyliusStockAlertPlugin/Resources/config/app/config.yaml"}

Add routes in config/routes.yaml

# config/routes.yaml

ikuzo_stock_alert_routes:
    resource: "@IkuzoSyliusStockAlertPlugin/Resources/config/routing.yaml"

Add the StockAlertChannelInterface to the Channel model and implement it with the StockAlertChannelChannelTrait

use Ikuzo\SyliusStockAlertPlugin\Model\StockAlertChannelInterface;
use Ikuzo\SyliusStockAlertPlugin\Model\StockAlertChannelTrait;

class Channel extends BaseChannel implements StockAlertChannelInterface
{
    use StockAlertChannelTrait;
}

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-31