Knowledge Base

Balance Label and My Wallet Page Link in Menu

Guide - How to show label customer balance and wallet link in the menu

By Jignesh
Updated on June 09, 2025

This steps explains how to integrate customer balance label and "My Wallet" page link into your Shopify store theme.

 

Important Note:

  • This method involves editing theme code. If you're unfamiliar with Shopify Liquid code, it's recommended to consult a developer to avoid unintended theme modifications.

 

Steps:

  1. Theme File Access:

    • Log in to your Shopify admin panel.
    • Navigate to Online Store>Themes.
    • Select your current theme and click "Actions">"Edit Code".
  2. Locate Menu Template File:

    • Within the theme code editor, identify the file responsible for your main menu structure. This file name might vary depending on your theme, but common locations include:

      • header.liquid
      • navigation.liquid
      • Theme-specific menu template files
  3. Add Link Code Snippet:

    • Once you've located the menu template file, find the appropriate section within the code where you want to insert the link.
    • Paste the following code snippet

       

      Code Snippet – Wallet balance label

      <span class="wpcb_wallet_balance"></span>

       

      Code Snippet – My Wallet link

      <a href="javascript:void(0)" id="wpcb_my_wallet_page_link"> My Wallet </a>
  4. Save Changes:

    Click Save to apply the code modifications to your theme.