This guide explains how to manually add a link to the Webplanex Rewards Wallet offer popup within your Shopify store's main menu, deviating from the default button placement.
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:
-
Theme File Access:
- Log in to your Shopify admin panel.
- Navigate to Online Store>Themes.
- Select your current theme and click "Actions">"Edit Code".
-
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
-
-
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
<a href="javascript:void(0)" id="OpenPopup">Get Store Cash</a>
-
Save Changes:
Click Save to apply the code modifications to your theme.