承接 bkwld/craft-importable-shopify-feeds 相关项目开发

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

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

bkwld/craft-importable-shopify-feeds

最新稳定版本:1.9.1

Composer 安装命令:

composer require bkwld/craft-importable-shopify-feeds

包简介

A Craft plugin that maps Shopify data into feeds that are more easily consumed by FeedMe.

README 文档

README

A Craft plugin that maps Shopify data into feeds that are more easily consumed by FeedMe.

Setup

This expects that your Craft .env file has:

SHOPIFY_URL=https://your-store.myshopify.com
SHOPIFY_ADMIN_API_ACCESS_TOKEN=xxxxxxxxxxx

In addition, you'll need to give your Custom App the following permissions:

  • Product listings
    • read_product_listings
  • Products
    • read_products

Usage

Set up FeedMe to query either of the following routes. We're only exposing a minimum set of data that can be used to create matching Craft products. It's assumed that Shopify is the source of truth for all other fields and their data shouldn't be cached in Craft.

Products

https://cms-domain.com/actions/importable-shopify-feeds/feeds/products

[
  {
    "title": "Product Title",
    "handle": "product-title"
  },
]

Variants

https://cms-domain.com/actions/importable-shopify-feeds/feeds/variants

[
  {
    "title": "Variant Title",
    "sku": "413071",
    "product":{
      "title": "Product Title",
      "handle": "product-title"
    },
    "dashboardTitle": "Product Title - Variant Title (413071)"
  },
]

Collections

https://cms-domain.com/actions/importable-shopify-feeds/feeds/collections

[
	{
		"title": "Collection Title",
		"handle": "collection-title"
	},
]

Multiple Shopify stores

If you have multiple Shopify stores but one Craft instance (like if you are using Craft's multi-site feature to manage multiple Shopify stores), you can should can specify the Shopify ENV credentials using an arbitrary namespace suffix. Like:

SHOPIFY_URL=https://your-store.myshopify.com
SHOPIFY_ADMIN_API_ACCESS_TOKEN=xxxxxxxxxxx
SHOPIFY_URL_CANADA=https://your-canadian-store.myshopify.com
SHOPIFY_ADMIN_API_ACCESS_TOKEN_CANADA=xxxxxxxxxxx

Then, you can use that namesapce in all of the feed URLs like so:

https://cms-domain.com/actions/importable-shopify-feeds/feeds/products?store=CANADA

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-02-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固