No content to show
User Activity
Yeah that's a pretty nice workaround. I just wish they'd fix the bug!
For anyone interested, I didn't end up using the solution above and for the time being, until you can loop through a page list on a metafield, I ended up using a linklist. Rather than collecting the list of pages inside a metafield and looping over a...
For anyone interested, I didn't end up using the solution above and for the time being, until you can loop through a page list on a metafield, I ended up using a linklist. Rather than collecting the list of pages inside a metafield and looping over a...
Thanks for the reply, seems so weird that you can't loop over these related pages in a sensible way. I actually have another thread here where someone else came up with the same solution you did:https://community.shopify.com/c/online-store-2-0/bug-wh...
Agree the order of the IDs remains the same in the list, but the order in which the pages will be displayed is when each page appears in the pagination loop, which doesn't necessarily match the order they appear in the "list". We can find ID index 2 ...
Just realised that the down side of this code is that we lose the ordering of the IDs that we would otherwise have. But it's something at least
Hahah yeah I had figured we might be able to do some hacking in liquid to isolate the ids and get the pages that way, so I think that solution could work for us. But totally agree that it's inefficient and less than ideal. But really appreciate the a...
Hey MetafieldsGuru, thanks for your response.I can kinda see what you mean, but if that were the case it would mean that it's impossible to obtain the value from a metafield where the settings are Page reference and Accepts a list of values as below....
I'm using the new metafields interface. I've created a field called "child_pages" on Pages with type page_reference and accepting a list of values. I'm trying to output the contents of the field in a section.{{ page.metafields.my_fields.child_pages }...
I'm using the new metafields interface. I've created a field called "child_pages" on Pages with type page_reference and accepting a list of values. I'm trying to output the contents of the field in a section.{{ page.metafields.my_fields.child_pages }...