• Resolved subbotaanton

    (@subbotaanton)


    Hi!

    I want to reopen the question, which was already asked here https://wordpress.org/support/topic/import-only-not-null-values/ about importing not null values.

    So I did like it’s described in answer, but met next problem.

    When I see in a code that a value in xml is empty, I use a value from a post. But in same time it appears that values from a post already empty.

    So there is some problem with “pmxi_acf_custom_field” hook. I can’t use any values from post in this hook because they are already updates.

    Hope I explained the problem.

    PS There are some attachment in the post in the link, maybe they help.

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

    (@wpallimport)

    Hey @subbotaanton

    So there is some problem with “pmxi_acf_custom_field” hook. I can’t use any values from post in this hook because they are already updates.

    There are 3 requirements for this to work:

    1. In the import settings, enable “Choose which data to update”.
    2. Make sure that the ACF field is set to update in the “Advanced Custom Fields” section.
    3. Make sure that it is not set to update in the “Custom Fields” section.

    Example settings: https://d.pr/ZpcTJb.

Viewing 1 replies (of 1 total)

The topic ‘Import only existing values’ is closed to new replies.