Order Mapped Menu Items

In addition to the current menu item properties, an order field could be useful to determine the order. By default, this order would be set to the {{ i }}, given the natural order of this value. However, users could edit this to allow for more control. To see this in action, please refer to the following example below:

menu_items

As you can see, the order field, which I simply added for this feature request, can be adjusted to set a certain order.

This idea actually came to me after discovering a related bug: Order Mapped Menu Items Inconsistent.

Anyway, adding this feature would indirectly solve the bug I mentioned before.

Thanks!
:wave:

2 Likes

Hi @emozio!

Yes I can definitely file a request for this.

I appreciate the example image as well! Incredibly helpful for our product and design team.

Will update this thread with any news on the ticket. I just checked that thread and want to make sure that things are never displayed in a random order.

A work around could be to use a transformer or JS Query to sort the values into a given order in an array to then map over. But this does have limitations as sometimes there are not values to use for the order creation when mapping.