From: Laury GvR Date: Wed, 10 May 2017 21:11:44 +0000 (-0400) Subject: Woocommerce email templates placed in the right folder X-Git-Tag: v1.0.3^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=f0f5d9eb85740ca017327c2a3bac5cc67f57dd2c;p=WP-Themes%2Fmunisinghockey.git Woocommerce email templates placed in the right folder --- diff --git a/woocommerce/DNU_content-product_cat.php b/woocommerce/DNU_content-product_cat.php deleted file mode 100644 index ceaf439..0000000 --- a/woocommerce/DNU_content-product_cat.php +++ /dev/null @@ -1,80 +0,0 @@ -slug, $excludeCats ) ) { - return; -} - - -// Store loop count we're currently on -if ( empty( $woocommerce_loop['loop'] ) ) - $woocommerce_loop['loop'] = 0; - -// Store column count for displaying the grid -if ( empty( $woocommerce_loop['columns'] ) ) - $woocommerce_loop['columns'] = apply_filters( 'loop_shop_columns', 4 ); - -// Increase loop count -$woocommerce_loop['loop']++; -?> - - -count > 0 ) { ?> -
  • - - - - - -

    - name; - ?> -

    - - - - - -
  • - diff --git a/woocommerce/emails/customer-processing-order.php b/woocommerce/emails/customer-processing-order.php new file mode 100644 index 0000000..7d305bb --- /dev/null +++ b/woocommerce/emails/customer-processing-order.php @@ -0,0 +1,53 @@ + + +

    + + + + +

    get_order_number() ); ?>

    + +

    get_order_number() ); ?> (%s', date_i18n( 'c', strtotime( $order->order_date ) ), date_i18n( wc_date_format(), strtotime( $order->order_date ) ) ); ?>)

    + + + + + + + + + + + + email_order_items_table( array( + 'show_sku' => $sent_to_admin, + 'show_image' => false, + 'image_size' => array( 32, 32 ), + 'plain_text' => $plain_text, + 'sent_to_admin' => $sent_to_admin + ) ); ?> + + + get_order_item_totals() ) { + $i = 0; + foreach ( $totals as $total ) { + $i++; + ?> + + + + +
    + + diff --git a/woocommerce/loop/DNU_add-to-cart.php b/woocommerce/loop/DNU_add-to-cart.php deleted file mode 100644 index 2c7d69e..0000000 --- a/woocommerce/loop/DNU_add-to-cart.php +++ /dev/null @@ -1,40 +0,0 @@ -id, 'product_cat' ); -foreach ( $terms as $term ) $categories[] = $term->slug; - -echo apply_filters( 'woocommerce_loop_add_to_cart_link', - sprintf( 'VOTE2', - esc_url( $product->add_to_cart_url() ), - esc_attr( isset( $quantity ) ? $quantity : 1 ), - esc_attr( $product->id ), - esc_attr( $product->get_sku() ), - esc_attr( isset( $class ) ? $class : 'button' ), - esc_html( $product->add_to_cart_text() ) - ), -$product ); diff --git a/woocommerce/templates/emails/customer-processing-order.php b/woocommerce/templates/emails/customer-processing-order.php deleted file mode 100644 index 7d305bb..0000000 --- a/woocommerce/templates/emails/customer-processing-order.php +++ /dev/null @@ -1,53 +0,0 @@ - - -

    - - - - -

    get_order_number() ); ?>

    - -

    get_order_number() ); ?> (%s', date_i18n( 'c', strtotime( $order->order_date ) ), date_i18n( wc_date_format(), strtotime( $order->order_date ) ) ); ?>)

    - - - - - - - - - - - - email_order_items_table( array( - 'show_sku' => $sent_to_admin, - 'show_image' => false, - 'image_size' => array( 32, 32 ), - 'plain_text' => $plain_text, - 'sent_to_admin' => $sent_to_admin - ) ); ?> - - - get_order_item_totals() ) { - $i = 0; - foreach ( $totals as $total ) { - $i++; - ?> - - - - -
    - -