Gadget Developers

GD

Gadget Developers

Build SAAS apps alongside thousands of other Gadget developers. Get help, and offer help to others in the community.

Join

Team member view only access

Hi, I need to give read only access to a person to review the code. I could not find a clear way to do it. So is there a way to: a. Give view only access of our code base or b. Create a new environment and give full access but only to that environment or...

is there a way to use the "match" filter in view (gelly)?

Much like how you use match in a filter, can I use it in View and how?

Webhooks filtering

Hi, Quick question - I want to keep a api scope but do not want the webhook. how can I go about that?
I am assuming api scope is required for any graphql queries to Shopify and it defines what we can access etc. ...
No description

Syncing Shop Products to other dev environments

Hi, I have my dev app installed on a singular shopify dev store. So I have 3 environments currently: ...

SQL querying models data

Hi, Is there a way to query data in models. When I use the API Playground and write JS to query, it is not able to process large data and its costs in usage hours 😦 I just want to know database counts per shopify store per shopify model to optimize my data storage....

Usage Data in Gadget

Hi, My Gadget usage exceeds 100hours every month. Are there any tips on how to reduce usage? I stopped automatic store syncing. Reduced models syncing on store install with...

Logs stopped logging

Hi just wanted to report that the logs stopped logging right now. Thank you

Is it possible to add and sync app-owned metafields with the default app namespace?

Following the docs at https://docs.gadget.dev/guides/plugins/shopify/advanced-topics/metafields-metaobjects#storing-metafield-data-in-gadget I was figuring out, if I can use the default namespace. The Shopify GraphQL API allows to leave the namespace parameter empty and will default to app-- + the app ID, which is automatically inferred. A metafield could look something like this: ```json {...

update action under shopifyProductVariant modal doesn't update real Shopify data

I am calling this update action many places in my app, also will add scheduler too for automatically update product prices. It is updating the modal I can see the new values in the Gadget data, but it's not changing the actual Shopify data, the price I see in online shop. I tried to get help from AI assistant too but lo luck, it just add fancy logs to my code which gets me nowhere. I'm sharing my shopifyProductVariant.update() action. No lack of permission...

Timeout Filtering for hasMany Relationship Data

Hey Gadget community! I'm building a dashboard where users can filter productvariants by marketingplan timeframe (e.g., "last 12 months", "next 6 months"). Need advice on the best pattern for this. Any recommendations? Use Case: Product variants have multiple monthly marketing plans...

Query error when upgrade to ggt@1.4

I tried migrating filter query shop: { equals: ... } to shopId: {equals: ...} already. But still get the error attached. I sent an example for how my query fetch is done. Also attached an example for a create action too. What am I doing wrong? traceId: d76c1680c1092e0b3b86425bc3a59472. app: upez
No description

Syncing Product Table First Immediately after Install

In order to onboard on our app, a newly installed merchant store's products need to be fully synced. We've noticed it could take up to 2 mins to sync the merchant immediately after install causing a bad experience for the merchant. We use api.shopifySync.run (see below). 1. Is this the right API to use or is the bulk api better?...

Upgrade from 2025-01 to 2025-04 resulted in "Request access to Protected Customer Data"

Hi, I recently upgraded from 2025-01 to 2025-04 and now am getting "Request access to Protected Customer Data" but I already have an approved form. Any suggestions how to fix this?...
No description

Gadget budget optimization

I just noticed that our request times were far over the allotted limit. I didn't realize that Gadget would automatically charge us for the extra time - I thought those additional hours would only be added manually. This is really frustrating because we didn't get any emails about it at all and I checked our billing and it's so over the budget. And this is of course is not what you'd expect from monthly subscribtion. It charged for 15 extra units.... Is there a way to prevent this automatic billing? I'd like to set limits so we don't exceed our budget. Also, can the price be reduced? It's honestly nonsense that the system allows us to go so far above our monthly price without any warning....

LCP score optimization

Hi guys. I have some problems with LCP on my gadget app. My LCP score is 3 - 5.5. The app is built with Remix trying to get the benefits of SSR. I tried to improve the LCP score by restructuring some code, created new small components, added lazy loading but looks like nothing helps. Here's my app https://apps.shopify.com/aqurate-ai Could someone have a look at it and share some quick improvements on LCP side?...

Request access to Protected Customer DataWebhooks and syncs will fail warning

I am seeing this warning even though I have the access already. There is a store that looked like it was failing to sync data and when I tried to manually sync it, it did not do anything
No description

Stuck on payment processing

Hi for some reason my bank didn't accepted the payment but now gadgets is also stucked at this model
No description

missing webhooks

There are a lot of stores with missing webhooks and it shows the following error regarding webhook filters even though i am not using any filters:
No description

Returning related data in api query

Hi, I'm trying to get all my subscriptions and return all the orders linked to that subscription record. I believe I have the schema setup correctly and have the syntax for the query correclty, but all it does is return the ID and not the entire record. If I write out the "select" in it's entirety for each column, I get a lint error. Attached some images of the schemas and the query that's not returning what' I'd like. Also attached is the result of the console log for the subscriptionsWithAllOrders query. I'm hoping maybe I can just do a join of some kind in my findMany method, but no luck and not seeing any documentation on how to do this. ...
No description

How to get the new orders using webhook(order/create, order/update)

Hello I have one question I am gonna trigger new orders details when customer creating new order But when trigger orders using webhook, I got this msg I need to update the order details as insert the link info using webhook after customer create order...
No description