From e5c7d2d40bf4852063b1aa331306b5bb159a0824 Mon Sep 17 00:00:00 2001 From: Stef Kariotidis Date: Sat, 19 Nov 2016 00:38:41 +0200 Subject: [PATCH] bootstrap style buttons --- woocommerce/checkout/form-pay.php | 98 +++++++++++++++++++++++++++++++ woocommerce/checkout/payment.php | 60 +++++++++++++++++++ 2 files changed, 158 insertions(+) create mode 100755 woocommerce/checkout/form-pay.php create mode 100755 woocommerce/checkout/payment.php diff --git a/woocommerce/checkout/form-pay.php b/woocommerce/checkout/form-pay.php new file mode 100755 index 0000000..3420d70 --- /dev/null +++ b/woocommerce/checkout/form-pay.php @@ -0,0 +1,98 @@ + +
+ + + + + + + + + + + get_items() ) > 0 ) : ?> + get_items() as $item_id => $item ) : ?> + + + + + + + + + + + get_order_item_totals() ) : ?> + + + + + + + + +
+ display_item_meta( $item ); + do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order ); + ?> + ' . sprintf( '× %s', esc_html( $item['qty'] ) ) . '', $item ); ?>get_formatted_line_subtotal( $item ); ?>
+ +
+ needs_payment() ) : ?> +
    + $gateway ) ); + } + } else { + echo '
  • ' . apply_filters( 'woocommerce_no_available_payment_methods_message', __( 'Sorry, it seems that there are no available payment methods for your location. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce' ) ) . '
  • '; + } + ?> +
+ +
+ + + + + + + ' ); ?> + + + + +
+
+
diff --git a/woocommerce/checkout/payment.php b/woocommerce/checkout/payment.php new file mode 100755 index 0000000..2b3f162 --- /dev/null +++ b/woocommerce/checkout/payment.php @@ -0,0 +1,60 @@ + +
+ cart->needs_payment() ) : ?> + + +
+ + + + + + + ' ); ?> + + + + +
+
+