[Dawn Theme] Display some message Inventory out of stock continue selling

Hello, I’m using Dawn Theme.

I would like to display my future shipping date or message when customer selects the variant Inventory out of stock continue selling.

I tried this code with this video guide however my button-cart.liquid code is differnt.

It didn’t work for my case.

{%- elsif product.selected_or_first_available_variant.inventory_policy == 'continue' -%}
{{- 'products.product.inventory_out_of_stock_continue_selling' | t -}}

Anyone have some idea for solution?

Like this example is perfect but either cart button or could be pop up message around the cart button is okay too.

I believe the site in your screenshot is probably using the ‘delivery dates’ functionality.

See here: https://help.shopify.com/en/manual/shipping/setting-up-and-managing-your-shipping/set-up-delivery-dates

This would apply to all products though (not just the ones that are ‘out of stock’ but with ‘continue selling’ enabled).

For your specific situation, you could try the coding listed in this forum post (which discusses a similar issue/setup): https://community.shopify.com/topic/2024254