Skip to content

Commit

Permalink
Update from Shopify for theme Jan '25 Adult Sale End
Browse files Browse the repository at this point in the history
Committed from shop: Misha & Puff
  • Loading branch information
shopify[bot] authored Jan 28, 2025
1 parent e98f2e3 commit 09e75a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
8 changes: 2 additions & 6 deletions layout/theme.shogun.landing.liquid
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{%- comment %}<locksmith:3869>{% endcomment -%}
{%- include 'locksmith' -%}
{%- comment %}</locksmith:3869>{% endcomment -%}

{% comment %}
Auto-generated by Shogun.
This file can be re-written at any time.
Expand Down Expand Up @@ -37,10 +33,10 @@ This file can be re-written at any time.
</title>

{% if page_description %}
{%- comment %}<locksmith:4cfb>{% endcomment -%}
{%- comment %}<locksmith:6a64>{% endcomment -%}
{%- capture var %}{% render 'locksmith-variables', variable: 'transparent', hiding_scope: 'resource' %}{% endcapture %}{% if var == 'true' %}<meta name="description" content="{{ page_description | escape }}">{% endif -%}
{%- comment %}original: <meta name="description" content="{{ page_description | escape }}">{%- endcomment %}
{%- comment %}</locksmith:4cfb>{% endcomment -%}
{%- comment %}</locksmith:6a64>{% endcomment -%}
{% endif %}

{% render 'meta-tags' %}
Expand Down
9 changes: 0 additions & 9 deletions snippets/shogun-products.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ This file can be re-written at any time.
<script type="text/javascript">
window.__shgProducts = window.__shgProducts || {};
{% for handle in handles %}
{%- comment %}<locksmith:eaf6>{% endcomment -%}
{%- capture var %}{% render 'locksmith-variables', scope: 'subject', subject: handle, variable: 'transparent' %}{% endcapture %}{% if var == "true" %}{% else %}{% continue %}{% endif -%}
{%- comment %}</locksmith:eaf6>{% endcomment -%}
{% assign currentProduct = all_products[handle] %}

Check warning on line 11 in snippets/shogun-products.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

snippets/shogun-products.liquid#L11

[VariableName] The variable 'currentProduct' uses wrong naming format
{% if currentProduct != blank %}
window.__shgProducts["{{handle}}"] = {{currentProduct | json }};
Expand Down Expand Up @@ -41,17 +38,11 @@ This file can be re-written at any time.
window.__shgProducts = window.__shgProducts || {};
window.__shgCategories = window.__shgCategories || {};
{%- for collection_meta in collections_meta %}
{%- comment %}<locksmith:30ef>{% endcomment -%}
{%- capture var %}{% render 'locksmith-variables', scope: 'subject', subject: collection_meta, variable: 'transparent' %}{% endcapture %}{% if var == "true" %}{% else %}{% continue %}{% endif -%}
{%- comment %}</locksmith:30ef>{% endcomment -%}
{%- assign collection = collections[collection_meta.handle] -%}
window.__shgCategories["{{collection.handle}}"] = window.__shgCategories["{{collection.handle}}"] || {{ collection | json }};
window.__shgCategories["{{collection.handle}}"].products = window.__shgCategories["{{collection.handle}}"].products || [];
{%- paginate collection.products by collection_meta.count -%}
{%- for product in collection.products %}
{%- comment %}<locksmith:a078>{% endcomment -%}
{%- capture var %}{% render 'locksmith-variables', scope: 'subject', subject: product, subject_parent: collection, variable: 'transparent' %}{% endcapture %}{% if var == "true" %}{% else %}{% continue %}{% endif -%}
{%- comment %}</locksmith:a078>{% endcomment -%}
window.__shgProducts["{{product.handle}}"] = window.__shgProducts["{{product.handle}}"] || {{ product | json }};
if (!window.__shgCategories["{{collection.handle}}"].products.find(product => product.id == {{ product.id }})) {
Expand Down

0 comments on commit 09e75a8

Please sign in to comment.