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

How can I display metafields in a table format on my product page?

ethanmellor
Tourist
5 0 2

I've setup metafields and I want to display them on my product page in the format of a table, but I can't seem to find any way to do this.

 

Capture.PNG

This is what it currently looks like.

Replies 9 (9)

bahiya_anderson
New Member
4 0 0

Shopify Apps will be great for you to use but if you know your ways out using shopify theme liquid you can edit it

ethanmellor
Tourist
5 0 2

What app would you suggest to achieve something like this?

Ahsan_ANC
Shopify Partner
1409 254 325

There is no need to buy any app just send me the "main-product.liquid" file code with the metafield name so i can provide you with the updated code.

Contact for any custom design? Skype : ahsananc
>Was your question answered? Mark it as an Accepted Solution!
Feel Free to Contact Me at my Email: anc2277@gmail.com


To enhance and customize Shopify search and filter, I use Boost Product Filter & Search
heledahn
Tourist
7 0 1

Hi! I'm having the same problem. I'd like to add a table in the collapsible rows to organize the content better. I'm using the Dawn theme. How can I achieve this? Thank you in advance!

I'm happy, you're happy
Ahsan_ANC
Shopify Partner
1409 254 325

Hi @heledahn  please share some more details what you want to achieve and also your store preview url

Contact for any custom design? Skype : ahsananc
>Was your question answered? Mark it as an Accepted Solution!
Feel Free to Contact Me at my Email: anc2277@gmail.com


To enhance and customize Shopify search and filter, I use Boost Product Filter & Search
heledahn
Tourist
7 0 1

Hi Ahsan, thank you for your answer!
Here's an example of my product pages: https://sm5.heledahn.com/products/wall-planters

I already figured out a way of doing it, by adding a collapsible row with a custom liquid field and adding {{ product.metafields.custom.details.value }}, so I can write the table's code directly into de metafields of each product.

But this solution isn't elegant. I'd be nicer if we could add a rich text metafield, and have the ability of adding tables, or editing html...

Is there a way of editing the Dawn template to get this WYSIWYG editor in the rich text?

Thanks for your time!

 

heledahn-sm5-website-product-collapsible.jpg

I'm happy, you're happy
Zuschlafen
Excursionist
48 1 4

Hello, i have the same issue. I cannot add table in Collapsible Row. When i add the full code on Product metafield, it shows the code on website. 

 

I'm waiting your suggestion. I try to create same like @heledahn (Product Details) 

heledahn
Tourist
7 0 1

Hi guys, to make the table work I followed this tutorial by ed.codes: https://youtu.be/Uh3hT7aSgwI
It covers everything we need to know, and he's an amazing teacher. Hope this helps 🙂

I'm happy, you're happy
Zuschlafen
Excursionist
48 1 4

Thank you, i will check