सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
flutter_simple_shopify एक Flutter पैकेज है जिसे Shopify स्टोर के लिए मोबाइल एप्लिकेशन बनाने की प्रक्रिया को सरल बनाने के लिए डिज़ाइन किया गया है। यह Shopify API के साथ आसान एकीकरण प्रदान करता है, जिससे विकासकर्ता उत्पाद डेटा प्राप्त कर सकते हैं, कार्ट प्रबंधित कर सकते हैं और चेकआउट प्रवाह को कुशलता से संभाल सकते हैं। पैकेज जटिल API इंटरैक्शन को समझने योग्य तरीकों में सरल बनाता है, बॉयलरप्लेट कोड को कम करता है और विकास को तेज करता है। कम सेटअप के साथ, यह स्टोरफ्रंट एप्लिकेशन के लिए आवश्यक मूल ई-कॉमर्स कार्यक्षमता का समर्थन करता है।
उपयोग
Shopify स्टोरफ्रंट ऐप्स बनाना
उत्पाद और संग्रह डेटा लोड करना
कार्ट और चेकआउट फीचर्स को लागू करना
Flutter में Shopify APIs का एकीकरण
मोबाइल कॉमर्स समाधान बनाना
मुख्य विशेषताएँ
आसान शॉपीफ़ाई API एकीकरण
उत्पाद और संग्रह प्राप्त करना
कार्ट और चेकआउट प्रबंधन
आवश्यक सेटअप न्यूनतम
स्पष्ट, डेवलपर-मित्र API
इनके लिए उपयुक्त
Flutter विकासक शॉपीफ़ाइ के एप्लिकेशन बना रहे हैं
ई-कॉमर्स स्टार्टअप
Shopify स्टोर वाले मोबाइल ऐप निर्माता
त्वरित Shopify एकीकरण के लिए विकासकर्मी
विचार योग्य बातें
मूलभूत ई-कॉमर्स विशेषताओं तक सीमित
कोई निर्मित ऑथेंटिकेशन हैंडलिंग नहीं
हाथ से त्रुटि प्रबंधन की आवश्यकता है
बाहरी Shopify API के स्थिरता पर निर्भर करता है
उन्नत शॉपिफ़ाई कस्टमाइज़ेशन के लिए उपयुक्त नहीं
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
flutter_simple_shopify
A new Flutter package which provides help in creating a mobile app of a shopify store.
Note: This library as of right now is not ready for productionhowever we finished creating our own app and used the library.
There are still minor bugs here and there but we advise everyone to start using the library and post as many issues as possible.
If there are questions about the usage feel free to hit us up on our mail address.
How To Use
I Assume you have already a private app on your Shopify store. if not please follow this.
At step 6 we recommend checking every API permission as some queries and mutations require permission on objects like product tags.
First of all configure the ShopifyConfig like that:
voidmain() {
ShopifyConfig.setConfig(
'de16cae1ce0b86260703fccaa6b689a3', // Storefront API access token.'exampleShopname.myshopify.com', // Store url.'2020-04'); // The Shopify Storefront API version.runApp(MyApp());
}
These are the five possible instances, each contains different methods which will help you with working with the Shopify Storefront API.
The goal is to make creating an mobile app from your Shopify website easier.
Above you see the instance on top and the possible methods and functions which you can use.
Getting Started
This project is a starting point for a Dart
package,
a library module containing code that can be shared easily across
multiple Flutter or Dart projects.
For help getting started with Flutter, view our
online documentation, which offers tutorials,
samples, guidance on mobile development, and a full API reference.
Contribution
Everybody can contribute and is invited to do so!
Important: if you add a new field to a model please consider also adding this to every mutation/query that is associated with the model.
eg. adding a new field to Checkout which is the webUrl, now you will need to go through the various queries/mutations and search for "Checkout" and add webUrl to each one of those.
(adding a new field to a Model also requires you to update the fromJson)
Also I would like to thank everyone who contributed so far!