https://github.com/bfncs/modshopify
Shopify Integration for modX
https://github.com/bfncs/modshopify
Last synced: 10 months ago
JSON representation
Shopify Integration for modX
- Host: GitHub
- URL: https://github.com/bfncs/modshopify
- Owner: bfncs
- Created: 2012-03-27T19:38:52.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2014-04-11T10:07:31.000Z (about 12 years ago)
- Last Synced: 2024-04-13T09:08:47.421Z (about 2 years ago)
- Language: PHP
- Homepage:
- Size: 133 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# DEPRECATED: modX Extra: modShopify
__NOTICE:__ This extra was just a proof of concept and never intended for public usage. This hasn't been updated for some time and doesn't work with the current version of the Shopify API.
*******************************************
* Extra: modShopify
* Developer: Marc Loehe (@boundaryfunc)
* Version: 1.0-alpha
*******************************************
A modX extra to show products via Shopify API.
# Installation
1. Install phpThumbOf-Extra.
2. In the backend of your shop, create a new private app.
3. Install modShopify-Extra.
4. Enter credentials (Api Key, Password, Shared Token) for your private Shopify App while installing or later in modX' system settings.
5. You can now use the snippet `[[showProducts]]`.
# Usage
[[showProducts]]
## Options:
* `&limit`: Amount of results (default: 50, max. 250)
* `&page`: Page of results to show (default: 1)
* `&published_status`: Show only published products (default: published, possible values: published|unpublished|any)
* `&vendor`: Filter products by vendor
* `&handle`: Filter products by handle
* `&containerTpl`: Tpl Chunk for the outer container
* `&productTpl`: Tpl Chunk for a single product
* `&productImgTpl`: Tpl Chunk for a single product image
* `&productVariantTpl`: Tpl Chunk for a single product variant
* `&thumbsWidth`: Width of thumbs
* `&thumbsHeight`: Height of thumbs
* `&thumbsArgs`: Additional Arguments for phpThumbOf