From f2bbfa8f3ddaf81ed35fdfea68d592903912aa8f Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 22 Mar 2018 14:09:08 -0600 Subject: [PATCH] Add "get_quantity" Also add's "@codingStandardsIgnoreLine" Per new Woo template files. --- woocommerce/checkout/form-pay.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/woocommerce/checkout/form-pay.php b/woocommerce/checkout/form-pay.php index 7d74cb9..244ef43 100644 --- a/woocommerce/checkout/form-pay.php +++ b/woocommerce/checkout/form-pay.php @@ -51,7 +51,7 @@ if ( ! defined( 'ABSPATH' ) ) { do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, false ); ?> - ' . sprintf( '× %s', esc_html( $item['qty'] ) ) . '', $item ); ?> + ' . sprintf( '× %s', esc_html( $item->get_quantity() ) ) . '', $item ); ?> get_formatted_line_subtotal( $item ); ?>