Answers.Body: <p>Turns out this was an issue with 'https://' being in the store's URL in the CMS.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-23T14:35:14.787Z
Answers.LastActivityDate: 2017-03-23T14:35:14.787Z
Answers.UserDisplayName: Jay
Body: <p>I have set up the Craft Shopify plugin on a new build.</p>
  
  <p>I have also created a 'Shopify Product' field in the CMS on my entry within my Products channel.</p>
  
  <p>However, whenever I try to view the product in the back end I get this error:</p>
  
  <p><a href="https://i.sstatic.net/zcLsb.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/zcLsb.png" alt="Shopify error"></a></p>
  
  <p><a href="https://i.sstatic.net/TxZmc.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/TxZmc.png" alt="Shopify error 2"></a></p>
  
  <p>Any help would be massively appreciated.</p>
  
  <p>Thanks,
  Jay</p>
  
Tags: <plugins>
Title: 'Invalid argument supplied for foreach()' using Shopfiy Craft Plugin
ThreadText: # 'Invalid argument supplied for foreach()' using Shopfiy Craft Plugin
  
  (Asked by: username_0 on 2017-03-23)
  
  I have set up the Craft Shopify plugin on a new build.
  
  I have also created a 'Shopify Product' field in the CMS on my entry within my Products channel.
  
  However, whenever I try to view the product in the back end I get this error:
  
  [![Shopify error](https://i.sstatic.net/zcLsb.png)](https://i.sstatic.net/zcLsb.png)
  
  [![Shopify error 2](https://i.sstatic.net/TxZmc.png)](https://i.sstatic.net/TxZmc.png)
  
  Any help would be massively appreciated.
  
  Thanks,
  Jay
  
  **Tags:** plugins
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-03-23. Score: 1 | Accepted answer
  
  Turns out this was an issue with 'https://' being in the store's URL in the CMS.
  
  
  ---
  
  