Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added some features & minor bug fixed #44

Draft
wants to merge 83 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
ffef1e4
checkout emailUpdate
Nov 2, 2020
c1f1a97
Products instead for List<Product>
Nov 10, 2020
465a475
getXOrdersAfterCursor
Nov 10, 2020
63350e8
getXOrdersAfterCursorQuery
Nov 12, 2020
f263e66
product variants selectedOptions
Nov 13, 2020
6b67259
exception handling in customer access token create
Nov 17, 2020
f69b52e
registration
Nov 18, 2020
d27c7fb
removed Exception handling
Nov 20, 2020
33e0688
product and variant toJson fn
Nov 23, 2020
e1804e3
renamed ShippingRates to ShippingRate
Nov 26, 2020
39c174c
checkout missing field added
Dec 2, 2020
3ecbb33
discountApplicationList.length
Dec 2, 2020
50d46cf
discountApplications
Dec 2, 2020
6722caa
customer with formattedArea
Dec 9, 2020
de8be99
order new filed
Dec 10, 2020
52ff8d9
EnumToString
Dec 10, 2020
162f35b
order exception handled
Dec 10, 2020
b988814
order enum parseToString
Dec 10, 2020
6c39a86
discountApplications & discountAmount in order
Dec 11, 2020
04d69c8
discountApplications & discountAmount in order
Dec 11, 2020
78cbd84
discountApplications & discountAmount in order
Dec 11, 2020
1652907
current prices in orders
Dec 11, 2020
74c9ec8
current prices in orders
Dec 11, 2020
052f3d3
current prices & discount amount removed from orders
Dec 11, 2020
721ecca
order shippingaddress converted to mailing address
Dec 11, 2020
6359e7c
discountAmount with tax
Dec 11, 2020
d634250
product and collection by handle
Dec 17, 2020
29ae7fe
product & collection by handle
Dec 18, 2020
1be7747
collection by handle
rupamjbordoloi Dec 21, 2020
0682f8f
Merge branch 'master' of https://github.com/ThinkSimple/flutter_simpl…
rupamjbordoloi Jan 4, 2021
d914beb
product tags
rupamjbordoloi Jan 11, 2021
e9c7c60
product collection list
rupamjbordoloi Jan 12, 2021
4ef033f
CustomerAccessToken class
rupamjbordoloi Jan 15, 2021
78b04b5
customer access token renewal
rupamjbordoloi Jan 18, 2021
945d738
current user
rupamjbordoloi Jan 18, 2021
0c3acf9
registration last name, discount issue, formatted price without space
rupamjbordoloi Jan 19, 2021
3b9a8d7
transformedSrc for all images
rupamjbordoloi Jan 20, 2021
4e099d0
removed print statements
rupamjbordoloi Jan 20, 2021
354a5bb
article pagination
rupamjbordoloi Jan 21, 2021
e0f4e34
query optimized
rupamjbordoloi Feb 9, 2021
a18ad80
query optimized
rupamjbordoloi Feb 12, 2021
195743c
error
rupamjbordoloi Feb 15, 2021
55b1e62
collection descriptionHtml
rupamjbordoloi Feb 20, 2021
d509b7d
product details with tags
rupamjbordoloi Feb 22, 2021
3bea2ed
DiscountApplication bug fixed
rupamjbordoloi Feb 24, 2021
9f7cb91
products query
rupamjbordoloi Feb 26, 2021
8cd5c1f
line items variant price
rupamjbordoloi Mar 5, 2021
cc35361
fetch tags with products
rupamjbordoloi Mar 8, 2021
47f6d8c
aed currency & tag in product rec
rupamjbordoloi Mar 16, 2021
9bc3f91
added missing fields
rupamjbordoloi Mar 18, 2021
2abc84a
customer tags
rupamjbordoloi Mar 25, 2021
3c1c567
checkout info with shipping rates
rupamjbordoloi Apr 5, 2021
2f5b8fe
rating & review count metafields
May 14, 2021
7b8bfa7
recently ordered products
rupamjbordoloi May 17, 2021
0d335e9
textIncluded
rupamjbordoloi May 18, 2021
551ed66
checkout refactored
rupamjbordoloi May 19, 2021
8bb8bbe
currency format
rupamjbordoloi May 21, 2021
e865ca7
removed deleted products from recently ordered products list
rupamjbordoloi May 24, 2021
e0c0b68
removed duplicate products from recently ordered products list
rupamjbordoloi May 24, 2021
0f42631
product type
rupamjbordoloi May 25, 2021
a8dff00
product vendor
rupamjbordoloi May 27, 2021
05d4be4
migrated
rupamjbordoloi May 28, 2021
458bed5
Merge pull request #1 from forked-prs/null-safety
rupamjbordoloi May 28, 2021
ad9dd0a
null safety fixed
rupamjbordoloi May 31, 2021
08741e3
null safety fixed
rupamjbordoloi Jun 1, 2021
6741348
checkout info query
rupamjbordoloi Jun 1, 2021
2afe4b2
articles
rupamjbordoloi Jun 2, 2021
49902f5
Merge branch 'dev' of github.com:forked-prs/flutter_simple_shopify
rupamjbordoloi Jun 8, 2021
4d90bec
null safety
rupamjbordoloi Jun 9, 2021
076f132
caching removed
rupamjbordoloi Jun 11, 2021
af520c5
cache policy to noCache
rupamjbordoloi Jun 16, 2021
efe28e9
currency conversion
rupamjbordoloi Sep 24, 2021
3a37210
product by id minimum data with tags
rupamjbordoloi Oct 12, 2021
4ca810c
dynamic product variants count
Jan 19, 2022
bc31924
converted price with origal prices
Feb 25, 2022
5130c8e
getXProductsAfterCursorByCollectionHandle nullable cursor
Jun 16, 2022
899d535
chore: shopify api version-2022-04
Jun 29, 2022
904ff5f
fix: blogs & articles url changed to onlineStoreUrl
Jun 30, 2022
3048f36
feat: checkout with gift cards
Jul 1, 2022
86c1b27
feat: collection filters for products
Jul 6, 2022
024e15c
fix: shippingAddressUpdate with nullable fields
Jul 7, 2022
4c6ae8c
fix: shippingAddressUpdate with nullable fields
Jul 7, 2022
47de06b
Merge branch 'master' of github.com:forked-prs/flutter_simple_shopify
Jul 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,34 @@ The goal is to make creating an mobile app from your Shopify website easier.
```dart
ShopifyStore shopifyStore = ShopifyStore.instance;
Future<List<Product>> getProductsByIds()
Future<List<Product>> getXProductsAfterCursor(int limit,String startCursor)
Future<Product> getProductByHandle(String handle,
{bool deleteThisPartOfCache = false})
Future<Products> getXProductsAfterCursor(int limit,String startCursor)
Future<List<Product>> getAllProducts()
Future<List<Product>> getNProducts({@required int n, @required SortKey sortKey})
Future<Shop> getShop()
Future<Collection> getFeaturedCollection()
Future<List<Collection>> getAllCollections()
Future<List<Product>> getXProductsAfterCursorWithinCollection(String id, int limit, String startCursor, SortKeyProduct sortKey)
Future<Collection> getCollectionByHandle(String handle,
{bool deleteThisPartOfCache = false})
Future<Products> getXProductsAfterCursorWithinCollection(String id, int limit, String startCursor, SortKeyProduct sortKey)
Future<Collection> getXProductsAfterCursorByCollectionHandle(
String handle, int limit, String? startCursor,
{bool deleteThisPartOfCache = false,
bool reverse = false,
SortKeyProductCollection sortKeyProductCollection = SortKeyProductCollection.RELEVANCE})
Future<List<Product>> getAllProductsFromCollectionById(String id)
Future<List<Product>> getAllProductsOnQuery(String cursor, SortKeyProduct sortKey, String query)
Future<List<Product>> getXProductsOnQueryAfterCursor(String cursor, int limit, SortKeyProduct sortKey, String query)
Future<Products> getXProductsOnQueryAfterCursor(String cursor, int limit, SortKeyProduct sortKey, String query)
Future<List<Metafield>> getMetafieldsFromProduct(String productHandle, {String namespace})
Future<ShopifyPage> getPageByHandle(String handle)
```
```dart
ShopifyCheckout shopifyCheckout = ShopifyCheckout.instance;
Future<Checkout> getCheckoutInfoQuery({String checkoutId})
Future<Checkout> getCheckoutInfoWithAvailableShippingRatesQuery({String checkoutId})
Future<List<Order>> getAllOrders({String customerAccessToken})
Future<Orders> getXOrdersAfterCursor({String customerAccessToken, int limit, String startCursor})
Future<void> checkoutLineItemsReplace({String checkoutId, List<Map<String,dynamic>> checkoutLineItems})
Future<void> checkoutCustomerAssociate({String checkoutId, String customerAccessToken})
Future<void> checkoutCustomerDisassociate({String checkoutId})
Expand Down
113 changes: 0 additions & 113 deletions example/lib/collection_tab.dart

This file was deleted.

88 changes: 0 additions & 88 deletions example/lib/home_tab.dart

This file was deleted.

73 changes: 0 additions & 73 deletions example/lib/main.dart

This file was deleted.

54 changes: 0 additions & 54 deletions example/lib/product_detail_screen.dart

This file was deleted.

15 changes: 0 additions & 15 deletions example/lib/profile_tab.dart

This file was deleted.

Loading