Closed azharakbar closed 4 years ago
Issue reproduced locally
RCA The button text was decided upon multiple factors and all these were enclosed in nested ternary operators
Simple Ternary Operation x = y ? z : a
Complex Ternary Operation x = y ? z : a ? b : c
The situation was complex, and since parenthesis was not provided, it evaluated to wrong value
Fix x = y ? z : (a ? b : c)
Search Page
Items Page
Item Detail Page
Describe the bug When an item that has special offer goes out of stock, then the Buy Now button should be disabled, and its text should be "Sold Out" But the text change happens only specialOffer page, but not in items, search, itemDetail pages
To Reproduce Steps to reproduce the behavior:
Expected behavior An offer item that is out of stock should be RED, DISABLED, and carry SOLD OUT on the button
Screenshots If applicable, add screenshots to help explain your problem.