Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Add External Link to My Account Page using Refresh Theme

Add External Link to My Account Page using Refresh Theme

Kitcardirect
New Member
4 0 1

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.

 

hyperlink.jpg

 

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?

Replies 7 (7)

namphan
Shopify Partner
1909 247 274

Hi @Kitcardirect,

If you have experience with code, you can find it at header.liquid file. Find 'header__icon--account'.

I hope it helps!

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
Kitcardirect
New Member
4 0 1

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?

namphan
Shopify Partner
1909 247 274

Hi @Kitcardirect,

You just need to add the following code:

{% if customer and customer.tags contains 'buildmanual' %}
   <!-- show code html here -->
{% endif %}
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
Kitcardirect
New Member
4 0 1

To what file and where?

 

namphan
Shopify Partner
1909 247 274

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

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com

Moeed
Shopify Partner
6322 1715 2067

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

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Brett_Helium
Shopify Partner
284 53 128

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:

Brett_Helium_0-1733261705656.png

 

Brett | Helium
- Customer Fields ✪✪✪✪✪ (360+ reviews)
- Meteor Mega Menu ✪✪✪✪✪ (290+ reviews)
- Strike Automatic Discounts NEW!