Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi,
Is there anyway to include a metafield in the header section of customer accounts that I can upload a logo of the company so when they log into the b2b portal they get to see their logo?
I want to provide a more personalised experience for them
Either to replace my website logo with theirs or add a line of text at the top that says ' Welcome XXXX to your account'
Thank you
Hi @KatieFlintham1 ,
this is possible in the website but screenshot you have shared is of order page which using the new customer design.
access to the new customer ui is restricted by Shopify’s so this can’t be done using custom code, this can be done only using app.
but if you switch to classic view this can be done using custom dev in theme.
If you are a developer or understanding of code request you to refer the below video of changing logo.
https://m.youtube.com/watch?v=76cHt0S0OeI
hope this will help…
Thanks for the clarification, any apps you can recommend?
Thanks
Hi @KatieFlintham1 ,
These updates are in preview mode currently, therefore I doubt there could be any till the update comes you can switch to classic
Please refer to the below screenshot for the option
After that, you will able to create all the features using custom code in the theme.
thanks,
As an alternative I'm looking at adding a line of custom code on the homepage that says welcome *company name*
I've got the company name set in a metafield but can't seem to add it into the site correctly.
any advice?
Thank you
{% if customer %} {% if company.metafields.custom.company_name %}
<h1>Welcome {{ company.metafields.custom.company_name }} to STB!</h1> {% else %} <h1>Welcome {{ custom.company.name }} to STB!</h1> {% endif %} {% else %} <h1>Welcome to STB!</h1> {% endif %}