diff --git a/templates/archive-product.php b/templates/archive-product.php index a696feff2689..677e3789131d 100644 --- a/templates/archive-product.php +++ b/templates/archive-product.php @@ -4,9 +4,9 @@ * * Override this template by copying it to yourtheme/woocommerce/archive-product.php * - * @package WooCommerce - * @since WooCommerce 1.0 - * @todo replace loop-shop with a content template and include query/loop here instead. + * @author WooThemes + * @package WooCommerce/Templates + * @version 1.6.4 */ get_header('shop'); ?> diff --git a/templates/cart/cart.php b/templates/cart/cart.php index 1f024dbdcde6..e34ea2331eff 100755 --- a/templates/cart/cart.php +++ b/templates/cart/cart.php @@ -1,8 +1,12 @@ @@ -23,7 +27,7 @@
- + cart->get_cart() ) > 0 ) { foreach ( $woocommerce->cart->get_cart() as $cart_item_key => $values ) { @@ -33,66 +37,66 @@' . __('Available on backorder', 'woocommerce') . '
'; ?>: cart->get_cart_subtotal(); ?>
- + - + diff --git a/templates/cart/shipping-calculator.php b/templates/cart/shipping-calculator.php index 246dba480bbc..b1187525402a 100644 --- a/templates/cart/shipping-calculator.php +++ b/templates/cart/shipping-calculator.php @@ -1,8 +1,12 @@ cart->needs_shipping() ) return; @@ -26,18 +30,18 @@ customer->get_shipping_country(); $current_r = $woocommerce->customer->get_shipping_state(); - + $states = $woocommerce->countries->get_states( $current_cc ); - + if ( is_array( $states ) && empty( $states ) ) { - + // Hidden ?> @@ -47,14 +51,14 @@ ?> diff --git a/templates/cart/totals.php b/templates/cart/totals.php index 694bab348deb..9fe8d64d5195 100644 --- a/templates/cart/totals.php +++ b/templates/cart/totals.php @@ -1,38 +1,42 @@ shipping->get_available_shipping_methods(); ?>customer->is_customer_outside_base() && ! $woocommerce->customer->has_calculated_shipping() ) ? sprintf( ' ' . __('(taxes estimated for %s)', 'woocommerce'), $woocommerce->countries->estimated_for_prefix() . __($woocommerce->countries->countries[ $woocommerce->countries->get_base_country() ], 'woocommerce') ) : ''; - - printf(__('Note: Shipping and taxes are estimated%s and will be updated during checkout based on your billing and shipping information.', 'woocommerce'), $estimated_text ); - + + printf(__('Note: Shipping and taxes are estimated%s and will be updated during checkout based on your billing and shipping information.', 'woocommerce'), $estimated_text ); + ?>
- + cart->needs_shipping() ) : ?> - + customer->get_shipping_state() || ! $woocommerce->customer->get_shipping_postcode() ) : ?> - +countries->countries[ $woocommerce->customer->get_shipping_country() ]); ?>
- + - +cart->get_cart_subtotal(); ?> | ||||
-cart->get_discounts_before_tax(); ?> | ||||
@@ -78,24 +82,24 @@
if ( get_option('woocommerce_shipping_method_format') == 'select' ) {
echo '';
-
+
} else {
-
-
+
+
echo '
|
-
+
||||
cart->tax->get_rate_label( $key ); + | cart->tax->get_rate_label( $key ); ?> | |||
cart->tax->get_rate_label( $key ); + | cart->tax->get_rate_label( $key ); ?> | |||
countries->tax_or_vat(); ?> | cart->get_cart_tax(); ?> | |||
-cart->get_discounts_after_tax(); ?> | ||||
cart->get_total(); ?> | ' . apply_filters( 'woocommerce_checkout_item_subtotal', $woocommerce->cart->get_product_subtotal( $_product, $values['quantity'] ), $values, $item_id ) . ' | '; endif; - endforeach; + endforeach; endif; do_action( 'woocommerce_cart_contents_review_order' ); ?>
'.__('Please fill in your details above to see available payment methods.', 'woocommerce').'
'; else : echo ''.__('Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce').'
'; endif; - + endif; ?>id="terms" />
- + - +Pay', 'woocommerce' ), get_bloginfo( 'name' ), $order->get_checkout_payment_url() ); ?>
- + @@ -21,22 +30,22 @@ - status ) { case "completed" : echo $order->email_order_items_table( true, false, true ); break; case "processing" : - echo $order->email_order_items_table( get_option('woocommerce_downloads_grant_access_after_payment')=='yes' ? true : false, true, true ); + echo $order->email_order_items_table( get_option('woocommerce_downloads_grant_access_after_payment')=='yes' ? true : false, true, true ); break; default : - echo $order->email_order_items_table( false, true, false ); + echo $order->email_order_items_table( false, true, false ); break; } ?> - get_order_item_totals() ) { $i = 0; foreach ( $totals as $total ) { @@ -44,7 +53,7 @@ ?>
-
+
get_formatted_billing_address(); ?> - + |
@@ -15,13 +24,13 @@
-
+
get_formatted_shipping_address(); ?> - - |
-
+
+
+