• Resolved MilenMK

    (@milenmk)


    Hi.

    I’m not trying to import products exactly, but rather trying to populate attribute values from a .csv file. For this purpose, in my .csv I have 3 columns: some unique ID, the attribute name and the attribute value.

    Thus, I may have 10 rows with the same ID and name but different values.

    At step 3:
    1. I assign the ID as the product name

    2. Set the product type to variable product

    3. On the “Attributes tab”, I assign the “name” to be taken from the column with the attribute name, and the “value” to be taken by it’s column (see attached screenshot)

    However, only some of the values are inserted. Could this be because instead of matching an existing attributes, the import trys to create new once, and because the attribute name is too long, thus the slug is too long and attribute cannot bre created?

    • This topic was modified 2 years ago by MilenMK.
    • This topic was modified 2 years ago by MilenMK.
Viewing 1 replies (of 1 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hey @milenmk,

    Could this be because instead of matching an existing attributes, the import trys to create new once, and because the attribute name is too long, thus the slug is too long and attribute cannot bre created?

    Yes, that could happen. WP All Import first looks for existing attributes based on the slug (it converts the name to slug format if you import names) – if it’s not found, it attempts to create a new attribute, which could fail if the name is too long.

    If you have existing attributes with custom slugs that you’re trying to match, you must use the slugs instead of the names in your import file.

    Let me know how it goes.

Viewing 1 replies (of 1 total)
  • The topic ‘Only some attribute’s values are added when importing products’ is closed to new replies.