feat(backorders): BACK-469 add backorder availability prompt on PDP#2592
Merged
bc-apostoliuk merged 2 commits intomasterfrom Feb 12, 2026
Merged
feat(backorders): BACK-469 add backorder availability prompt on PDP#2592bc-apostoliuk merged 2 commits intomasterfrom
bc-apostoliuk merged 2 commits intomasterfrom
Conversation
agchan12
reviewed
Feb 10, 2026
alex-gaiduchok
approved these changes
Feb 10, 2026
1a87ea9 to
7c935d7
Compare
Only show the backorder availability prompt when available_to_sell > 0 and available_for_backorder > 0, in addition to the existing show_backorder_availability_prompt check. Co-authored-by: Cursor <cursoragent@cursor.com>
7c935d7 to
ea61dc8
Compare
agchan12
approved these changes
Feb 10, 2026
bc-maksym-konohorov
approved these changes
Feb 10, 2026
golcinho
approved these changes
Feb 10, 2026
agchan12
approved these changes
Feb 10, 2026
animesh1987
reviewed
Feb 11, 2026
animesh1987
approved these changes
Feb 11, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Jira: BACK-469
What/Why?
show_backorder_availability_promptis enabledavailable_to_sell > 0available_for_backorder > 0available_to_sellandavailable_for_backorderfrom the product object to thebackorder-availability-promptpartial so the template can evaluate the conditions.Rollout/Rollback
Standard deployment. Rollback by reverting the PR if needed.
Testing
available_to_sell > 0andavailable_for_backorder > 0— verify the backorder availability prompt is displayed.available_to_sell = 0— verify the prompt is not shown.available_for_backorder = 0— verify the prompt is not shown.show_backorder_availability_promptenabled still do not show the prompt.