-
-
Notifications
You must be signed in to change notification settings - Fork 377
How to display the current store and the products of that shore? #15
Comments
Hi Ronard, Once the store installs your app, the shop domain and an API token will be stored in the shops database table. You can use this token to access the shop's data using the Shopify Admin API. Here's a link: https://help.shopify.com/api/reference This package does all of the heavy lifting and now you can focus on your app requirements. Hope this helps. |
In your controller you can go like this:
|
Hello @brianakidd @mabrodeur, Thank you for the response it helps a lot. |
Done. Thank you. |
Hi guys, appreciate your help please. I am trying to do the same thing but my $shop object is null. I followed exactly the statements provided by @mabrodeur. I also added the line: Do I need to somehow initialize the $shop object myself or am I missing something here? |
@pasartap Did your shop pass through the auth route? (try clicking on the app again in admin and make sure the auth path in Shopify App settings points to /authenticate)
Can you spit out what Also, is this route you're accessing using the |
Hello, Thank you for this app. I successfully installed in my local.
But I can't find how to display the current store logged and the products of it.
Can you provide a sample?
Thank you,
Best Regards,
Ronard
The text was updated successfully, but these errors were encountered: