Support » Plugin: Product Import Export for WooCommerce » Stock Status not updating properly

  • Resolved Tony Brocklebank

    (@tony-brocklebank)


    Hi,

    Hope you can help with this. I’ve been using the plugin for a while and it’s great!

    After importing all products that have merged don’t display stock correctly. It works fine when I import a new product.

    We need customers to be able to order products that are out of stock. These are set with Stockstatus as ‘outofstock’, backorders as ‘yes’ and manage_stock as ‘yes’. Stock levels are set below zero.

    I can manually fix it by editing the product and saving without making any changes, but with about 3000+ products in this category this would be a problem!

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author webtoffee

    (@webtoffee)

    Hi @tony-brocklebank,

    We have updated the Product Import Export plugin with support to manage the product backorder status using a CSV file. You may please update the plugin to the latest version(Version 1.5.4) and copy the below code snippet to active theme’s functions.php.

    add_action('wf_refresh_after_product_import','refresh_after_product_import',1); 
    function refresh_after_product_import($product_object) { $product_object->save(); } 
    
    Tony Brocklebank

    (@tony-brocklebank)

    Hi,

    Thanks, I’ve updated the plugin and added the snippet but it seems to have stopped the import working?

    The header comes up – i.e. “Row SKU Product Status Message” but then it just seems to be hanging. I’ve left it running for about five minutes nothing seems to be happening?

    Tony

    Tony Brocklebank

    (@tony-brocklebank)

    It’s a bit odd, I’ve tried it with the snippet on a single existing product and it works.

    As soon as there is more than one new product it doesn’t work.

    Import works without the snippet but it doesn’t solve the out of stock problem.

    Plugin Author webtoffee

    (@webtoffee)

    Hi @tony-brocklebank,

    Kindly share us the CSV with which you are importing/updating the products via support.

    Our support team will follow you up from there.

    Thanks, I’ve just sent a sample of the file over.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.