Support » Plugin: WooCommerce Print Invoice & Delivery Note » [Plugin: WooCommerce Print Invoices & Delivery Notes] Invoice/delviery note printing issues

  • Resolved zombiecheese

    (@zombiecheese)


    when ever i goto print/view the invoice or delivery note i am met with the below errors

    Warning: number_format() expects parameter 1 to be double, string given in /home/content/90/8835990/html/wp-content/plugins/woocommerce/classes/class-wc-order.php on line 270

    Warning: number_format() expects parameter 1 to be double, string given in /home/content/90/8835990/html/wp-content/plugins/woocommerce/classes/class-wc-order.php on line 277

    any idea?

    http://wordpress.org/extend/plugins/woocommerce-delivery-notes/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author piffpaffpuff

    (@chabis)

    this happens when you order a product with no price (empty field, not 0!). this is a woocommerce issue and also happens on your customers order overview page. it would be great if you could report the issue to woccommerce: https://github.com/woothemes/woocommerce/issues?state=open

    johno69

    (@johno69)

    I am getting this error now even on the preview page of the plugin:

    Warning: number_format() expects parameter 1 to be double, string given in /home/xxxxxx/public_html/wp-content/plugins/woocommerce/classes/class-wc-order.php on line 678

    Line 678 is:

    return apply_filters( ‘woocommerce_order_amount_line_subtotal’, ($round) ? number_format( $price, 2, ‘.’, ”) : $price );

    Any help is appreciated

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WooCommerce Print Invoices & Delivery Notes] Invoice/delviery note printing issues’ is closed to new replies.