Skip to main content
All CollectionsCustomer account
Customer account block option is not available on my theme
Customer account block option is not available on my theme
Updated this week

Here are the steps to manually installation for Shopify old themes:

Step 1: Copy the code below

<!-- blocks/my-account-block start -->



<div id="aio-my-account-app"
data-customer-id="{{ customer.id }}"
data-shop-url="{{ shop.permanent_domain }}" data-shop-name="{{ shop.name }}" style="min-height:400px;display:none" class="aio-block-width"></div>

<script src="https://static.aitrillion.com/aio-script/aio-my-account.js" defer></script>
<style>

.aio-block-width{
width:100%;
text-align:center;
}
.aio-block-width .aio-app-container {
text-align:left;
width:1200px;
max-width:100%;
margin-left:auto;
margin-right:auto;
padding-left:15px;
padding-right:15px;
padding-top:15px;
padding-bottom:15px;
display:inline-block;
}
</style>
<!-- blocks/my-account-block end -->

Step 2: Go to Shopify Admin > Online Store > Themes > Actions (Published theme) > Edit Code


Step 3: Find customers/account.liquid template

Step 4: Comment all the code of this file and paste the copied code

Did this answer your question?