Download the PHP package devkai/craft-shopify-resource without Composer
On this page you can find all versions of the php package devkai/craft-shopify-resource. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devkai/craft-shopify-resource
More information about devkai/craft-shopify-resource
Files in devkai/craft-shopify-resource
Package craft-shopify-resource
Short Description shopify-resource reference field via storefront api
License MIT
Informations about the package craft-shopify-resource
craft-shopify-resource plugin for Craft CMS 3.x
shopify-resource reference field via storefront api
store shopify storefront id in craft field with dropdown using shopify storefront api
use shopify products and collecitons in craft fields, highly inspired by nmaier95/craft-shopify-product-fetcher but using the shopify storefront api, therefore ids compatible with shopify buy sdk
- send custom graphql queries to get resized images from shopify
- async clientside queries in cp do not slow down cp rendering with mutliple product fields
Requirements
This plugin requires Craft CMS 3.0.0-beta.23 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require toyflish/craft-shopify-resource
- In the Control Panel, go to Settings → Plugins and click the “Install” button for craft-shopify-resource.
craft-shopify-resource Overview
adds a shopify resource select field to your control panel
Configuring craft-shopify-resource
expects storefront-api credentials and locale settings to enable queries to the new shopify mutlilanguage api
Using craft-shopify-resource
you can use the plugin provided query (simular to shopify buy sdks product query) or submit a custom query setup in twig
Brought to you by devkai