• Resolved mjmoniz

    (@mjmoniz)


    I’m getting invoices (in the micro template) that populate “_reduced_stock: 1” under each product description. It never did this before, but now for some reason, it’s showing up. I have disabled “show customer notes” and tinkered around with all the backend settings, but nothing has seemed to work.

Viewing 7 replies - 1 through 7 (of 7 total)
  • I have the same problem after last update.

    Same here, my workaround is to disable ‘stock management’ in the WooCommerce/Products/Inventory settings

    You need to edit in the WooCommerce PDF Invoices plugin / includes / templates / invoices / simple / micro / body.php. Add to $ hidden_order_itemeta = apply_filters (‘woocommerce_hidden_order_itemmeta’, array (
    ‘_Reduced_stock’
    and does not show it in the invoice anymore

    Link printscreen
    https://www.s.mlynar.org/reduced_stock.png

    • This reply was modified 6 years, 3 months ago by sm12345.

    I’m also getting this in the output of our invoices. I don’t have the PDF Invoices Plugin or the Micro template, I’m using Booster and have the “PDF Invoicing & Packing Slips” module enabled. Happens for a variable product only. The product column on the invoice shows the following:

    Grips – Black
    Color: Black, _reduced_stock: 1

    The product column should only show the product name e.g.: “Grips – Black” but it’s showing the variation name “Color: Black,” and “_reduced_stock: 1” on the second line.

    Any help much appreciated.

    Plugin Author Bas Elbers

    (@baaaaas)

    @jackstance You are referring to another plugin.
    @sm12345 Thanks for your solution. I will add it to the next update.

    Hi @baaaaas. I just updated to version 3.0.2, but the problem does not appear to have been resolved. “_reduced_stock: 1” still appears beneath each product description in the mirco template. Any word on an upcoming fix? The fix posted above by @sm12345 did not work for us…

    Cheers!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘“_reduced_stock: 1” under each product description.’ is closed to new replies.