Hi everyone,
I’m looking for a custom code (no apps please) that allow me to display a link into the account page, according to a specific customer tag.
I basically want to show a link that is going to redirect a tagged customer to another specific page. However, there will be more than one tag. Eg: Customer tagged “A” should see just the link for “A”. If there is no tag, it doesn’t show anything.
TIA.
Gui
hey @Guifonte
paste this code in your account page, at end of the file,
{% if customer %}
{% endif %}
and to render the link paste this one to display it on screen.
Hi there,
Thank you for your reply.
Can you please tell me where to find the account page?
I have attached a screenshot of my theme code settings.
I have just added a custom liquid code directly in the page through the theme customiser.
I come back if to say if that works, thanks a lot
Sure. let me know if its works or not.