+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/page.php b/page.php index 09f8055..a3f2518 100644 --- a/page.php +++ b/page.php @@ -48,8 +48,7 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' ); - - + diff --git a/woocommerce.php b/woocommerce.php new file mode 100644 index 0000000..133bb17 --- /dev/null +++ b/woocommerce.php @@ -0,0 +1,50 @@ + + +
- -
- - - - 0 ) : ?> -- - - -
- diff --git a/woocommerce/cart/cart.php b/woocommerce/cart/cart.php deleted file mode 100755 index dbc0fca..0000000 --- a/woocommerce/cart/cart.php +++ /dev/null @@ -1,166 +0,0 @@ - - - - -: cart->get_cart_subtotal(); ?>
- - - - - - - - diff --git a/woocommerce/cart/proceed-to-checkout-button.php b/woocommerce/cart/proceed-to-checkout-button.php deleted file mode 100755 index a8065b7..0000000 --- a/woocommerce/cart/proceed-to-checkout-button.php +++ /dev/null @@ -1,28 +0,0 @@ - - - - - diff --git a/woocommerce/checkout/form-checkout.php b/woocommerce/checkout/form-checkout.php deleted file mode 100755 index f14569f..0000000 --- a/woocommerce/checkout/form-checkout.php +++ /dev/null @@ -1,67 +0,0 @@ -enable_signup && ! $checkout->enable_guest_checkout && ! is_user_logged_in() ) { - echo apply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to checkout.', 'understrap' ) ); - return; -} - -?> - - - - diff --git a/woocommerce/checkout/form-coupon.php b/woocommerce/checkout/form-coupon.php deleted file mode 100755 index 492153a..0000000 --- a/woocommerce/checkout/form-coupon.php +++ /dev/null @@ -1,44 +0,0 @@ -cart->applied_coupons ) ) { - $info_message = apply_filters( 'woocommerce_checkout_coupon_message', __( 'Have a coupon?', 'understrap' ) . ' ' . __( 'Click here to enter your code', 'understrap' ) . '' ); - wc_print_notice( $info_message, 'notice' ); -} -?> - - diff --git a/woocommerce/checkout/form-pay.php b/woocommerce/checkout/form-pay.php deleted file mode 100755 index 344f374..0000000 --- a/woocommerce/checkout/form-pay.php +++ /dev/null @@ -1,98 +0,0 @@ - - diff --git a/woocommerce/checkout/payment.php b/woocommerce/checkout/payment.php deleted file mode 100755 index 7689671..0000000 --- a/woocommerce/checkout/payment.php +++ /dev/null @@ -1,60 +0,0 @@ - -- - |
---|
- - - - - - - - - - - - - - - - - - - - array( - 'url' => $download['download_url'], - 'name' => __( 'Download', 'understrap' ) - ) - ); - - if ( $actions = apply_filters( 'woocommerce_account_download_actions', $actions, $download ) ) { - foreach ( $actions as $key => $action ) { - echo '' . esc_html( $action['name'] ) . ''; - } - } - ?> - - - | - -
- - |
---|
- - - - - - get_order_number(); ?> - - - - - - - get_status() ); ?> - - - get_formatted_order_total(), $item_count ); ?> - - - array( - 'url' => $order->get_checkout_payment_url(), - 'name' => __( 'Pay', 'understrap' ) - ), - 'view' => array( - 'url' => $order->get_view_order_url(), - 'name' => __( 'View', 'understrap' ) - ), - 'cancel' => array( - 'url' => $order->get_cancel_order_url( wc_get_page_permalink( 'myaccount' ) ), - 'name' => __( 'Cancel', 'understrap' ) - ) - ); - - if ( ! $order->needs_payment() ) { - unset( $actions['pay'] ); - } - - if ( ! in_array( $order->get_status(), apply_filters( 'woocommerce_valid_order_statuses_for_cancel', array( 'pending', 'failed' ), $order ) ) ) { - unset( $actions['cancel'] ); - } - - if ( $actions = apply_filters( 'woocommerce_my_account_my_orders_actions', $actions, $order ) ) { - foreach ( $actions as $key => $action ) { - echo '' . esc_html( $action['name'] ) . ''; - } - } - ?> - - | - -
- - |
---|
- - - - - - get_order_number(); ?> - - - - - - - get_status() ); ?> - - - get_formatted_order_total(), $item_count ); ?> - - - array( - 'url' => $order->get_checkout_payment_url(), - 'name' => __( 'Pay', 'understrap' ) - ), - 'view' => array( - 'url' => $order->get_view_order_url(), - 'name' => __( 'View', 'understrap' ) - ), - 'cancel' => array( - 'url' => $order->get_cancel_order_url( wc_get_page_permalink( 'myaccount' ) ), - 'name' => __( 'Cancel', 'understrap' ) - ) - ); - - if ( ! $order->needs_payment() ) { - unset( $actions['pay'] ); - } - - if ( ! in_array( $order->get_status(), apply_filters( 'woocommerce_valid_order_statuses_for_cancel', array( 'pending', 'failed' ), $order ) ) ) { - unset( $actions['cancel'] ); - } - - if ( $actions = apply_filters( 'woocommerce_my_account_my_orders_actions', $actions, $order ) ) { - foreach ( $actions as $key => $action ) { - echo '' . esc_html( $action['name'] ) . ''; - } - } - ?> - - | - -
' . esc_html( $availability['availability'] ) . '
'; - - echo apply_filters( 'woocommerce_stock_html', $availability_html, $availability['availability'], $product ); -?> - -is_in_stock() ) : ?> - - - - - - - - diff --git a/woocommerce/single-product/product-thumbnails.php b/woocommerce/single-product/product-thumbnails.php deleted file mode 100755 index 4d944a3..0000000 --- a/woocommerce/single-product/product-thumbnails.php +++ /dev/null @@ -1,71 +0,0 @@ -get_gallery_attachment_ids(); - -if ( $attachment_ids ) { - $loop = 0; - $columns = apply_filters( 'woocommerce_product_thumbnails_columns', 3 ); - ?> -