• Resolved Hoxton Creatives

    (@hoxton-creatives)


    Hi!

    In classes/class-wc-qd-invoice-manager.php:96 the entire $item object is being sent to get_item_count(), generating faulty quantities.

    It should be the item type as a string, and i’ve changed it manually in my version of the plugin: 'quantity' => $order->get_item_count( $item['type'] )

    Would be great if you included this change in future updates!

    Thanks for a very helpful plugin!

    https://www.ads-software.com/plugins/woocommerce-quaderno/

  • The topic ‘Object instead of string causes quantity to be wrong’ is closed to new replies.