xddesigners/silverstripe-shopify

Import Shopify products into your Silverstripe site, implements the buy button sdk to create a cart and checkout

Installs: 191

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 3

Forks: 1

Open Issues: 1

Type:silverstripe-vendormodule

1.1.4 2020-07-02 15:10 UTC

This package is auto-updated.

Last update: 2024-12-23 14:21:59 UTC


README

This module is for users that want to implement there shopify products into a SilverStripe storefront. It makes use of the Shopify Buy Button to create the cart and checkout interface.
You'll end up with a import job that fetches all the products and variants and stores them as Product DataObject in your site.

Installation

Install the module trough composer and configure the api keys.
composer require xddesigners/silverstripe-shopify

Get up your api keys by creating a new Private App in your shopify admin interface.

Config

XD\Shopify\Client:
  api_key: 'YOUR_API_KEY'
  api_password: 'YOUR_API_PASSWORD'
  shopify_domain: 'YOUR_SHOPIFY_DOMAIN' # mydomain.myshopify.com
  shared_secret: 'YOUR_API_SHARED_SECRET'

Set up import script

You can run the import script manually trough the dev/tasks interface or set up up to run as a cron task. http://example.com/dev/tasks/XD-Shopify-Task-Import or sake dev/tasks/XD-Shopify-Task-Import