Company metafields not working in Liquid

pablo-soler
Shopify Partner
4 0 4

Hi all! I'm trying to display some Company metafields in the store but looks like there is nothing inside the "company.metafields". 

Im accessing by {{customer.current_company.metafields}} And customer.current_company.name for example is working good.

 

Anyone knows what can be the problem?

Thanks!

Replies 8 (8)
KetanKumar
Shopify Partner
36574 3627 11806

@pablo-soler 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!:smiling_face_with_smiling_eyes:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
pablo-soler
Shopify Partner
4 0 4

Hi, thank you very much for your help.
Unfortunately I am not allowed to share the shop as it is under development and is only B2B and therefore not freely accessible.

I simply cannot display content from Company metafields. 

pablosoler_0-1677662024374.png

Here is the metafield "currency" with the definition

pablosoler_4-1677662453891.png

 

pablosoler_3-1677662429131.png

 

pablosoler_2-1677662333477.png

 

 

KetanKumar
Shopify Partner
36574 3627 11806

@pablo-soler 

if you have url that would be great

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
pablo-soler
Shopify Partner
4 0 4
karlosg
Shopify Partner
2 0 0

I'm having the same issue as well -- tried this: customer.current_company.metafields 

and this: company.metafields

with no luck

MikeCDG
Tourist
6 0 2

We are also running into this issue. Would love Shopify to fix. 

KetanKumar
Shopify Partner
36574 3627 11806

@MikeCDG 

oh sorry for that issue can you please share store url so i will check and let you know 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
MikeCDG
Tourist
6 0 2

Ketan, it's a Shopify issue. We don't need partner assistance; we need Shopify to respond. Thank you.