• Resolved karlhammond

    (@karlhammond)


    Heya team,

    I’m trying to import up to three agents into the Agents field.

    I’m using the XML tag below:

    {listingAgent[1]}

    Adding another agent separated by a comma, i.e. {listingAgent[1]},{listingAgent[2]},{listingAgent[3]}, creates an agent with the name “Name One, Name Two, Name Three” rather than a seperate agent per comma.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @karlhammond

    We don’t currently support importing multiple agents but we plan to include that in the next release of the add-on. For now, this is the workaround:

    • Don’t import into our add-on field, instead import {listingAgent[1]},{listingAgent[2]},{listingAgent[3]} into a custom field called “_my_agent_list”
    • Save this code in your Function Editor: https://d.pr/n/ef5tmp
    Thread Starter karlhammond

    (@karlhammond)

    Thanks, works perfectly!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding more than one agent to a listing’ is closed to new replies.