Conversation
bc-shawnwang
left a comment
There was a problem hiding this comment.
code LGTM and the two manual test cases is as expected.
|
hey a few edits:
The above 2 are design change. Added a mockup below for intended display:
Thanks. let me know if anything isn't clear enough cc @animesh1987 |
|
@JessicaHu51 for your comment
Just remind this display is not accurate, and might not match the backorder prompts after added to cart. because it doesn't count the cart might already have same items. apple has 5 onhand available and 100 backorder available cart already have 6 x apple (5 on-hand 1 backordered). This is not considered on the PDP page (I think we decided not to calculate it, as luke recorded it somewhere in ADR). At least there is a slack thread on it: https://bigcommerce.slack.com/archives/C081DP3B6MV/p1762732177432859?thread_ts=1762728031.783749&cid=C081DP3B6MV I raised this because I saw the ticket https://bigcommercecloud.atlassian.net/browse/BACK-627 seems it want to consider current cart status? |
|
https://bigcommercecloud.atlassian.net/browse/BACK-627
@JessicaHu51 also if you check the tickets and design screenshot, it did only per product (and no picklist name but product name displayed in the design), so are you sure it needs to be display per picklist items and display its picklist name? (for cart page I know its per picklist item, but can you check your design on PDP?) |



What?
selected_picklist_optionsandpicklist_products_detailsfromPOST /remote/v1/product-attributes/:productIdand render a per picklist backorder prompt in addition to the main product stock on the Stencil PDP.Requirements
Tickets / Documentation
Add links to any relevant tickets and documentation.
Screenshots (if appropriate)
Display backorder prompt when picklist 'Adjust inventory for these products...' is selected
Adjust inventory for these products when purchasedis enabledAdjust inventory for these products when purchasedis enabledBACK-655.mov
Explanation
When a picklist item is selected, the backorder prompt is displayed.
Display backorder prompt when picklist 'Adjust inventory for these products...' is NOT selected
Adjust inventory for these products when purchasedis NOT enabledAdjust inventory for these products when purchasedis NOT enabledBACK-655-no-adjust.mov
Explanation
When a picklist item is selected, the backorder prompt is NOT displayed.
ping @bc-shawnwang @animesh1987 @bigcommerce/team-trac