Hello,
Consider the HTML table below. How can I use a metafield inside one of the cells so product specific information shows?
I have tried using this syntax {{ blabla.my_field.morebla }} but that does not seem work, it just shows that piece of syntax inside the cell and does not interpret it as a metafield.
Test1 | Test2 | Test3 |
Case A | {{ blabla.my_field.morebla }} | 2 |
Case B | 3 | 2 |
Case C | 5 | 4 |
Kind Regards
Solved! Go to the solution
This is an accepted solution.
It’s need add Directly on the product page. Otherwise it Won't work
Please use it product.metafields.my_field.morebla
It will solve the issue. If you will find this message helpful, pls accept it as a solution.
Thank you
Thanks for your reply.
I have typed it in the format you have specified. The name of the metafield can be seen below. In the product page I have assigned the value of 10 to it.
However, in the HTML table you don't see the value 10, but {{ product.metafields.my_fields.this_is_a_test }}
@sakinur_rahman the HTML table is located on a page I created. And that page is dynamically linked to a pop up block (Dawn) on the product page, so when you click the pop up link, the HTML table will appear in a pop up. I refreshed a couple of time but no success.
It's shown in plain text.
This is an accepted solution.
It’s need add Directly on the product page. Otherwise it Won't work
User | RANK |
---|---|
262 | |
90 | |
57 | |
46 | |
45 |