• Resolved pilvik

    (@pilvik)


    Hey,

    I’m facing a challenge when I want to filter products on export when imported with a certain xml file. I have added a custom field on the normal import settings to know from which file this product came from. Let’s call this custom field ‘XX_ID’. I can filter the export by checking if this property is not empty and that works fine.
    The problem comes with variations. I can’t seem to find a way to add a custom field on the variants, with the standard version of Wpallimport. I tried adding it with update_post_meta, but nothing happens. Is this a feature only on the pro version?

    Another thing I tried was to find the parent product of the variation and trying to check if the parent product has this custom field filled in. I am able to get the parent product but can’t seem to find the value of the custom field again. Tried it with get_post_meta but again, didn’t get anything back from that. So is there another way to get the custom field value on the function editor?

    If there’s other ways that you could think to go around this problem, please share!

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

    (@wpallimport)

    Hi @pilvik,

    The problem comes with variations. I can’t seem to find a way to add a custom field on the variants, with the standard version of Wpallimport. I tried adding it with update_post_meta, but nothing happens.

    The free version of WP All Import doesn’t support importing Custom Fields.

    Is this a feature only on the pro version?

    Please direct all questions about the pro version here: https://www.wpallimport.com/support/.

    Another thing I tried was to find the parent product of the variation and trying to check if the parent product has this custom field filled in. I am able to get the parent product but can’t seem to find the value of the custom field again. Tried it with get_post_meta but again, didn’t get anything back from that. So is there another way to get the custom field value on the function editor?

    It’s difficult to advise on this without seeing your data, so I’d really like to check it on your site. Please open a support request at https://www.wpallimport.com/support/ with details on what you’re trying to do, and a link to this thread for reference.

Viewing 1 replies (of 1 total)

The topic ‘Custom fields – variants’ is closed to new replies.