Unable to Reflect Changes in Shopify Demo Store for App Developed with React and Gadget

Unable to Reflect Changes in Shopify Demo Store for App Developed with React and Gadget

Bigcart_us
Shopify Partner
1 0 0

Hello Shopify Community,

Screenshot 2023-11-17 at 11.09.27 AM.png

I am currently developing a Shopify app using React and Gadget, and I’m facing an issue where the changes I make in my code are not reflecting in my Shopify demo store.

Here’s a detailed breakdown of what I’ve done so far:

  1. I followed the tutorial titled “Bulk generate Shopify product image alt text using AI” by Ralf Elfving ( https://medium.com/@ralfelfving/bulk-generate-shopify-product-image-alt-text-using-ai-a2d2d1305691 )on Medium. This tutorial guides through the process of building a Shopify app that auto-generates product image alt texts using AI.

  2. I have successfully completed all the steps up to creating the AppSettings.jsx file and pasting the provided code. The AppSettings.jsx is a React component that provides a settings page for the Shopify app. It uses several hooks from Gadget, including useFindFirst and useAction.

  3. After completing these steps, I expected to see the output of my AppSettings.jsx in my demo store. However, this is not the case. Despite making changes in the AppSettings.jsx file, I am unable to see these changes reflected in the demo store.

  4. I have double-checked my App.jsx and AppSettings.jsx files, and they seem to be correctly set up. The App.jsx is set up to handle routing and authentication for the Shopify app, and the AppSettings.jsx provides a settings page with a layout and a checkbox.

  5. I have also ensured that my Shopify app and Gadget are properly connected. I have pasted the Client ID and Client Secret from Shopify into my Gadget app and clicked “Connect”.

  6. I have selected the correct API scopes in Gadget. For this app, I need the Products → Products + Product image read and write scopes.

Despite these checks, I am still unable to see the expected output in my demo store. There are no error messages in my console, and I am not sure what could be causing this issue.

 

I would greatly appreciate any help or insight into why my changes aren’t showing up in the demo store.

 

Thank you in advance for your assistance!

Sampath.

Replies 0 (0)