How to add a customer's logo to a B2B portal?

KatieFlintham1
New Member
11 0 0

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'

Screenshot 2024-02-08 at 12.25.02 pm copy.png

 

Thank you

 

 

Replies 4 (4)

gr_trading
Shopify Partner
1749 142 186

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…

 

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
KatieFlintham1
New Member
11 0 0

Thanks for the clarification, any apps you can recommend? 

Thanks

gr_trading
Shopify Partner
1749 142 186

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

gr_trading_0-1707840056284.png

 

After that, you will able to create all the features using custom code in the theme.

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
KatieFlintham1
New Member
11 0 0

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 %}

 

 

 

Screenshot 2024-02-14 at 8.35.08 am.pngScreenshot 2024-02-14 at 8.35.20 am.png