<p>Turns out this was an issue with 'https://' being in the store's URL in the CMS.</p>

CC BY-SA 3.0
2017-03-23T14:35:14.787Z
2017-03-23T14:35:14.787Z
Jay
<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>

<plugins>
'Invalid argument supplied for foreach()' using Shopfiy Craft Plugin
# '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.


---

