Hello Everyone, i need some help.
I want to redirect my shopify website account button to subify portal. Can anyone help me with this?
We they click the arrow of account on my shopify i want them to redirect on this link.
A Shopify store owner wants to redirect their customer account login button to an external Subify portal instead of the default Shopify login page.
Proposed Solutions:
Method 1 (ZestardTech): Edit sections/header.liquid file by commenting out the existing customer account code block and replacing it with custom code pointing to the Subify portal URL.
Method 2 (Bilash): Search for {{ routes.account_login_url }} in the header.liquid file and replace it with the Subify portal link directly.
Implementation Notes:
Status: The discussion remains open with multiple approaches shared but no confirmed resolution from the original poster.
Hello Everyone, i need some help.
I want to redirect my shopify website account button to subify portal. Can anyone help me with this?
We they click the arrow of account on my shopify i want them to redirect on this link.
Hello there,
Please share your store URL and Password.
So that I will check and let you know the exact solution here.
Theme Name?
refresh
Hello There,
In your Shopify Admin go to online store > themes > actions > edit code
Find > sections/header.liquid.
Please comment this code:
{%- if shop.customer_accounts_enabled -%}
{% render 'icon-account' %}
{%- liquid
if customer
echo 'customer.account_fallback' | t
else
echo 'customer.log_in' | t
endif
-%}
{%- endif -%}
After that, please add this code:
{%- if shop.customer_accounts_enabled -%}
{% render 'icon-account' %}
{%- liquid
if customer
echo 'customer.account_fallback' | t
else
echo 'customer.log_in' | t
endif
-%}
{%- endif -%}
I’ve commented the existing code and provided the code to be added."
Go To Edit code->Section->header.liquid file search
{{ routes.account_login_url }}
if You found this then Replace With “https://portal-subify.shopgram.app/login/”
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Sip, savor, and support – your Coffee Tip helps us keep coding magic
Need a knowledgeable developer
Hello,
I have tried to add this to my website - www.ecogrofarm.co.uk but I am unable to get the code to work. I have added the code to the header file in the picture.
However, nothing seems to change on my website. Can you help with this? Would it matter that I have changed to Classic customer accounts at all?
I found you need to edit the URL link in the header file on line 595 for Dawn theme. Thank you