Home / Companies / Strapi / Blog / Post Details
Content Deep Dive

Integrate Shopify into your Strapi Website

Blog post from Strapi

Post Details
Company
Date Published
Author
Divine Orji
Word Count
1,455
Language
English
Hacker News Points
-
Summary

To integrate Shopify into a Strapi website, start by creating a new Strapi project using the `npx create-strapi-app` command, then run `npm run develop` to launch the admin dashboard. Create a new collection type named "Product" and add fields for product name, description, image, and shopifyID. Allow public users to view products by their ID and set up a private Shopify store account with API access. Install the `shopify-api-node` package to connect Strapi to Shopify's API. Modify the `findOne` controller function to retrieve product metadata using Shopify's API details. Create a product entry in Strapi that matches the product from Shopify, then publish it to see the integrated metadata.