Created
August 7, 2021 16:11
-
-
Save sweethoneycode/206acefe51015e7e2c8e032de3dafc82 to your computer and use it in GitHub Desktop.
This file contains 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
{%- assign product_date = product.metafields.my_fields.datetime -%} | |
{%- comment -%} | |
Color Metafield and attributes | |
{%- endcomment -%} | |
{%- if product_date -%} | |
<p>Pre-order: {{ product_date.value | time_tag: format: 'date' }}</p> | |
{%- endif -%} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment