Aus öffentlichen Paketdaten erstellte Orientierung.
flutter_simple_shopify ist ein Flutter-Paket, das entwickelt wurde, um den Prozess der Erstellung mobiler Anwendungen für Shopify-Shops zu vereinfachen. Es bietet eine nahtlose Integration mit der Shopify-API, wodurch Entwickler Produktinformationen abrufen, Warenkörbe verwalten und Kassenabläufe effizient bearbeiten können. Das Paket abstrahiert komplexe API-Interaktionen in intuitive Methoden, reduziert Boilerplate-Code und beschleunigt die Entwicklung. Mit minimalem Setup unterstützt es die zentralen E-Commerce-Funktionen, die für Storefront-Apps erforderlich sind.
Anwendungsfälle
Shopify-Storefront-Apps erstellen
Produkt- und Sammlungsdaten abrufen
Implementierung von Warenkorb- und Kassenfunktionen
Integration von Shopify-APIs in Flutter
Erstellung von mobilen E-Commerce-Lösungen
Hauptmerkmale
Einfache Shopify-API-Integration
Produkt- und Sammlungserfassung
Warenkorb- und Kassenverwaltung
Minimale Einrichtung erforderlich
Sauberer, developerfreundlicher API
Geeignet für
Flutter-Entwickler, die Shopify-Apps erstellen
E-Commerce-Startups
Mobile App-Ersteller mit Shopify-Shops
Entwickler, die eine schnelle Shopify-Integration suchen
Hinweise
Beschränkt auf grundlegende E-Commerce-Funktionen
Keine integrierte Authentifizierungsverwaltung
Benötigt manuelle Fehlerverwaltung
Abhängig von der Stabilität der externen Shopify-API
Nicht geeignet für erweiterte Shopify-Anpassungen
Original-README
Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.
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!