-
Notifications
You must be signed in to change notification settings - Fork 11
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
[2.x] Disable checkout button and add notice if not in stock #627
Merged
Merged
Changes from 5 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
7134bc6
Disable checkout button and add notice if not in stock
BobWez98 8dd1812
Apply fixes from Prettier
BobWez98 f656f2f
Added comma's
BobWez98 0abd612
Merge branch 'feature/cart-not-in-stock' of github.com:rapidez/core i…
BobWez98 6ff310d
Span to div
BobWez98 3e16267
Merge branch '2.x' of github.com:rapidez/core into feature/cart-not-i…
BobWez98 79132b0
Merge branch '2.x' of github.com:rapidez/core into feature/cart-not-i…
BobWez98 ba381d9
Feedback
BobWez98 aa1906b
Remove console log
BobWez98 553b3ab
Apply fixes from Prettier
BobWez98 69a04b0
Merge
BobWez98 49568d4
Right variable
BobWez98 44aa952
Added url as reference
BobWez98 3b4d257
Added url as reference
BobWez98 b3209d3
Minicart version
BobWez98 faa7856
Apply fixes from Duster
BobWez98 20d79c2
Shorter string
BobWez98 a3366c6
Merge branch 'feature/cart-not-in-stock' of github.com:rapidez/core i…
BobWez98 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Cart Store may be a more logical place for this.
We're already adding additional data to items here
core/resources/js/stores/useCart.js
Line 203 in c2a0bd7
Maybe we could do it in a way to polyfill the currently broken
is_available
so once we drop support for Magento versions that do have it in it's broken state we can remove this code without breaking changes to the frontend