Last active
October 11, 2017 16:59
-
-
Save boldsupport/67c60bcc5ded8c515380 to your computer and use it in GitHub Desktop.
Recurring Memberships, linked from: https://support.boldcommerce.com/hc/en-us/articles/206500375-Recurring-Memberships-Snippet-Files
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
{%comment %}This snippet is generated and updated by Bold Memberships. any changes will be overridden when the Store Owner saves a Plan in the app.{%endcomment%} | |
{% assign bold_membership_partial_redirect = false %} | |
{% assign bold_membership_full_redirect = false %} | |
{% assign mem_current_template = template %} | |
{%if bold_membership_partial_redirect == true %} | |
<script> | |
top.location = (window.location.href + "?view={{bold_membership_template}}"); | |
</script> | |
{%endif%} | |
{% if bold_membership_full_redirect == true %} | |
<script> | |
bold_url = window.location.href | |
top.location = bold_url.split("?view=")[0]; | |
</script> | |
{%endif%} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment