Building an extension-only Shopify app in 10 minutes (using a Shopify admin extension!)

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024

ความคิดเห็น • 13

  • @user-qj7fd1wr8s
    @user-qj7fd1wr8s 2 หลายเดือนก่อน

    how i can work on existing extension of the app?
    i have already deleted the files from my computer and now i want to update the extension

  • @Andrewsylar
    @Andrewsylar 11 หลายเดือนก่อน +1

    Deserves more views, very good content

    • @gadget_dev
      @gadget_dev  11 หลายเดือนก่อน

      We agree, naturally :)

  • @axelamoe
    @axelamoe 2 หลายเดือนก่อน

    Can you a us how to fetch data from graphql admin from inside of an extension? Trying to do that from a pos ui extension. Thank you

    • @gadget_dev
      @gadget_dev  2 หลายเดือนก่อน

      It looks like Shopify has some docs on making a request from a POS UI extension: shopify.dev/docs/api/pos-ui-extensions/2024-04/server-communication
      It seems like you would need to use the built-in fetch() to send a request to a Gadget route, or your app's GraphQL endpoint (which can be found in your Gadget app's API docs). Hope that helps! If you want more info, we're happy to have a discussion and send full code snippets in our Discord (ggt.link/discord)!

  • @christhedatabaseguy
    @christhedatabaseguy 4 หลายเดือนก่อน

    Does Gadget support theme extensions like app blocks for sections that can be placed in a theme? We are building the admin for our app on Gadget but have not seen anything on how we might add theme extensions to embed tools for consumers to use.

    • @gadget_dev
      @gadget_dev  4 หลายเดือนก่อน +1

      Yes, you can call your Gadget app API from within theme extensions!
      We have a chatbot tutorial that uses theme extensions: docs.gadget.dev/guides/tutorials/ai-product-recommender
      and documentation on adding your Gadget API client to a theme extension: docs.gadget.dev/guides/plugins/shopify/extensions#theme-app-extensions

    • @christhedatabaseguy
      @christhedatabaseguy 4 หลายเดือนก่อน

      @@gadget_dev Oh, that's Awesome! We separated the extensions into a separate repository but would love for all of the app to be in a single space. Assuming extensions is a root folder. Will work on migrating over today.

  • @shayanshuaib1640
    @shayanshuaib1640 6 หลายเดือนก่อน

    can anyone tell me how to deploy the extension?

    • @gadget_dev
      @gadget_dev  4 หลายเดือนก่อน

      You can use `yarn shopify deploy` to deploy extensions to Shopify's infrastructure.
      Shopify has some documentation on the deploy command here: shopify.dev/docs/api/shopify-cli/app/app-deploy

  • @9FM303
    @9FM303 7 หลายเดือนก่อน

    :)