Any changes made to certain files after custom setup, or erasure of EasyPoints specification codes, could cause problems with the app not working properly.
Files
The following files are automatically updated by EasyPoints. Please be sure not to improve or delete these files.
assets/easy_points.js
assets/easy_points.css
assets/easy_points_integration.js
assets/easy_points_integration.css
snippets/easy_points.liquid
snippets/easy_points_bonus.liquid
snippets/easy_points_widget.liquid
snippets/redemption_form.liquid
Codes
Please be sure not to delete the following code contained in files such as layout/theme.liquid
.
{%- comment -%} START EASYPOINTS - DO NOT MODIFY! 変更しないでください! INFO @ https://bit.ly/2Dn7ESM {%- endcomment -%}
{%- if shop.metafields.loyalty['stealth_mode'] == "false" -%}
{{ 'easy_points.css' | asset_url | stylesheet_tag }}
{{ 'easy_points.js' | asset_url | script_tag }}
{%- endif -%}
{%- comment -%} END EASYPOINTS {%- endcomment -%}
{%- comment -%} START EASYPOINTS - DO NOT MODIFY! 変更しないでください! INFO @ https://bit.ly/2Dn7ESM {%- endcomment -%}
{%- if request.page_type == 'cart' -%}
{{ 'option_selection.js' | shopify_asset_url | script_tag }}
{%- endif -%}
{%- comment -%} END EASYPOINTS {%- endcomment -%}
{%- comment -%} START EASYPOINTS - DO NOT MODIFY! 変更しないでください! INFO @ https://bit.ly/2Dn7ESM {%- endcomment -%}
{%- if shop.metafields.loyalty['stealth_mode'] == "false" -%}
{{ 'easy_points_integration.css' | asset_url | stylesheet_tag }}
{{ 'easy_points_integration.js' | asset_url | script_tag }}
{%- endif -%}
{%- comment -%} END EASYPOINTS {%- endcomment -%}
{%- comment -%} START EASYPOINTS - DO NOT MODIFY! 変更しないでください! INFO @ https://bit.ly/2Dn7ESM {%- endcomment -%}
{%- if shop.metafields.loyalty['stealth_mode'] == "false" -%}
{% include 'easy_points' %}
{% include 'easy_points_widget' %}
{%- endif -%}
{%- comment -%} END EASYPOINTS {%- endcomment -%}
Unless you are an experienced programmer, you should not modify the code in enclosures such as IF-Statements that contain shop.metafields.loyalty['stealth_mode']
or in comments, as it may cause the app to malfunction. Please refrain from doing so.
Case:
{%- comment -%} START EASYPOINTS - DO NOT MODIFY! 変更しないでください! INFO @ https://bit.ly/2Dn7ESM {%- endcomment -%} {%- if shop.metafields.loyalty['stealth_mode'] == "false" -%}
<EasyPoints関連コード>
{%- endif -%} {%- comment -%} END EASYPOINTS {%- endcomment -%}
Theme
If you change the theme to a new theme after installing the app, the related EasyPoints files and asset files are not included. You will require to request a custom setup again.
App
If you install any type of application that makes changes to the cart specifications or the checkout process, it may affect the setup of EasyPoints and cause problems.