/kontent-custom-element-shopify-1

Shopify product selector for Kentico Kontent

Primary LanguageCSSMIT LicenseMIT

Shopify product selector for Kentico Kontent

Stack Overflow

This repository contains source code of Shopify product selector custom element for Kentico Kontent

Setup

  1. Register a private app with Shopify
  2. Deploy the code to a secure public host
  3. Follow the instructions in the Kentico Kontent documentation to add the element to a content model.
    • The Hosted code URL is where you deployed to in step 1
    • Configure the JSON parameters as detailed in the JSON Parameters section

JSON Parameters

You will also need to provide the following JSON parameters for the custom element to connect to your store. Replace the placeholders with the actual values from the Shopify admin UI:

{
  "storeFrontAccessToken": "<YOUR ACCESS TOKEN>",
  "apiEndpoint": "https://<YOUR STORE NAME>.myshopify.com/api/graphql"
}

Deploying

Netlify has made this easy. If you click the deploy button below, it will guide you through the process of deploying it to Netlify and leave you with a copy of the repository in your GitHub account as well.

Deploy to Netlify

Contributors

Originally contributed by @kenticomartinh

Analytics