Shopify themes, liquid, logos, and UX
I need to add a link to the "my account" page. I'm using the refresh theme.
I'm using the "new" customer account view, no the classic one.
Is this possible for me to do this? And if so, how?
I have html coding experience, just don't know / can't find where to look to add this link in which can be hard coded to an additional section on the website.
In addition, I only want to display this to certain customers who have the tag "buildmanual" on their account.
Can this be done?
Hi @Kitcardirect,
If you have experience with code, you can find it at header.liquid file. Find 'header__icon--account'.
I hope it helps!
Hi, thanks for getting back to me. That only seems to appear in the "site" and not when you go into the "my account".
This change I need to make is located once you're logged into the "my account".
I need to make sure that customers who have logged into the site only have access to this, no just a browser of the site.
Any ideas if this is possible?
Hi @Kitcardirect,
You just need to add the following code:
{% if customer and customer.tags contains 'buildmanual' %}
<!-- show code html here -->
{% endif %}
To what file and where?
Hi @Kitcardirect,
You can add it in header.liquid file. Or you can send me the code of the file, I will check it for you
Hey @Kitcardirect
You will have to use {% if customer.tags contains 'buildmanual' %} in your theme files most probably in your header.liquid file and then in that logic, you will have to update the link for it. It's quite a complicated task so I would highly recommend you to hire a Shopify developer for that. If you want me to help you out then feel free to connect with me and I would be more than happy to give you a helping hand!
Best Regards,
Moeed
Hey @Kitcardirect!
With the Shopify new customer accounts system, it is NOT possible to edit this directly through the theme code as some others have suggested. The new customer account pages are hosted directly by Shopify and are not part of your theme.
Currently, it's not possible to edit the navigation items available on the new customer accounts pages, however this is something that's available in developer preview, so I expect Shopify will be releasing this feature publicly soon, Once this feature is available, you will be able to access and edit your customer accounts menu through the 'Content' section of your Shopify admin:
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024