magento_react_native icon indicating copy to clipboard operation
magento_react_native copied to clipboard

Out of Stock Product throws exception when selection options

Open imrankhanjoya opened this issue 6 years ago • 5 comments
trafficstars

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

imrankhanjoya avatar Sep 22 '19 07:09 imrankhanjoya

Please give more context?

  1. Are you suing default store url or your own custom magento url?
  2. If you are using default store url, could you point out the which product you are opening?

sanjeevyadavIT avatar Sep 22 '19 15:09 sanjeevyadavIT

http://fiji.jaipurshine.com/summer-women-s-striped-dress-short-sleeve-off-shoulder-slim-sexy-long-dress-for-women.html This happens when product is out of stock and also don't see quantity option.

Thanks

imrankhanjoya avatar Sep 22 '19 16:09 imrankhanjoya

thanks for pointing that out, I haven't implemented this out of stock check in the code, currently the app is very basic and need to be refined at so many levels. If you are interested in contributing I will be happy to help you out.

sanjeevyadavIT avatar Sep 22 '19 18:09 sanjeevyadavIT

@all-contributors please add imrankhanjoya for bug

sanjeevyadavIT avatar Oct 21 '19 18:10 sanjeevyadavIT

@alexakasanjeev

I've put up a pull request to add @imrankhanjoya! :tada:

allcontributors[bot] avatar Oct 21 '19 18:10 allcontributors[bot]