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 resource = template | split: "." | first -%} | |
{%- if customer.tags contains "member" -%} | |
{%- assign is_member = true -%} | |
{%- endif -%} | |
{%- if [resource].metafields.custom.members_only.value == true and is_member != true -%} | |
{% section 'members-only' %} | |
{%- else -%} | |
{{ content_for_layout }} | |
{%- 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
{% if section.settings.procon_full_width %}</div>{% endif %} | |
<div class="protected-bg"> | |
<div id="protected-content"> | |
{% if request.design_mode %} | |
<div class="alert"> | |
Admin: <a href="/account">Log in</a> as a member inside the theme editor in order to add non-gated sections. | |
This notice is only visible in the theme editor | |
</div> | |
{% endif %} | |
{% if section.settings.procon_title %} |
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
{{ 'section-main-page.css' | asset_url | stylesheet_tag }} | |
{%- style -%} | |
.section-{{ section.id }}-padding { | |
padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px; | |
padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px; | |
} | |
@media screen and (min-width: 750px) { | |
.section-{{ section.id }}-padding { |
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
{ | |
"sections": { | |
"main": { | |
"type": "page--protected-content", | |
"settings": { | |
"padding_top": 28, | |
"padding_bottom": 28 | |
} | |
} | |
}, |
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
{{ 'section-blog-post.css' | asset_url | stylesheet_tag }} | |
{% if customer.tags contains 'member' %} | |
<article class="article-template" itemscope itemtype="http://schema.org/BlogPosting"> | |
{%- for block in section.blocks -%} | |
{%- case block.type -%} | |
{%- when '@app' -%} | |
<div class="page-width page-width--narrow"> | |
{% render block %} | |
</div> |
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
{ | |
"sections": { | |
"main": { | |
"type": "article--protected-content", | |
"blocks": { | |
"featured_image": { | |
"type": "featured_image", | |
"settings": { | |
"image_height": "adapt" | |
} |
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
{% if section.settings.procon_full_width %}</div>{% endif %} | |
<div class="protected-bg"> | |
<div id="protected-content"> | |
{% if section.settings.procon_title %} | |
<h1>{{ section.settings.procon_title }}</h1> | |
{% endif %} | |
{% if section.settings.procon_body %} | |
{{ section.settings.procon_body }} | |
{% 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
{{ 'component-article-card.css' | asset_url | stylesheet_tag }} | |
{{ 'component-card.css' | asset_url | stylesheet_tag }} | |
{{ 'section-main-blog.css' | asset_url | stylesheet_tag }} | |
{%- style -%} | |
.section-{{ section.id }}-padding { | |
padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px; | |
padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px; | |
} |
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
{ | |
"sections": { | |
"main": { | |
"type": "blog--protected-content", | |
"settings": { | |
"layout": "collage", | |
"show_image": true, | |
"image_height": "medium", | |
"show_date": true, | |
"show_author": false, |
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
{% capture email_title %}Thank you for your purchase! {% endcapture %} | |
{% capture email_body %} | |
{% if requires_shipping %} | |
Dear {{ customer.first_name }}, | |
<p> | |
Thank you very much for your order. We sincerely appreciate your patronage.<br /><br /> | |
As soon as your package ships we will send an email with a link to track your order. Most orders received by Noon Eastern time ship the same day so if any changes are needed please call us as quickly as possible. | |
You can check the status of your order any time by logging into your account</a>.<br /><br /> | |
If you have any questions about your order please contact us or call us at 1-631-267-7909. Officially, our hours are 8am to 9pm Eastern time. In truth, we're here most of the time (late at night Eastern time we tend to sleep so that may be a bit spotty) and are always happy to answer your questions. If you call us, we'll probably recognize your |