sturple/shopify-retailers

此包已被废弃且不再维护。没有建议替代包。

Shopify Retailers (嵌入)

安装: 8

依赖者: 0

建议者: 0

安全性: 0

星星: 0

关注者: 1

分支: 0

开放问题: 0

类型:symfony-bundle

dev-master 2017-02-11 20:42 UTC

This package is not auto-updated.

Last update: 2021-05-29 10:13:59 UTC


README

安装

使用 Composer 安装

{
   "require": {
       "sturple/shopify-retailers": "dev-master"
   }
}

然后执行

$ composer update

配置

添加到 app/AppKernel.php 文件

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            ...
             new Fgms\RetailersBundle\FgmsRetailersBundle();
        ]
    }
}

以下配置选项必须在 config.yml 中设置

fgms_retailers:
    api_key:            # API key for Shopify
    secret:             # Secret for Shopify
    scope:              # Scope for Shopify permissions.

Shopify 应用配置

该捆绑包指定了以下路由,必须已知以配置为 Shopify 应用

  • 安装: /install
  • OAuth: /auth
  • 首页: /