tristantbg / kirby-shopify

MIT License
61 stars 6 forks source link

Is still updated for kirby 3.9.4? #18

Open Reluma opened 1 year ago

Reluma commented 1 year ago

Hi,

Hello, sorry for bothering you, I'm trying to connect Kirby CMS to Shopify using your plugin but I'm having several issues, probably I'm doing something wrong. Has it been tested for version 3.9.4? Also, I'm not sure if I've entered the correct data in the .env file because the Shopify interface has changed now.

Immagine 2023-05-11 170524 Immagine 2023-05-11 165551

as you can see from the sceenshot it seems to me that the admin API access token is useless.

Nothing is displayed in frontend. The error in the products page (backend) is: "The section "products" could not be loaded: collection(): Return value must be of type ?Kirby\Cms\Collection, ShopifyProductsPage returned"

I can't understand what causes this problem, if it depends on a connection error in shopify or a problem with kirby cms. I'm a little confused

thanks for your time

tristantbg commented 1 year ago

Hi @Reluma , Indeed... Shopify has changed a few things. I have updated the readme ! The plugin should still work with the last version of Kirby.

Reluma commented 1 year ago

Thanks @tristantbg but there is still something wrong. You marked useless API secret key in the screeshot and "ACCESS_TOKEN= 4 (Useless)" in the example.

They are both useless?

My problem still remains the same...

Immagine 2023-05-16 103326