diff --git a/woocommerce/cart/mini-cart.php b/woocommerce/cart/mini-cart.php index 4134062..c91dc6c 100644 --- a/woocommerce/cart/mini-cart.php +++ b/woocommerce/cart/mini-cart.php @@ -43,7 +43,7 @@ do_action( 'woocommerce_before_mini_cart' ); ?> ×', - esc_url( WC()->cart->get_remove_url( $cart_item_key ) ), + esc_url( wc_get_cart_remove_url( $cart_item_key ) ), __( 'Remove this item', 'understrap' ), esc_attr( $product_id ), esc_attr( $cart_item_key ), @@ -57,7 +57,7 @@ do_action( 'woocommerce_before_mini_cart' ); ?> - cart->get_item_data( $cart_item ); ?> + ' . sprintf( '%s × %s', $cart_item['quantity'], $product_price ) . '', $cart_item, $cart_item_key ); ?>