Skip to content

Commit

Permalink
Update from Shopify for theme Trellis Demo
Browse files Browse the repository at this point in the history
Committed from shop: Tailwind Starter Plus Admin Fields
  • Loading branch information
shopify[bot] authored Oct 25, 2024
1 parent 6a8b13f commit 2f4c322
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions snippets/wk-custom-meta-field.liquid
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{% assign wk_metafields = product.metafields.wk_custom_field %}

Check warning on line 1 in snippets/wk-custom-meta-field.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

snippets/wk-custom-meta-field.liquid#L1

[UnusedSnippet] This snippet is not used
{% unless wk_metafields == empty %}
<h1>Extra Information</h1>
<table class="responsive-table" style="border:0px">
<tbody >
{% for wk_metafield in wk_metafields %}
<tr>
<td style="border:none">{{wk_metafield[0] |replace: "cus_","" | replace:"_"," " | upcase}}</td>

Check notice on line 8 in snippets/wk-custom-meta-field.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

snippets/wk-custom-meta-field.liquid#L8

[SpaceInsideBraces] Space missing after '|'

Check notice on line 8 in snippets/wk-custom-meta-field.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

snippets/wk-custom-meta-field.liquid#L8

[SpaceInsideBraces] Space missing after ','

Check notice on line 8 in snippets/wk-custom-meta-field.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

snippets/wk-custom-meta-field.liquid#L8

[SpaceInsideBraces] Space missing after ':'

Check notice on line 8 in snippets/wk-custom-meta-field.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

snippets/wk-custom-meta-field.liquid#L8

[SpaceInsideBraces] Space missing after ','

Check notice on line 8 in snippets/wk-custom-meta-field.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

snippets/wk-custom-meta-field.liquid#L8

[SpaceInsideBraces] Space missing after '{{'

Check notice on line 8 in snippets/wk-custom-meta-field.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

snippets/wk-custom-meta-field.liquid#L8

[SpaceInsideBraces] Space missing before '}}'
{% assign wk_check_mf = wk_metafield[1] | split : ':' %}
{% if wk_check_mf[0] == 'https' %}
<td style="border:none"><a>{{wk_metafield[1] }}</a></td>

Check notice on line 11 in snippets/wk-custom-meta-field.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

snippets/wk-custom-meta-field.liquid#L11

[SpaceInsideBraces] Space missing after '{{'
{% else if%}
<td style="border:none">{{wk_metafield[1] }}</td>

Check notice on line 13 in snippets/wk-custom-meta-field.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

snippets/wk-custom-meta-field.liquid#L13

[SpaceInsideBraces] Space missing after '{{'
{% endif %}
</tr>
{% endfor %}
</tbody>
</table>
{% endunless %}

0 comments on commit 2f4c322

Please sign in to comment.