Giter VIP home page Giter VIP logo

magento_react_native's Introduction

MageCart : Magento 2 React Native eCommerce App

React Native contributions welcome Slack All Contributors Tweet

MageCart is an e-commerce app for Magento 2.1 onwards. It consumes Magento 2 REST API to display catalog, products, add products to cart and let you place order.

New project which uses Magento GraphQL api instead of REST api

πŸ“· Screenshots

πŸ“² Getting Started

Follow this Documentation for detailed step by step instructions on how to setup project locally and run the project.

πŸ™‹β€ Contribute PRs Welcome

If you find a bug, or if you have an idea for this app, please file an issue here. We really appreciate feedback and inputs!

πŸ‡¬πŸ‡§πŸ‡«πŸ‡·πŸ‡ͺπŸ‡ΈπŸ‡¨πŸ‡³ You may also contribute with translations with our online tool crowdin.

More information on contributing, head over to our contribution guidelines.

πŸ‘¨β€πŸ’» Contributors ✨

Thanks goes to these wonderful people (emoji key):


Sanjeev yadav

πŸ’» 🚧

ishansinghania

πŸ’»

Kevin Delvo

πŸ“–

Jose Tobar

πŸ’» πŸ““

harshit mahendra

πŸ›

imrankhanjoya

πŸ›

Mehmood Arib

πŸ› πŸ’»

piyush9015

πŸ›

Balkrishan Yadav

πŸ›

Dima Portenko

πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

πŸ“£ Acknowledgements

β™₯️ Donate

If this project help you, or to help acclerate development, you can give me a cup of coffee πŸ˜„ :

Buy Me A Coffee

πŸ›‘ License

This project is licensed under the GNU v3 Public License License - see the LICENSE.md file for details.

magento_react_native's People

Contributors

allcontributors[bot] avatar devdelvo avatar dimaportenko avatar ishansinghania avatar josectobar avatar mehmoodarib avatar sanjeevyadavit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

magento_react_native's Issues

Support Downloadable type product

Is your feature request related to a problem? Please describe.
Implement functionality to support Downloadable type product, if purchased user will be able to download it within the app.
Downloadable Product: A digitally downloadable product that consists of one or more files that are downloaded. The files can reside on your server or be provided as URLs to any other server.

Describe the solution you'd like
Provide an option in OrderDetailScreen to allow product to be downloaded within the app.

Additional context
Read more about type of product here

JSON Parse error: Unexpected Identifier "New"

When I try to run using react-native run-android opening the application in my mobile. but showing the error in Home Page.

JSON Parse error: Unexpected Identifier "New"

Can anyone help?

Cart not showing prices sometimes

Describe the bug
Sometimes(reason not known) cart is not displaying prices nor the total prices after adding all the item prices.

Expected behavior
Prices should be shown of all the items in the cart and a grand total need to be shown.

Current Behavior
Sometimes 0 price is shown instead of actual price.

Steps to Reproduce

  1. Add item to cart
  2. Press back.
  3. Click on cart icon
  4. Repeat process.

Screenshots
Screenshot_1562599252

Smartphone (please complete the following information):

  • Magento Version: [e.g. 2.1.0]
  • Device: [Android Emulator
  • OS: [Pie]
  • Version [28]

Additional context
Add any other context about the problem here.

Implement functionality to apply cupon/gift cupoun in checkout process

Is your feature request related to a problem? Please describe.
Show option to enter coupon or gitft coupon in CartScreen to apply discount before going to shipping method page.

Describe the solution you'd like
Show an input box to apply coupon/gift coupon in CartScreen(can be PaymentScreen need to decide) to apply discount. Once the coupon is entered make an api request to fetch amount of discount applicable and then proceed to the checkout process.

Additional context
Read Magento 2 REST API

[iOS] Configurable option UI not rendring properly .

Configurable option UI not rendering properly
Drop down menu where we choose size and color of the configurable product and on address page where we select country & region are not rendering properly in iOS.

Expected behavior
Drop down should remain hidden, and should only open when clicked.

Current Behavior
Drop-down is open by default in iOS, which makes it hard to use, and if two of those are present side by side, their UI is overlapping with each other, making it hard to select.

Steps to Reproduce

  1. Open the app.
  2. Select any configurable item like(t-shirt).

Screenshots

Product Detail Screen
product

Address Screen at the time of checkout
Simulator Screen Shot - iPhone 11 - 2019-10-22 at 13 42 49

Smartphone (please complete the following information):

  • Magento Version: [2.1.0]
  • Device: [iPhone11]
  • OS: [iOS 13.0]

Navigation drawer rerendering multiple times, without any state change

Describe the bug
The DrawerPage component is rendering multiple times, even when state is not changing. This in turns forces child component DrawerHeader and CategoryTree component to render multiple times, which is not good for performance

Expected behavior
The DrawerPage should have rendered only 3 times, i.e.,

  1. When component is mounted for the first time
  2. When status changes from DEFAULT to LOADING
  3. Finally when status changes from LOADING to SUCCESS/FAILURE

Current Behavior
The DrawerPage is rendering multiple times, without any state change. check the log message ALERT: Inside Navigation Drawer render function

Steps to Reproduce
Please provide detailed steps for reproducing the issue.

  1. Open the app in debugging mode
  2. See the log message in console in web browser
  3. Wait or open any other page, the DrawerPage wiill render multiple times.

Screenshots
Screenshot from 2019-06-02 09-46-56

Smartphone (please complete the following information):

  • Magento Version: [2.1.0]
  • Device: [Nexus 5X]
  • OS: [Android PIE]
  • Version [API level 28]

Additional context
Help needed!

Show sort options in CategoryListPage

Is your feature request related to a problem? Please describe.
Show options to sort products in ascending and descending order based on price and name on CategoryListScreen .

Describe the solution you'd like
Display an option sort on CategoryListScreen, which on click show a dialog with 4 option.

  1. sort in ascending order: price
  2. sort in descending order: price
  3. sort in ascending order: name(a to z)
  4. sort in descending order: name(z to a)

On selecting any option, make new request that will get products for that particular category in that order.

Additional context
You can see implementation in troublediehard/magento-react-native
See Issue #13 , similar functionality
Screenshot_20190509-161625_magento_mobile_app

error in app, cant open it

hi,
I am using magento 2.2.8, and react native 0.58.6 on windows 8, installed sdk 28. i run the command react-native run android and the app is installed on the device but it shows this error: "Property description must be an object"
check the image to see the error in the app:

Find API to fetch applicable filter for products in Search Screen

Is your feature request related to a problem? Please describe.
In Search Screen a filter option need to be shown, which will help filtered the product in 'SearchScreen`. See the below Image where Shopping Options are shown which contains applicable filter for the search term Jacket in search
Screenshot from 2019-06-02 20-07-59

Describe the solution you'd like

  1. Find API that will fetch all applicable filters for particular search term
  2. Show options in SearchScreen to apply filters

Additional context
Read Magento 2 API
see issue #7

App is too slow

After making the release Build when I opened the app the response and animation of the app is too slow ..

When I tried the app after removing the sample data from my Magento, then also app is too slow..

Any idea about that ??

Add support to save address

Is your feature request related to a problem? Please describe.
After user is logged in, there is no Screen to add or link address to user profile. Create a new screen where user can save address and when user will checkout an order, if user has saved an address, it will get prefilled.

Describe the solution you'd like

  • Improve TextInput component
  • Rename AddressScreen to CheckoutAddressScreen
  • Improve the UI of CheckoutAddressScreen
  • Create new screen AddAddressScreen, where user can save address
  • Reference this address in CheckoutAddressScreen

Additional context
see https://github.com/troublediehard/magento-react-native

App Crash At The Time Of Checkout When Selecting One Country at the Magento2 Backend

The app crash at the time of checkout, when I selected only one country in the Magento 2 backend

I Selected Country Fiji at the Magento 2 backend and at the time of checkout it gives an Error like :
getCountryData() is not an Object.(evaluating 'available_reagion' in getCountryData())

Here is the screen shot :
Screenshot_1569413919

I Tested both on Emulator and Real Device, It gives and the same error

Find API to fetch applicable filter for products in CategoryListPage

Is your feature request related to a problem? Please describe.
In CategoryListScreen a filter option need to be shown, which will help filtered the product in CategoryListScreen. See the below Image where Shopping Options are shown which contains applicable filter for category Men>Jacket
Screenshot from 2019-06-02 12-39-20

Describe the solution you'd like

  1. Find API that will fetch all applicable filters for particular catgeory
  2. Show options in CategoryListScreen to apply filters

Additional context
Read Magento 2 API
see issue #14

Create better and extensive Readme and Contributing doc

Is your feature request related to a problem? Please describe.
Need to update README file, to better reflect the project, and add a Contributing and CodeOfConduct file for people to help making contributing easy.

Describe the solution you'd like

  1. Update README file to be more extensive about the project.
  2. Add CONTRIBUTING file, to help new user navigate to the code
  3. Add CodeOfConduct file.

Additional context
Read opensource.guide
Read react-native starter-kit Readme file
...add more Readme file link, if found

Create Single Screen Checkout process

Describe the bugs
Currently the entire checkout process is made in a haste, and this has introduced lot of errors

  1. No error message shown on Payment page if first and last name are not entered.
  2. Button should be disabled on Address Page if required fields are blank
  3. On payment page, if press back twice to enter Address Page, clicking the save button doesn't take you to shipment page.
  4. Unable to place second order, right after placing order, due to checkout reducer state not reset
  5. Show Payment Summary in Payment Screen
  6. Refactor entire checkout process into single screen(address, shipping, payment, summary)

Getting Currency Symbol Error

Hi,
My website belongs to kuwait . And i am using Kuwati Dinnar in currency . Now as i can for USD its working fine . But when i changed currency KWD. It is giving error . When i tried to installed it . That time it was also showing currency symbol warning .

Add Forgot Password Screen

Is your feature request related to a problem? Please describe.
Add a new page ForgotPasswordScreen that will help user to send a password reset link on his email id.

Describe the solution you'd like
In SignInScreen render an option Forgot password? that will take to ForgotPasswordScreen which will ask user email id, which will send a password reset link, in case user has forgot his password.

Additional context

Use Integration token for API authorization

Is your feature request related to a problem? Please describe.
Currently the app uses admin login credentials to get admin access token for API authorization. Every time app is started a new token is requested, if we create integration token, we don't need to hit API every time to get access token

Describe the solution you'd like

  1. Remove code that uses /V1/integration/admin/token API
  2. Manually provide an integration token in magento.js file, which will be used in place of admin access token

Additional context
consult Magento 2 API doc

Support localization(i18n) in the App

Is your feature request related to a problem? Please describe.
Currently strings are either hard-coded or reference from strings.js , which is not good for support of localization.

Describe the solution you'd like

  1. use i18n-js & react-native-localize package in App
  2. Follow similar project structure as in ignite-bowser boilerplate
  3. Remove all hard coded strings
  4. Reference all strings from i18n folder

Additional context
Look for best way to support i18n in react/react-native

Re-Write CatgeoryTree Component

Is your feature request related to a problem? Please describe.
Entire CategoryTree component need to be re-written from scratch supporting multiple depth(category can have sub category and so on). Current implementation is in complete and isn't optimized.

Describe the solution you'd like
Instead of creating hierarchy of nested list, show top most category and on click if there is a sub category, replace the entire list with sub category and show back button, this way, multiple level can be supported.

Additional context
Look at myntra app implementation

Build the project on iOS and test

Are there certain things to report that are not a bug or feature?
The app hasn't been tested on iOS device, need to build and properly test on iOS device.

  • Test on iOS device with and without notch
  • To upgrade ios/magento_react_native.xcodeproj/project.pbxproj file follow this guide
  • Fix any linking problem if occurs
  • Take screenshots for iOS

Upgrade: React Native from 0.59.5 to 0.61.2

Is your feature request related to a problem? Please describe.
React native >= 0.60 has some major changes like

  • AndroidX support
  • Hermes(new JavaScript engine) support
  • 64 bit support
  • fast refresh
  • Auto link library (no need to manually link packages)
  • With Hermes unable, build size decreases and performance improves

Describe the solution you'd like
Follow these steps to upgrade react native

  1. Run the upgrade command

    react-native upgrade
    

    Some files will not get upgraded, those files need to be changes manually

  2. Open React Native upgrade helper and choose 0.59.2 in left column and latest react native version in right column
    react-native-upgrade

  3. Files which were not changes automatically in Step 1, modified them manually using step 2

  4. Unlink previously linked modules

  5. Run and test App

Additional context
Official React Native upgrade guide
To upgrade ios/magento_react_native.xcodeproj/project.pbxproj file follow this guide

TODO

  • Upgrade react native from 0.59.5 to ^0.61.2
  • Enable hermes
  • Test entire app for any case of failure

Show and update price for configurable product in ProductDetail Page.

Is your feature request related to a problem? Please describe.
Currently in ProductDetailPage if the product is simple, it's price is shown, but if it is configurable then price is not shown, function need to written so that when user select configurable options from the picker, appropriate price is shown.

Describe the solution you'd like
Check troublediehard/magento-react-native implementation in product screen and copy it.

Additional context
Major feature, must be implemented.

Show sort options in Search Screen

Is your feature request related to a problem? Please describe.
Show options to sort products in ascending and descending order based on price and name on SearchPage .

Describe the solution you'd like
Display an option sort on SearchScreen, which on click show a dialog with 4 option.

  1. sort in ascending order: price
  2. sort in descending order: price
  3. sort in ascending order: name(a to z)
  4. sort in descending order: name(z to a)

On selecting any option, make new request that will get products for that particular search term in that order

Additional context
You can see implementation in troublediehard/magento-react-native
See Issue #8 , similar functionality
Screenshot_20190509-161625_magento_mobile_app

Add new page to add reviews about a product

Is your feature request related to a problem? Please describe.
After the reviews has been shown on ProductScreen show a button that will take to a new page AddReviewScreen that will helped logged in user to add reviews about the product.

Describe the solution you'd like
If the user is logged in, show a button in ProductScreen that will take you to AddReviewScreen that will help enter reviews about the product.

Additional context

  • First issue #4 need to completed before this can be implemented.
  • Also API need to be find which will be used to save reviews
  • Magento 2 REST API docs

Display description and other product details in Product detail screen.

Is your feature request related to a problem? Please describe.
Currently the product detail description is not rendered properly and also other product relevant information can be shown, which is coming from product detail API.

Describe the solution you'd like
To render product description nicely and find other product related details that can be shown in ProductDetailPage

Additional context
Currently the product description is looking this way:
Screenshot_1559458049

Fetch currency symbol and append on prices

Is your feature request related to a problem? Please describe.
Currently the /V1/store/storeConfigs api gives default currency but not currency symbol. Also currently currency symbol is manually written instead of fetching from API. Currency API need to be fetch and currency symbol need to be shown where prices are being displayed.

Describe the solution you'd like

  1. Hit API GET /V1/directory/currency
  2. Store default currency and currency symbol in reducer
  3. Retrieve currency symbol from store and append where prices are shown

Additional context
Refer Magento 2 documentation

Make Add to cart button always visible in ProductDetailPage

Is your feature request related to a problem? Please describe.
Currently add to cart button is down the page and you have to scroll in order to place the item in cart.

Describe the solution you'd like

  1. Make Add to cart button appears always on bottom in ProductDetailPage
  2. If product is configurable and user click on add to cart button without selecting the options, scroll the view to the options.

Additional context
See the UI in Myntra app

Implement react-native-screens package in app

Is your feature request related to a problem? Please describe.
react navigation suggests to use react-native-screens package for performance optimization.

Describe the solution you'd like
Implement the steps mentioned in docs

[iOS] Category List Item not rendering properly

Describe the bug
In CategoryListScreen, the items in the list should appear in 2 column layout, filling the entire width, but two columns are having fixed size.

Expected behavior
CatalogGridItem should appear in 2 -column layout when used in CategoryListScreen, and should have fixed width when used in HomeScreen Horizontal list

Current Behavior
CatalogGridItem is not talking 50% of the screen width in CategoryListScreen

Steps to Reproduce
Please provide detailed steps for reproducing the issue.

  1. Open the app
  2. open the drawer
  3. Select any category(like gear)
  4. See problem

Screenshots
category_problem

Smartphone (please complete the following information):

  • Magento Version: [2.1.0]
  • Device: [iPhone11]
  • OS: [iOS13]

Additional context
CatalogGridItem used in CategoryListScreen two places, when CategoryListScreen where it is shown in vertical list, and in HomeScreen where it is render as a horizontal list

Integrate BrainTree Payment in the app

Is your feature request related to a problem? Please describe.
Implement BrainTree payment method in the app, so user can pay using cards.

Describe the solution you'd like

  1. Create a merchant account on BrainTree
  2. Enable BrainTree payment method in Magento Admin
  3. Configure App to work with BrainTree at frontend

Additional context

Search Screen don't show prices and click doesn't work

Is your feature request related to a problem? Please describe.
Convert SearchScreen into functional component.
Extract component into smaller components and reuse sort and filter component that are present in CategoryListScreen

Describe the solution you'd like

  1. Fetch price of individual item in search screen
  2. OnPress not working when click on product
  3. Convert SearchScreen from class level component into functional component
  4. Reuse sort and filter component that are used in CategoryListScreen
  5. Use container - presentation architecture

Additional context
First complete issue #16 then complete this one.

Show Product reviews on Product Detail Page

Is your feature request related to a problem? Please describe.
Show product reviews on ProductScreen, including average rating, user reviews etc.

Describe the solution you'd like
Fetch product reviews for a particular product and display it in ProductScreen. If reviews are greater than 3, show maximum of 3 reviews on ProductScreen and show a button to "see all" which will take to new page, where all reviews will be shown.

Additional context

Use correct currency symbol in Order List & Order Detail Screen

Is your feature request related to a problem? Please describe.
OrderDetailScreen & OrdersScreen should use currency symbol that you get using order_currency_code which is being fetched using API. Not the current default selected in App (id App supports multiple currency)

Describe the solution you'd like
Make sure that currency symbol shown and the price is the same which were used at the time of placing the order.

Additional context
This will be make more sense after #58 is implemented

Fix missing font family for ios in typography

Describe the bug
sans-serif font family is not available in iOS, so app will crash.

Current Behavior
App will crash in iOS device

Steps to Reproduce
Please provide detailed steps for reproducing the issue.

  1. Open typography.js
  2. Change these lines
    import colors from './colors';
    
    const fontFamily = 'sans-serif';
  3. With these lines
    import { Platform } from 'react-native';
    import colors from './colors';
    
    const fontFamily = Platform.select({ android: 'sans-serif', ios: 'Helvetica' });

Additional context
Add any other context about the problem here.

Support Bundle type product in Product Detail Screen

Is your feature request related to a problem? Please describe.

Bundle Product: A bundle product let customers β€œbuild their own” from an assortment of options. The bundle could be a gift basket, computer, or anything else that can be customized. Each item in the bundle is a separate, standalone product.

If the product type is bundle show all the products within the bundle in ProductScreen and add functionality to add that bundle product in CART

Describe the solution you'd like
Render all products within the bundle products and implement functionality to add that bundle product and place it in cart and entire checkout process.

Additional context
Read more about type of product here
Read more about Magento 2 Rest API

Extract ProductDetailPage into functional component

Is your feature request related to a problem? Please describe.
Currently every other page used functional component and to access state it uses react-redux hook, extract ProductDetailPage into functional component.

Describe the solution you'd like

  1. Convert class component into functional component
  2. Extract state full component into container
  3. Create component for sort and filter options
  4. use react-redux hook to access state

Additional context
Make ProductDetailPage modular, so that it can support wide variety of products like, simple, configurable, downloadable etc.

App not working on release build

Describe the bug
App isn't working on release build.

Expected behavior
App should have run in same way as run in debug build

Current Behavior
Throws an error in MessageView component

Steps to Reproduce
Please provide detailed steps for reproducing the issue.

  1. Create signing keystroke file if not made : instructions
  2. Configure app/build.gradle to read release.keystroke file
  3. Run react-native run-android --variant=release
  4. See error...

Screenshots
Screenshot_1567018504

Smartphone (please complete the following information):

  • Magento Version: [2.1.0]
  • Device: [Emulator Nexus 5X]
  • OS: [PIE]
  • Version [28].

Other Context
enabling debuggable true on release, makes app run normally but it is using npm start server to load bundle.js then

Need product name text overflow hidden in ProductListItem

Describe the bug
Can bigger product name adjusted in one line and more text can be hidden so that it doesn't effect the product image to displaced and text will be within the product name box.

Expected behavior
If name of the product is bigger and cannot be encompassed into two lines than truncate the product name and show ellipses ... on the second line

Current Behavior
The entire product name is being displayed, no matter how long it is, this is forcing the price to push down the boundary of ProductListItem.

Steps to Reproduce
Please provide detailed steps for reproducing the issue.

  1. Create a product with very large name in Magento admin
  2. Add the product in HomePage featured list category
  3. See the name

Screenshots
Screenshot_1559487466

Smartphone (please complete the following information):

  • Magento Version: [2.1.0]
  • Device: [Nexus 5X]
  • OS: [Android PIE]
  • Version [28]

Additional context
See the troublediehard/magento-react-native implementation

Option to change currency in App

Is your feature request related to a problem? Please describe.
Allow app to change currency, which will update the currency symbol and currency rate.

Describe the solution you'd like

  • Show drop down to select currency
  • Update currency symbol and price rate according in entire app
  • When placing order, make sure to send currency type in order
  • In Oder detail, show currency from the API and not currently selected one.

Additional context
magento 2 Admin setting to add currency - video

UI Change List

Is your feature request related to a problem? Please describe.
Fix all these UI changes to improve UX

APP level

  • Add selectedKey prop to all <ModalSelect /> component and remove setState logic from onChange` function
  • Show cart item count on bottom bar as badge

Product Screen

  1. Replace WebView with react-native-render-html library to render product description
  2. Use type_id === 'configurable' logic to check it has options, everywhere in product detail page
  3. No message is shown when user hit add to cart button, show success or error message accordingly
  4. No check in configurable type product to disable certain options which are not available

Example: suppose in size s color red is not available, so when user select size s, red option should be disabled.

  1. No check written to check whether product is out of stock or not, if out of stock, disable add-to-cart button
  2. Add input box to let user enter quantity of that product for cart currently defaults to 1, and not more then available quantity
  3. Show image of current selected product in configurable type product
  4. Change logic of how configurable type product get added to cart. docs

Login Screen

  • Show icon to unhide password in Password Input field
  • Show next button to jump to next TextInput that comes after the current one being edited (use ref)
  • Disable auto captilize in email TextInput
  • Add check for valid Input element (ex. valid email id)

Signup Screen

  • Show icon to unhide password in Password Input field
  • Show next button to jump to next TextInput that comes after the current one being edited (use ref)
  • Disable auto captilize in email TextInput
  • Add check for valid Input element (ex. valid email id)

Checkout Address Screen

  • Show next button to jump to next TextInput that comes after the current one being edited (use ref)

Cart Screen

  • Define prop type for items props in Cart

DrawerHeader component

  • Show logged in user name in Welcome text shown in DrawerHeader component
  • Add logout button in Drawer

Edit Profile Screen

  • Enable to set gender

Order List & Order Detail Screen

  • Show images of products
  • Open Product Screen, when clicked on product from Order Detail Screen

Categories Screen

  • Add animation when opening & closing catgeory

Refactor Product Detail Screen state from redux to local State

Is your feature request related to a problem? Please describe.
Current implementation of ProductScreen, store its state into redux store, which only allows only one product to view, for second Product to view, previous screen need to be closed and launched again. This means you can't open second Product detail screen over another. This will also effect deep-linking

Describe the solution you'd like

  1. Move current state from ProductReducer to local state.
  2. Move the current selected options for configurable product also in local state.
  3. Store current open product related data in key-values pairs in reducer, which are coming after API fetch.
  4. Store constants in ProductReducer which could be reused for multiple products

Additional context

Out of Stock Product throws exception when selection options

Describe the bug
App crash while selecting size on a configurable product which is out of stock.
reason: quantity value from server is not handled correctly in code

Expected behavior

  1. In case of configurable product, particular option which is out of stock should be disabled from selection
  2. In case of simple product, add to cart button should be disabled and message should be displayed out of stock on the screen.

Current Behavior
App crash
Screen Shot 2019-09-22 at 12 36 00 PM

No logic to check Internet Connectivity

Describe the bug
There should be a logic which will check if network connection is available or not.

Expected behavior
Check the status of network connection, and if internet connection is available, make API call else, show message, no connection.

Current Behavior
No check, simple throw error

Smartphone (please complete the following information):

  • Magento Version: [2.1.0]
  • Device: Nexus 5X]
  • OS: [PIE]
  • Version [28]

Additional context
use netinfo package

[iOS] Drawer Header not showing in drawer.

Describe the bug
The DrawerScreen, should show a DrawerHeader component at top, which serves as an entry point to Login or view user account. The component is not shown.

Expected behavior
There should be DrawerHeader component in drawer.

Current Behavior
No DrawerHeader component shown

Steps to Reproduce
Please provide detailed steps for reproducing the issue.

  1. Open the App
  2. Click on Humburger icon on top left of toolbar
  3. No DrawerHeader

Screenshots
drawer_header_ios

Smartphone (please complete the following information):

  • Magento Version: [2.1.0]
  • Device: [iPhone11]
  • OS: [iOS13]

Additional context
See Android build for reference.

Find Magento 2 API, to add product to wishlist

Is your feature request related to a problem? Please describe.
Need to find Magento 2 API which will help to add product into wishlist and API that will help to fetch all products which has been wish-listed for a current logged in user.

Describe the solution you'd like
Read Magento 2 API doc and find 2 API

  1. API to add product to wishlist for logged in user
  2. API to fetch all products in wishlist for logged in user

Additional context
This is not code realted feature, you need to read magento document in order to find out functionality.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.