• Resolved johnferz

    (@johnferz)


    Hi, we are trying to renew existing (!!!) variations and create new variations in the same import (existing products).

    The product’s and variation was imported with another import settings like new products and variations.

    So we have 1500 existing variable products, and 1 attribute for variations.

    1. Sample data https://yadi.sk/i/P9YdEZ2EEtPCVA
    2. Typical answer when your plugin try to get variations for variable product

    Record #40
    [13:32:22] ACTION: pmxi_before_post_import ...
    [13:32:22] Combine all data for post <code>Проект дома &quot;Изумруд&quot;</code>...
    [13:32:22] Find corresponding article among database for post <code>Проект дома &quot;Изумруд&quot;</code>...
    [13:32:22] Duplicate post was found for post <code>Проект дома &quot;Изумруд&quot;</code>...
    [13:32:22] Preserve date of already existing article for <code>Проект дома &quot;Изумруд&quot;</code>
    [13:32:22] Preserve status of already existing article for <code>Проект дома &quot;Изумруд&quot;</code>
    [13:32:22] Preserve content of already existing article for <code>Проект дома &quot;Изумруд&quot;</code>
    [13:32:22] Preserve title of already existing article for <code></code>
    [13:32:22] Preserve slug of already existing article for <code></code>
    [13:32:22] Preserve excerpt of already existing article for <code></code>
    [13:32:22] Preserve menu order of already existing article for <code></code>
    [13:32:22] Preserve post type of already existing article for <code></code>
    [13:32:22] Preserve comment status of already existing article for <code></code>
    [13:32:22] Preserve ping status of already existing article for <code></code>
    [13:32:22] Preserve post author of already existing article for <code></code>
    [13:32:22] Applying filter <code>pmxi_article_data</code> for <code></code>
    [13:32:22] UPDATING <code></code> <code>Product</code>
    [13:32:23] WooCommerce ADD-ON:
    [13:32:23] Property <code>regular_price</code> updated with value <code>0.00</code>
    [13:32:23] Property <code>attributes</code> updated with value <code>a:1:{i:0;O:20:&quot;WC_Product_Attribute&quot;:1:{s:7:&quot;*data&quot;;a:6:{s:2:&quot;id&quot;;i:198;s:4:&quot;name&quot;;s:11:&quot;pa_komplekt&quot;;s:7:&quot;options&quot;;a:1:{i:0;i:13737;}s:8:&quot;position&quot;;i:1;s:7:&quot;visible&quot;;b:1;s:9:&quot;variation&quot;;b:1;}}}</code>
    [13:32:23] ERROR: Invalid product.
    [13:32:23] ACF ADD-ON:
    [13:32:23] IMAGES:
    [13:32:23] UPDATED <code></code> <code>Product</code> (ID: 111816)
    [13:32:23] ACTION: pmxi_saved_post
    [13:32:23] ACTION: pmxi_after_post_import
    [13:32:23] ---

    3. Import settings https://yadi.sk/d/ZtHF6gDA5B-cLQ

    So we tried a lot of ways, and almost all ways to adjust variation to it’s product and it seems to be ok, but it says: ERROR: Invalid product.

    So what we should do?

    ETC: your sanbox here https://www.wpallimport.com/debug is with error, we can not use it https://yadi.sk/i/n-PNTGTkNKepyA check screenshot

    Thank you!

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

    (@wpallimport)

    Hey @johnferz,

    Unfortunately, it is not currently possible to add new variations to existing products with an “Existing Items” import. Your options here are:

    • Update the original “New Items” import that created the products with a new file that contains the new variations (and all of the other products/information you want to keep), then re-run the import.
    • Or, put together a file with *only* new variations for existing products, upload it to a “New Items” import, and use the “I’m importing new variations to existing products” option: https://d.pr/i/DoJKHL.
    Plugin Author WP All Import

    (@wpallimport)

    Hello @johnferz,

    I’m marking this as resolved since it’s been inactive. Please don’t hesitate to open a new topic if you still have questions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ERROR: Invalid product’ is closed to new replies.