Skip to content

Commit 6d60ef4

Browse files
authored
Update from Shopify for theme shopify-tailwind-starter-base/feaure/gabby
Committed from shop: christy-unite
1 parent 969d729 commit 6d60ef4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

snippets/shogun-head.liquid

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ Auto-generated by Shogun.
33
This file can be re-written at any time.
44
{% endcomment %}
55

6+
<script type="text/javascript">
7+
{% if customer %}
8+
window.SHG_CUSTOMER = { "id": "{{ customer.id }}" }
9+
{% else %}
10+
window.SHG_CUSTOMER = null;
11+
{% endif %}
12+
</script>
13+
614
{% if product and product.metafields.shogun.head %}
715
{{product.metafields.shogun.head}}
816
{% endif %}

0 commit comments

Comments
 (0)