When you enable "Customer Account" in Shopify, an account icon will be displayed in the header, but here's how to switch this account depending on whether or not you're logged in. You can implement this by using the code that determines whether or not you're logged in in the snippet file that displays the icon.
1
/
of
1
Published:2023.12.10(Last updated:2025.03.23)
Example of setting the Shopify theme "Dawn" to change the account icon before and after logging in
Example of setting the Shopify theme "Dawn" to change the account icon before and after logging in
Applications
Applications
- Header management and editing
How to implement
How to implement
- LIQUID
Share
After making a purchase (all items are ¥0), you will be able to view the sample code.
Couldn't load pickup availability
If you have already made a purchase, please login here.
Sample Codes
Test Theme :Dawn/Rise 15.2.0
ログインアイコンのSVGファイルを新規作成
