';
+}
diff --git a/woocommerce/loop/add-to-cart.php b/woocommerce/loop/add-to-cart.php
new file mode 100755
index 0000000..1b4f521
--- /dev/null
+++ b/woocommerce/loop/add-to-cart.php
@@ -0,0 +1,35 @@
+%s',
+ esc_url( $product->add_to_cart_url() ),
+ esc_attr( isset( $quantity ) ? $quantity : 1 ),
+ esc_attr( $product->id ),
+ esc_attr( $product->get_sku() ),
+ // TODO: load add to cart button class from customizer?
+// esc_attr( isset( $class ) ? $class : 'button' ),
+ esc_html( $product->add_to_cart_text() )
+ ),
+ $product );
diff --git a/woocommerce/myaccount/downloads.php b/woocommerce/myaccount/downloads.php
new file mode 100755
index 0000000..a5a2b41
--- /dev/null
+++ b/woocommerce/myaccount/downloads.php
@@ -0,0 +1,104 @@
+customer->get_downloadable_products();
+$has_downloads = (bool) $downloads;
+
+do_action( 'woocommerce_before_account_downloads', $has_downloads ); ?>
+
+
+
+
+
+
+
+
+ $column_name ) : ?>
+
+
+
+
+
+
+ $column_name ) : ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ array(
+ 'url' => $download['download_url'],
+ 'name' => __( 'Download', 'woocommerce' )
+ )
+ );
+
+ if ( $actions = apply_filters( 'woocommerce_account_download_actions', $actions, $download ) ) {
+ foreach ( $actions as $key => $action ) {
+ echo '' . esc_html( $action['name'] ) . ' ';
+ }
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/woocommerce/myaccount/form-edit-account.php b/woocommerce/myaccount/form-edit-account.php
new file mode 100755
index 0000000..bded131
--- /dev/null
+++ b/woocommerce/myaccount/form-edit-account.php
@@ -0,0 +1,73 @@
+
+
+
+
+
diff --git a/woocommerce/myaccount/form-edit-address.php b/woocommerce/myaccount/form-edit-address.php
new file mode 100755
index 0000000..db798fe
--- /dev/null
+++ b/woocommerce/myaccount/form-edit-address.php
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/woocommerce/myaccount/form-login.php b/woocommerce/myaccount/form-login.php
new file mode 100755
index 0000000..3ba1f4c
--- /dev/null
+++ b/woocommerce/myaccount/form-login.php
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/woocommerce/myaccount/form-lost-password.php b/woocommerce/myaccount/form-lost-password.php
new file mode 100755
index 0000000..df71787
--- /dev/null
+++ b/woocommerce/myaccount/form-lost-password.php
@@ -0,0 +1,45 @@
+
+
+
diff --git a/woocommerce/myaccount/form-reset-password.php b/woocommerce/myaccount/form-reset-password.php
new file mode 100755
index 0000000..5ba92cc
--- /dev/null
+++ b/woocommerce/myaccount/form-reset-password.php
@@ -0,0 +1,52 @@
+
+
+
diff --git a/woocommerce/myaccount/my-orders.php b/woocommerce/myaccount/my-orders.php
new file mode 100755
index 0000000..e1c084b
--- /dev/null
+++ b/woocommerce/myaccount/my-orders.php
@@ -0,0 +1,105 @@
+ __( 'Order', 'woocommerce' ),
+ 'order-date' => __( 'Date', 'woocommerce' ),
+ 'order-status' => __( 'Status', 'woocommerce' ),
+ 'order-total' => __( 'Total', 'woocommerce' ),
+ 'order-actions' => ' ',
+) );
+
+$customer_orders = get_posts( apply_filters( 'woocommerce_my_account_my_orders_query', array(
+ 'numberposts' => $order_count,
+ 'meta_key' => '_customer_user',
+ 'meta_value' => get_current_user_id(),
+ 'post_type' => wc_get_order_types( 'view-orders' ),
+ 'post_status' => array_keys( wc_get_order_statuses() )
+) ) );
+
+if ( $customer_orders ) : ?>
+
+
+
+
+
+
+
+ $column_name ) : ?>
+
+
+
+
+
+
+ get_item_count();
+ ?>
+
+ $column_name ) : ?>
+
+
+
+
+
+
+ get_order_number(); ?>
+
+
+
+ order_date ) ); ?>
+
+
+ get_status() ); ?>
+
+
+ get_formatted_order_total(), $item_count ); ?>
+
+
+ array(
+ 'url' => $order->get_checkout_payment_url(),
+ 'name' => __( 'Pay', 'woocommerce' )
+ ),
+ 'view' => array(
+ 'url' => $order->get_view_order_url(),
+ 'name' => __( 'View', 'woocommerce' )
+ ),
+ 'cancel' => array(
+ 'url' => $order->get_cancel_order_url( wc_get_page_permalink( 'myaccount' ) ),
+ 'name' => __( 'Cancel', 'woocommerce' )
+ )
+ );
+
+ 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'] ) . ' ';
+ }
+ }
+ ?>
+
+
+
+
+
+
+
+
diff --git a/woocommerce/myaccount/navigation.php b/woocommerce/myaccount/navigation.php
new file mode 100755
index 0000000..edb1a7d
--- /dev/null
+++ b/woocommerce/myaccount/navigation.php
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
diff --git a/woocommerce/myaccount/orders.php b/woocommerce/myaccount/orders.php
new file mode 100755
index 0000000..64fdc2e
--- /dev/null
+++ b/woocommerce/myaccount/orders.php
@@ -0,0 +1,125 @@
+
+
+
+
+
+
+
+ $column_name ) : ?>
+
+
+
+
+
+
+ orders as $customer_order ) :
+ $order = wc_get_order( $customer_order );
+ $item_count = $order->get_item_count();
+ ?>
+
+ $column_name ) : ?>
+
+
+
+
+
+
+ get_order_number(); ?>
+
+
+
+ order_date ) ); ?>
+
+
+ get_status() ); ?>
+
+
+ get_formatted_order_total(), $item_count ); ?>
+
+
+ array(
+ 'url' => $order->get_checkout_payment_url(),
+ 'name' => __( 'Pay', 'woocommerce' )
+ ),
+ 'view' => array(
+ 'url' => $order->get_view_order_url(),
+ 'name' => __( 'View', 'woocommerce' )
+ ),
+ 'cancel' => array(
+ 'url' => $order->get_cancel_order_url( wc_get_page_permalink( 'myaccount' ) ),
+ 'name' => __( 'Cancel', 'woocommerce' )
+ )
+ );
+
+ 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'] ) . ' ';
+ }
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+ max_num_pages ) : ?>
+
+
+
+
+
+
+
+
diff --git a/woocommerce/single-product/add-to-cart/simple.php b/woocommerce/single-product/add-to-cart/simple.php
new file mode 100755
index 0000000..0e56dd2
--- /dev/null
+++ b/woocommerce/single-product/add-to-cart/simple.php
@@ -0,0 +1,65 @@
+is_purchasable() ) {
+ return;
+}
+
+?>
+
+get_availability();
+ $availability_html = empty( $availability['availability'] ) ? '' : '
' . esc_html( $availability['availability'] ) . '
';
+
+ echo apply_filters( 'woocommerce_stock_html', $availability_html, $availability['availability'], $product );
+?>
+
+is_in_stock() ) : ?>
+
+
+
+
+
+
+
+