-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit da7519d
Showing
56 changed files
with
29,637 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v16.13.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Shopify Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## 0.0.1 - 2021-12-17 | ||
|
||
### Added | ||
|
||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2022 Pixel & Tonic | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<p align="center"><img src="./src/icon.svg" width="100" height="100" alt="Shopify icon"></p> | ||
|
||
<h1 align="center">Shopify for Craft CMS</h1> | ||
|
||
## Requirements | ||
|
||
This plugin requires Craft CMS 4.0.0 or later. | ||
|
||
## Installation | ||
|
||
To install the plugin, follow these instructions. | ||
|
||
1. Open your terminal and go to your Craft project: | ||
|
||
cd /path/to/project | ||
|
||
2. Then tell Composer to load the plugin: | ||
|
||
composer require craftcms/shopify | ||
|
||
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Shopify. | ||
|
||
### Setup API Keys and connect your Craft Shopify plugin to the store | ||
|
||
1. Log into your store. | ||
2. Click 'Apps' in the sidebar. | ||
3. Click the 'Develop apps for your store' button under "Build custom apps for your unique needs". | ||
4. Click "Create an app" | ||
5. Name the app something like 'Craft CMS Shopify Plugin' | ||
6. Click "Configure Admin API" integration | ||
|
||
Scopes needed: | ||
Products | ||
`read_products` | ||
`read_product_listings` | ||
|
||
Webhook events version: | ||
`2022-04` | ||
|
||
5. Click Save on Admin API integration you just configured. | ||
6. Click on `API credentials` tab | ||
7. Click install app to add the custom app you just created to your store | ||
8. Click `Install app` | ||
9. Copy the access token (you only have one chance to do this) to your settings (or to your .env file so your settings can reference it). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"name": "craftcms/shopify", | ||
"description": "Shopify for Craft CMS", | ||
"type": "craft-plugin", | ||
"keywords": [ | ||
"cms", | ||
"craftcms", | ||
"shopify" | ||
], | ||
"homepage": "https://github.com/craftcms/shopify", | ||
"license": "proprietary", | ||
"support": { | ||
"email": "support@craftcms.com", | ||
"issues": "https://github.com/craftcms/shopify/issues?state=open", | ||
"forum": "https://craftcms.stackexchange.com/", | ||
"source": "https://github.com/craftcms/shopify", | ||
"docs": "https://github.com/craftcms/shopify", | ||
"rss": "https://github.com/craftcms/shopify/releases.atom" | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"require": { | ||
"php": "^8.0.2", | ||
"craftcms/cms": "^4.0.0", | ||
"shopify/shopify-api": "^2.0" | ||
}, | ||
"require-dev": { | ||
"codeception/codeception": "^4.0.0", | ||
"codeception/module-asserts": "^1.0.0", | ||
"codeception/module-datafactory": "^1.0.0", | ||
"codeception/module-phpbrowser": "^1.0.0", | ||
"codeception/module-rest": "^1.0.0", | ||
"codeception/module-yii2": "^1.0.0", | ||
"craftcms/ecs": "dev-main", | ||
"craftcms/phpstan": "dev-main", | ||
"craftcms/rector": "dev-main", | ||
"craftcms/redactor": "*", | ||
"vlucas/phpdotenv": "^3.4" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"craft\\shopify\\": "src/", | ||
"shopify\\": "src_old/" | ||
} | ||
}, | ||
"extra": { | ||
"handle": "shopify", | ||
"name": "Shopify", | ||
"description": "Sync shopify products into your content model", | ||
"developer": "Pixel & Tonic", | ||
"documentationUrl": "https://github.com/craftcms/shopify" | ||
}, | ||
"scripts": { | ||
"check-cs": "ecs check --ansi", | ||
"fix-cs": "ecs check --ansi --fix", | ||
"phpstan": "phpstan --memory-limit=1G" | ||
}, | ||
"config": { | ||
"sort-packages": true, | ||
"platform": { | ||
"php": "8.0.2" | ||
}, | ||
"allow-plugins": { | ||
"yiisoft/yii2-composer": true, | ||
"craftcms/plugin-installer": true | ||
} | ||
} | ||
} |
Oops, something went wrong.