-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update from Shopify for theme sneakerlab/trunk
Committed from shop: Sneaker Lab 2022
- Loading branch information
1 parent
6ef56dc
commit 8a1028a
Showing
17 changed files
with
138 additions
and
68 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{% comment %} | ||
Auto-generated by Shogun. | ||
This file can be re-written at any time. | ||
{% endcomment %} | ||
|
||
{% if article %} | ||
{% assign content = article %} | ||
{% elsif page %} | ||
{% assign content = page %} | ||
{% elsif product %} | ||
{% assign content = product %} | ||
{% elsif collection %} | ||
{% assign content = collection %} | ||
{% endif %} | ||
{{content.metafields.shogun.optimizer}} | ||
{% schema %} | ||
{ | ||
"name": "Shogun Optimizer" | ||
} | ||
{% endschema %} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{% comment %} | ||
Auto-generated by Shogun. | ||
This file can be re-written at any time. | ||
{% endcomment %} | ||
|
||
{% assign template_suffix = template.suffix %} | ||
|
||
{% if article %} | ||
{% assign content = article %} | ||
{% elsif page %} | ||
{% assign content = page %} | ||
{% elsif product %} | ||
{% assign content = product %} | ||
{% elsif collection %} | ||
{% assign content = collection %} | ||
|
||
{% endif %} | ||
|
||
{% capture content_for_header %} | ||
{{ content_for_header }} | ||
{% render 'shogun-products', content: content %} | ||
{% endcapture %} | ||
|
||
{% if content.metafields.shogun.json_template_snippets %} | ||
{% capture content_for_header %} | ||
{{ content_for_header }} | ||
{{ content.metafields.shogun.json_template_snippets.value['head'][template_suffix] }} | ||
{% endcapture %} | ||
|
||
{% capture content_for_body %} | ||
{{ content_for_layout }} | ||
{{ content.metafields.shogun.json_template_snippets.value['body'][template_suffix] }} | ||
{% endcapture %} | ||
{% endif %} | ||
|
||
{% if content.metafields.shogun.json_template_html_wrapper %} | ||
{% assign json_template_config = content.metafields.shogun.json_template_html_wrapper.value %} | ||
{% capture content_for_layout %} | ||
{{ | ||
json_template_config.html | ||
| replace: json_template_config.content_for_layout_placeholder, content_for_layout | ||
| replace: json_template_config.page_variant_id_placeholder, json_template_config.template_suffix_to_variant_id_map[template_suffix] | ||
}} | ||
{% endcapture %} | ||
{% endif %} | ||
|
||
{% if content.metafields.shogun.json_template_optimizer %} | ||
{% capture content_for_header %} | ||
<template id="shogun-variant-head"> | ||
{{ content_for_header }} | ||
</template> | ||
{{ content.metafields.shogun.json_template_optimizer.value['head'] }} | ||
{% endcapture %} | ||
|
||
{% capture content_for_layout %} | ||
<template id="shogun-variant-body"> | ||
{{ content_for_layout }} | ||
</template> | ||
{{ content.metafields.shogun.json_template_optimizer.value['body'] }} | ||
{% endcapture %} | ||
{% endif %} | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{% comment %} | ||
Auto-generated by Shogun. | ||
This file can be re-written at any time. | ||
{% endcomment %} | ||
|
||
{% render 'shogun-products', content: page %} | ||
{{ article.content }} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% comment %} | ||
Auto-generated by Shogun. | ||
This file can be re-written at any time. | ||
{% endcomment %} | ||
|
||
{{ collection.description }} |
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
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
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