• Resolved coversil

    (@coversil)


    Hey,
    I have a website that uses a music player plugin that uses your custom field and its support referred me to you.
    They say that “The group field is a repeater. You will need to extract the value of the repeater to reach each individual values”
    I’m trying to upload a lot of products to the site at once via Google Sheet, I have a value for each product but it seems to be a problematic field because everything I tried to do didn’t work, all the normal values from WooCommerce or ACF work great, the problem is only here and I’m afraid maybe because I need to add A certain number or something like that, because the names and IDs there always look like alb_tracklist[0][stream_link]
    I would appreciate any help, thank you very much

    https://ibb.co/W34wc7B
    https://ibb.co/C6z0qkK

Viewing 1 replies (of 1 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    The repeater fields are basically just arrays of fields, so logically you should be able to do a get_post_meta() call for the field(s) in question and then you’d need to iterate over the field with a foreach loop to access each individual field saved in the repeater.

    I do find it slightly odd that they’re the ones integrating CMB2 in with their own plugin, but are sending you to us regarding a detail like this. However, I could also see it being a case if you’re trying to do something with the data that they’ve set up, that their plugin isn’t coded out to do, for example bulk import/export to something.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with custom field’ is closed to new replies.