1. Home
  2. /
  3. Web Design & Development
  4. /
  5. Shopify
  6. /
  7. How to get Products from Shopify store to display on other non-shopify stores?

How to get Products from Shopify store to display on other non-shopify stores?

How to get Products from Shopify store to display on other non-shopify stores

In this article, I’m going to explain the approach we can take to fetch products from the Shopify store and display the same on our non-shopify-based store.

Please read the first part of this post by clicking here

Considering, You’ve already read the first part of this article, I am going to discuss and give you a short snapshot of all the methods we can go through to get the products from Shopify stores and display on any non-Shopify-based stores.

CASE-1 (Default): All the Shopify stores have some sort of product feed URLs and Collection based feed URLs.


  • http://{www.yourshopifysiteurl.com}/collections/collection-handle.atom
  • http://{www.yourshopifysiteurl.com}/collections/all.atom

So, when you review the above pages after replacing “www.yourshopifysiteurl.com” with your own domain. The above URLs will get you an XML formatted data of product feeds.

Now, by using the PHP function file_get_contents(), PHP CURL, or any other method you can hit or make the call to fetch this XML format data from the above URLs. Once you receive this data, parse the XML and format it as per your website design and need, You can also automate the process of fetching and storing this data in some database for local reference. In order to manage the inventory on your non-shopify-based store, you must store this data on your server, and set up a cron job with a specific interval of time like 3 or 4 hours.


  • No need to perform any update at any of the Shopify stores as we will use the default feed URLs.


  • Limited product information is available in feeds and customization is difficult.

CASE-2: Create a custom collection or product feed with required attributes and fields, we can get extra information as per our requirement.

Simply, create a page and a page template along with a snippet with basic store information and you’re done. The rest of the steps are the same as of CASE-1.

For more information, check out the following URLs:


  • We can customize the attributes or fields we want in the feeds or we can say the information to display on our store easily.


  • We have to perform updates on all Shopify stores which we’re integrating on our store.

CASE-3: Create Shopify Private API and use API details to fetch a bunch of data from orders to product information in JSON format.

Simple, create a private API using Shopify Backend “Apps” section and you’re done. This is the only update you need to do on the Shopify store from which you want to fetch the products.

When you’ve the Private API ready, you will get the URL structure like:


In the above URL, resources can be replaced with “collections” or “products” or “orders” to get the desired result in JSON format.

**API Key and Password – Get it from the Shopify “apps” section

Now, simply use file_get_contents, CURL or any other method to hit the API URL and fetch json format data from there, parse the information as per your need, once the parsing is done, store in your own database of non-shopify store and display it from there. Make a call to the API URL after certain interval of time (like you’re setting up a cron job for this) so as to sync the products information across two stores.


  • Easy to configure on multiple websites
  • No need of any customizations at the Shopify end
  • Data can be easily handled at the other ends (non-shopify store)


  • Need to generate Private API key for the store.


  1. We have to make requests within a certain interval of time in order to keep track of inventory.
  2. There is a limit on the number of API calls to the Shopify store

Reference: https://docs.shopify.com/api/introduction/api-call-limit

Reviews & Ratings Get your stoe online with Shopify in 60 minutes Shop Now