<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mohin patwary</title>
    <description>The latest articles on DEV Community by Mohin patwary (@mohinpatwary).</description>
    <link>https://dev.to/mohinpatwary</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F500265%2F261dba52-4ac4-4e05-a799-637d245350c8.jpeg</url>
      <title>DEV Community: Mohin patwary</title>
      <link>https://dev.to/mohinpatwary</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mohinpatwary"/>
    <language>en</language>
    <item>
      <title>How can I Display data on an online store from the app server?</title>
      <dc:creator>Mohin patwary</dc:creator>
      <pubDate>Fri, 13 Nov 2020 03:42:40 +0000</pubDate>
      <link>https://dev.to/mohinpatwary/how-can-i-display-data-on-an-online-store-from-the-app-server-54n2</link>
      <guid>https://dev.to/mohinpatwary/how-can-i-display-data-on-an-online-store-from-the-app-server-54n2</guid>
      <description>&lt;p&gt;How can I Display data on an online store from the app server? I got a guideline, app proxy. but I cannot understand that.&lt;/p&gt;

&lt;p&gt;I have created an admin Dashboard for the app following your tutorial. I created successfully a snippet file on the current Shopify theme using asset API. I can pass any HTML code as a snippet file value. This means I can pass any HTML or liquid code in the snippet file. That snippet file was created from my app.&lt;/p&gt;

&lt;p&gt;I've added some settings fields for my app. And I can save data into my database.&lt;a href="https://prnt.sc/vf6fjp"&gt;https://prnt.sc/vf6fjp&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now I want to create a REST API to show the data for the Shopify client store. I created an API route.&lt;a href="https://prnt.sc/vf6cjs"&gt;https://prnt.sc/vf6cjs&lt;/a&gt;&lt;br&gt;
For API I have created a Controller. &lt;a href="https://prnt.sc/vf6dlu"&gt;https://prnt.sc/vf6dlu&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On the controller for the API, I need to run a query based on the same customer ID and the same Shopify shop name to get data from my database. In my database, I saved customer id and shop Name, and product id.&lt;/p&gt;

&lt;p&gt;Now, How can I get a Shopify shop name and customer ID in the laravel controller?&lt;br&gt;
So, I can run a SQL query using Shopify shop name and customer-id to get data from my database.&lt;/p&gt;

&lt;p&gt;I can easily manage JavaScript to get the name of Shopify Shop. Example: Shopify.shop&lt;br&gt;
But how can I customer ID? The customer who logged in and saved the wishlist product.&lt;/p&gt;

&lt;p&gt;Also, How can I write javascript in laravel controller or how can I access javascript value in the laravel controller?&lt;/p&gt;

&lt;p&gt;I really need this assistance, I am trying to for the last few days. But I cannot find a solution.&lt;/p&gt;

&lt;p&gt;Please sir help me&lt;/p&gt;

&lt;p&gt;Thank you&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>shopify</category>
      <category>datbase</category>
      <category>shopifyapp</category>
    </item>
  </channel>
</rss>
