The Membership Portal allows customers to easily view and manage their membership details directly from their account. By enabling the membership portal, customers can access information such as active memberships, membership benefits, renewal details, and other related perks in one place. This feature helps improve customer experience, increases engagement, and provides a seamless way for customers to manage their memberships within your store. In this article, you will learn how to enable the membership portal for customers in AiTrillion.
Step 1: Go to the Shopify account >> Go to Themes >> Customize
Step 1: Copy the code below
<!-- ======== Membership btn- Use below block in account page ======= -->
<div id="aio-membership-button-wrapper" class="">
<a class="aio-membership-button" href="{{ shop.url }}/apps/aitrillion/membership/auth_init.php">MEMBERSHIP ACCESS</a>
</div><style>
#aio-membership-button-wrapper {
text-align: center !important;
display: block;
}
.aio-membership-button, .aio-membership-button:hover {
padding: 10px 20px 10px 20px !important;
color: #FFFFFF !important;
background: #000000 !important;
border-radius: 4px !important;
font-size: 15px !important;
margin: 20px 0px 20px 0px !important;
text-decoration: none !important;
line-height: 1;
font-weight: 400;
letter-spacing: inherit;
display: inline-block;
}
</style>
<!-- ======= Membership btn blockcode End ====== -->
Step 3: Add a new snippet ait-Membership-Button under Snippets and paste the copied code. Then save the file.
Step 4: Find the product customer.account.title in the file main-account.liquid under Sections and paste the below code after it.
{% render 'ait-Membership-Button' %}