I have used this App: ACF: Metafields Custom Fields: https://apps.shopify.com/advanced-custom-field
I have added a ticket for the last 15 days. But I have not received any response yet.
I have created the single-text Repeter field. now, I need to get the data. We have used the below code and we have not get the proper data.
Single Text Repeter{{ page.metafields.page_info.short_desc }}
{% for value in page.metafields.page_info.short_desc %}
{{value}}
{% endfor %}
This is my page link: https://hitesh-code.myshopify.com/pages/about-us?ver=dsfgtgfdg
Password: hitesh
======
Output
Single Text Repeter[“Test Short Description 1”,“Test Short Description 2”,“Test Short Description 3”]
I need Output as the below format.
Single Text Repeter
Test Short Description 1
Test Short Description 2
Test Short Description 3
Please help me ASAP.
{% assign metafield_1 = page.metafields.page_info.short_desc %}
{% for i in metafield_1 %}
{{ page.metafields.page_info.short_desc[forloop.index0] }}
{% endfor %}
Using the above code, I got the below output.
Single Text Repeter
Test Short Description 1
Test Short Description 2
Test Short Description 3
I have used the above code, and it is working fine. But I have fetched only one repeter group value.
This is my product link: https://hitesh-code.myshopify.com/products/red-blue?sfdg
password: hitesh
Below is my code
{% assign table_title = product.metafields.page_info.table_title %}
{% for i in table_title %}
{% assign cell1 = product.metafields.product_info.cell1 %}
{% assign cell2 = product.metafields.product_info.cell2 %}
{% for j in table_title %}
{% endfor %}
| <br> {{ product.metafields.page_info.table_title[forloop.index0] }}<br> |
| - |
| <br> {{ product.metafields.page_info.cell2[forloop.index0] }}<br> |
{% endfor %}