Field Editor

Modified on Tue, 17 Nov 2020 at 02:13 PM

There will be 2 types of field editor: unrepeatable & repeatable. In this document, we will only cover “repeatable field” since it is more complicated than the other one.


NOTE:

Values created by repeatable fields is always a “JSON array” and can be retrived on Shopify theme via Liquid iteration tags like {% for %} loop.


FOR EXAMPLE:

{% for value in product.metafields.namespace.key %}

    {{value}}

{% endfor %}


A repeatable field will display information/ buttons below:



Counter (1): to indicate the ordinal number of present repeated field and total number of repeatable fields.


Up - Down buttons (2): to move a repeated field up or down.


  • Up button does not work if the current repeated field’s ordinal number is 1.
  • Down button does not work if the current repeated field’s ordinal number is equal to the total number of that repeatable field.
  • Both up and down buttons do not work if the total number of repeated field is 1.


Remove button (3): to remove the current repeated field. This does not work if the total number of repeated field is 1. (If you want to remove it, please go to “Custom Fields” – “Configuration” tab).


Repeat button (4): to repeat a repeatable field.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article