• Resolved greeneskimo

    (@greeneskimo)


    Hi, I’ve purchased the Woocommerce Subscriptions plugin and I have tried for hours to use the inbuilt Import/Export function – a plugin which the help docs say is supported in this function.

    Replication steps:
    1. Create a Variable Subscription product with a few variations
    2. Use the Export function from the Products listing screen
    3. Use the Import function (update product info checked) to import the file you just exported.
    It errors saying “Invalid product type.” on all of the variations, and only imports the primary products.

    I tried simply marking the Type field as “do not import”, at which point attempting to do the import process just hangs, with this in the logs (edited for security):

    2019-01-30T11:56:52+00:00 CRITICAL Uncaught Error: Call to a member function get_name() on string in /home/domain.com/public_html/wp-content/plugins/woocommerce/includes/import/abstract-wc-product-importer.php:346
    Stack trace:
    #0 /home/domain.com/public_html/wp-content/plugins/woocommerce/includes/import/abstract-wc-product-importer.php(253): WC_Product_Importer->set_product_data(Object(WC_Product_Subscription_Variation), Array)
    #1 /home/domain.com/public_html/wp-content/plugins/woocommerce/includes/import/class-wc-product-csv-importer.php(968): WC_Product_Importer->process_item(Array)
    #2 /home/domain.com/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-importers.php(231): WC_Product_CSV_Importer->import()
    #3 /home/domain.com/public_html/wp-includes/class-wp-hook.php(286): WC_Admin_Importers->do_ajax_product_import('')
    #4 /home/domain.com/public_html/wp-includes/class-wp-h in /home/domain.com/public_html/wp-content/plugins/woocommerce/includes/import/abstract-wc-product-importer.php on line 346

    I’m not familiar enough with PHP to attempt to troubleshoot this any further.
    None of the product import plugins appear to be able to handle this – I’ve bought two of them today just to make sure, and this inbuilt one is the closest and would be great if not for this!

    Any help appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Erica K. a11n

    (@piratepenpen)

    Automattic Happiness Engineer

    Hello @greeneskimo,

    As a heads up, this is the support forum for our WooCommerce plugin. If you’re looking for assistance with setting up your WooCommerce Subscriptions premium plugin, please open a support ticket on the Support Page as we do not offer premium plugin support here. Make sure to select Help with my purchased products and then choose WooCommerce Subscriptions from the pulldown menu.

    Thanks!

    Thread Starter greeneskimo

    (@greeneskimo)

    Thanks Erica. It’s sort of a cross-issue with both which is why I posted here but I’ll follow your instruction

    Did you ever find a solution for this? I’ve just run in to the same issue. I’ve submitted a support ticket to Propress but wondered if you had found/been given a solution?
    Thanks

    Thread Starter greeneskimo

    (@greeneskimo)

    @jpknz Nope, all they said was that they were working on it but it required WP Core changes. I ended up going a different direction in the end.

    Here’s their response:

    Hi there,

    Thank you for contacting Prospress support! I understand you are trying to use the WooCommerce Import / Export tool for variable subscription products.

    While the Import / Export tool supports regular variable products, it does not currently support variable subscription products. We are working on addressing this now. However, this functionality is going to require that some changes are made to WooCommerce core, so we do not have any estimated timeline as to when this might be released.

    I’m sorry to say that I don’t know of any product import / export plugins that support variable subscription products due to the limitations mentioned above. It is likely that you will need to configure your variable subscription products manually.

    Please let us know if there are any other questions we can help with!

    Best regards,

    Jess

    Hi! What alternate solution did you use for this issue?

    Thread Starter greeneskimo

    (@greeneskimo)

    It was a while ago now but I think I just manually created every variation

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Errors Importing Variable Subscription products’ is closed to new replies.