承接 gravita/notify-when-available 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

gravita/notify-when-available

Composer 安装命令:

composer require gravita/notify-when-available

包简介

A Sylius plugin that enables the option of setting a future date when the product will be available. Users can add an email to notify then when the product can be purchased

README 文档

README

Plugin Skeleton

Installation

  1. Run composer require gravita/notify-when-available.

  2. Add the plugin to AppKernel.php:

    public function registerBundles(): array
    {
        return array_merge(parent::registerBundles(), [
            
            // ...
    
            new \Gravita\SyliusNotifyWhenAvailablePlugin\GravitaSyliusNotifyWhenAvailablePlugin(),
        ]);
    }
  3. Add the required resource files to your config.yml:

    imports:
       # ...
       - { resource: "@GravitaSyliusNotifyWhenAvailablePlugin/Resources/config/config.yml" }
       - { resource: "@GravitaSyliusNotifyWhenAvailablePlugin/Resources/config/resources.yml" }
  4. Add the bundle routing file to your routing.yml

    gravita_notify_when_available_shop:
        resource: "@GravitaSyliusNotifyWhenAvailablePlugin/Resources/config/app/shop_routing.yml"
  5. Update your database:

    php bin\console doctrine:schema:update --force

Usage

Running plugin tests

Once installed, the plugin adds two fields to the product variant form "Details" tab:

  • Available from: this fields holds the message showed to the user if this product variant is not checked as "Available"
  • Available for purchase: if this fields is not checked the message that is set on "Available from" will bee shown to the user. With this message will be a form to register an email on the notification list of the product variant.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固