Example PR
Ticket Link
What is the feature?
The client has requested they would like the ability to promote "Last Chance" UI on the product card.
The "Last Chance" UI shouldn't show on "On Sale" and "Pre Order" products
What is the solution?
A new metafield with the type of checkbox has been created at the product level to allow the client to toggle the "Last Chance" UI on and off.
Metafield Definition: product.metafields.stock_management.enable_last_chance
Visuals

What areas of the site does it impact?
Collection Page Search Page Recommendation Carousels (Global Section)
Are there any new metafields?
Yes.
Metafield Definition: product.metafields.stock_management.enable_last_chance
Type: Checkbox
Are there any new theme settings?
No.
Are there any new locales?
Yes.
products.product.last_chance
How to test?
Store: UK
Theme: oh-polly-2.0/OP-90-op-last-chance-messaging
Test Product: Here
Collection: Dresses
The "Last Chance" UI should appear on the above product if product.metafields.stock_management.enable_last_chance is set to true.
Test the the "Last Chance" UI doesn't appear on product cards which are on sale or set to pre order.
Deployment Information
Warning: Remove the enabled metafield from the Test Product before deploying.
The following locale will need adding to the UK and US store before deployment.
products.product.last_chance