From f0656e7e38852b9c85f7cec5bb5f4ada738edb86 Mon Sep 17 00:00:00 2001
From: George Stephanis See here for available alpha-2 country codes.', 'woocommerce' ), 'http://en.wikipedia.org/wiki/ISO_3166-1#Current_codes' ); ?> See here for available alpha-2 country codes.', 'woocommerce' ), 'http://en.wikipedia.org/wiki/ISO_3166-1#Current_codes' ); ?> See here for available alpha-2 country codes.', 'woocommerce' ), 'http://en.wikipedia.org/wiki/ISO_3166-1#Current_codes' ); ?> See here for available alpha-2 country codes.', 'woocommerce' ), 'http://en.wikipedia.org/wiki/ISO_3166-1#Current_codes' ); ?>
From 5e8ef8f18d929c455548f21e88988143aee7866d Mon Sep 17 00:00:00 2001
From: George Stephanis
From 729e6c924c8373ad0f97a01a7c20f62115eaf257 Mon Sep 17 00:00:00 2001
From: George Stephanis
From e0d9ff88917e7edb5134b2c5a03789bbfaae31c1 Mon Sep 17 00:00:00 2001
From: George Stephanis
-
From 521d8f48619e6a89be43eb69a5366a8f007a12f2 Mon Sep 17 00:00:00 2001
From: George Stephanis
- checked="checked" <# } #> />
+ checked="checked" <# } #> />
- checked="checked" <# } #> />
+ checked="checked" <# } #> />
- checked="checked" <# } #> data-attribute="tax_rate_compound" />
+ checked="checked" <# } #> data-attribute="tax_rate_compound" />
- checked="checked" <# } #> data-attribute="tax_rate_shipping" />
+ checked="checked" <# } #> data-attribute="tax_rate_shipping" />
From ce02cd8a5b54d7d20cb4b5a7296d23b119e4b682 Mon Sep 17 00:00:00 2001
From: George Stephanis
From 837931f99a8a9f827e4401e554ea91655d04d305 Mon Sep 17 00:00:00 2001
From: George Stephanis
From a59ed70774a5fc04f47a1ac8bc0e1ba1bdfe3195 Mon Sep 17 00:00:00 2001
From: George Stephanis
From c6e3a577c0a9430a8e2a2bc243b76a183d9e144e Mon Sep 17 00:00:00 2001
From: George Stephanis
-
From ddba588987007efe27b0c6f9f6cb91a332c6668c Mon Sep 17 00:00:00 2001
From: George Stephanis
- checked="checked" <# } #> />
+ checked="checked" <# } #> />
- checked="checked" <# } #> />
+ checked="checked" <# } #> />
- checked="checked" <# } #> data-attribute="tax_rate_compound" />
+ checked="checked" <# } #> data-attribute="tax_rate_compound" />
- checked="checked" <# } #> data-attribute="tax_rate_shipping" />
+ checked="checked" <# } #> data-attribute="tax_rate_shipping" />
From 1332ef4a7122953a9cf97e5c98ff17d7e155ca59 Mon Sep 17 00:00:00 2001
From: George Stephanis
').css({width:settings.default_width}).wrapInner('
').css({width:settings.default_width}).wrapInner('
\ No newline at end of file
+
diff --git a/templates/loop/no-products-found.php b/templates/loop/no-products-found.php
index 490d3bdf979..8053833fdc5 100644
--- a/templates/loop/no-products-found.php
+++ b/templates/loop/no-products-found.php
@@ -2,8 +2,14 @@
/**
* Displayed when no products are found matching the current query.
*
- * Override this template by copying it to yourtheme/woocommerce/loop/no-products-found.php
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
*
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
diff --git a/templates/loop/orderby.php b/templates/loop/orderby.php
index d3e8c19fd0e..b91a8e62c2e 100644
--- a/templates/loop/orderby.php
+++ b/templates/loop/orderby.php
@@ -2,6 +2,14 @@
/**
* Show options for ordering
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.2.0
diff --git a/templates/loop/pagination.php b/templates/loop/pagination.php
index 293df45afa0..a75205045e2 100644
--- a/templates/loop/pagination.php
+++ b/templates/loop/pagination.php
@@ -2,6 +2,14 @@
/**
* Pagination - Show numbered pagination for catalog pages.
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.2.2
diff --git a/templates/loop/price.php b/templates/loop/price.php
index a2af2cf7940..573bf9e79ef 100644
--- a/templates/loop/price.php
+++ b/templates/loop/price.php
@@ -2,6 +2,14 @@
/**
* Loop Price
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
diff --git a/templates/loop/rating.php b/templates/loop/rating.php
index 87a7e40bfe9..18452aa9747 100644
--- a/templates/loop/rating.php
+++ b/templates/loop/rating.php
@@ -2,6 +2,14 @@
/**
* Loop Rating
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
diff --git a/templates/loop/result-count.php b/templates/loop/result-count.php
index 117cd47adda..b1f8c51932e 100644
--- a/templates/loop/result-count.php
+++ b/templates/loop/result-count.php
@@ -4,6 +4,14 @@
*
* Shows text: Showing x - x of x results
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
diff --git a/templates/loop/sale-flash.php b/templates/loop/sale-flash.php
index bec0f2c0106..3eac29fbd9e 100644
--- a/templates/loop/sale-flash.php
+++ b/templates/loop/sale-flash.php
@@ -2,6 +2,14 @@
/**
* Product loop sale flash
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
diff --git a/templates/loop/title.php b/templates/loop/title.php
index 240fe27a634..38003fbf640 100644
--- a/templates/loop/title.php
+++ b/templates/loop/title.php
@@ -2,6 +2,14 @@
/**
* Product loop title
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.4.0
diff --git a/templates/myaccount/form-add-payment-method.php b/templates/myaccount/form-add-payment-method.php
index 1f9202e71cc..1de35e64233 100644
--- a/templates/myaccount/form-add-payment-method.php
+++ b/templates/myaccount/form-add-payment-method.php
@@ -2,6 +2,14 @@
/**
* Add payment method form form
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.1
diff --git a/templates/myaccount/form-edit-account.php b/templates/myaccount/form-edit-account.php
index 906c9f9b965..686ff3d145e 100644
--- a/templates/myaccount/form-edit-account.php
+++ b/templates/myaccount/form-edit-account.php
@@ -2,6 +2,14 @@
/**
* Edit account form
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.2.7
diff --git a/templates/myaccount/form-edit-address.php b/templates/myaccount/form-edit-address.php
index 49d8f735e9c..a30e4a95b04 100644
--- a/templates/myaccount/form-edit-address.php
+++ b/templates/myaccount/form-edit-address.php
@@ -2,6 +2,14 @@
/**
* Edit address form
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.1.0
diff --git a/templates/myaccount/form-login.php b/templates/myaccount/form-login.php
index 0ed66d81297..d19f0166b2b 100644
--- a/templates/myaccount/form-login.php
+++ b/templates/myaccount/form-login.php
@@ -2,6 +2,14 @@
/**
* Login Form
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.2.6
diff --git a/templates/myaccount/form-lost-password.php b/templates/myaccount/form-lost-password.php
index 99efea3cbfb..4ac136e65e2 100644
--- a/templates/myaccount/form-lost-password.php
+++ b/templates/myaccount/form-lost-password.php
@@ -2,6 +2,14 @@
/**
* Lost password form
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.3.0
diff --git a/templates/myaccount/my-account.php b/templates/myaccount/my-account.php
index ff496586d2e..a0354b094f9 100644
--- a/templates/myaccount/my-account.php
+++ b/templates/myaccount/my-account.php
@@ -2,6 +2,14 @@
/**
* My Account page
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
diff --git a/templates/myaccount/my-address.php b/templates/myaccount/my-address.php
index 82555a65f2f..b80504ff7d4 100644
--- a/templates/myaccount/my-address.php
+++ b/templates/myaccount/my-address.php
@@ -2,6 +2,14 @@
/**
* My Addresses
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.2.0
diff --git a/templates/myaccount/my-downloads.php b/templates/myaccount/my-downloads.php
index 346e1c6b10c..3cf725a0e85 100644
--- a/templates/myaccount/my-downloads.php
+++ b/templates/myaccount/my-downloads.php
@@ -4,6 +4,14 @@
*
* Shows recent orders on the account page
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
diff --git a/templates/myaccount/my-orders.php b/templates/myaccount/my-orders.php
index a18e3e047eb..d159a70f754 100644
--- a/templates/myaccount/my-orders.php
+++ b/templates/myaccount/my-orders.php
@@ -4,6 +4,14 @@
*
* Shows recent orders on the account page
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.3.10
diff --git a/templates/myaccount/view-order.php b/templates/myaccount/view-order.php
index 99d4e10848a..6ddb7aa80f8 100644
--- a/templates/myaccount/view-order.php
+++ b/templates/myaccount/view-order.php
@@ -4,6 +4,14 @@
*
* Shows the details of a particular order on the account page
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.2.0
diff --git a/templates/notices/error.php b/templates/notices/error.php
index ae326565b44..ff1bdb06ce5 100644
--- a/templates/notices/error.php
+++ b/templates/notices/error.php
@@ -2,6 +2,14 @@
/**
* Show error messages
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
diff --git a/templates/notices/notice.php b/templates/notices/notice.php
index 11748e8fbda..dc9608631e1 100644
--- a/templates/notices/notice.php
+++ b/templates/notices/notice.php
@@ -2,6 +2,14 @@
/**
* Show messages
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
diff --git a/templates/notices/success.php b/templates/notices/success.php
index 7df1fbf23dc..72a2324cad0 100644
--- a/templates/notices/success.php
+++ b/templates/notices/success.php
@@ -2,6 +2,14 @@
/**
* Show messages
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
diff --git a/templates/order/form-tracking.php b/templates/order/form-tracking.php
index ba6b58f156a..0678f7efd07 100644
--- a/templates/order/form-tracking.php
+++ b/templates/order/form-tracking.php
@@ -2,6 +2,14 @@
/**
* Order tracking form
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
diff --git a/templates/order/order-again.php b/templates/order/order-again.php
index ea12d95c913..ee44e4c0c31 100644
--- a/templates/order/order-again.php
+++ b/templates/order/order-again.php
@@ -2,6 +2,14 @@
/**
* Order again button
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.3.0
diff --git a/templates/order/order-details-customer.php b/templates/order/order-details-customer.php
index d7e58d14141..5956ab72265 100644
--- a/templates/order/order-details-customer.php
+++ b/templates/order/order-details-customer.php
@@ -2,6 +2,14 @@
/**
* Order Customer Details
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.4.0
diff --git a/templates/order/order-details-item.php b/templates/order/order-details-item.php
index 050d0b9b7a9..53a7057e42d 100644
--- a/templates/order/order-details-item.php
+++ b/templates/order/order-details-item.php
@@ -2,6 +2,14 @@
/**
* Order Item Details
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.5.0
diff --git a/templates/order/order-details.php b/templates/order/order-details.php
index 4dc8f9fcbc3..02357f21a7c 100644
--- a/templates/order/order-details.php
+++ b/templates/order/order-details.php
@@ -2,6 +2,14 @@
/**
* Order details
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.5.0
diff --git a/templates/order/tracking.php b/templates/order/tracking.php
index ff17382a04a..06a42f07653 100644
--- a/templates/order/tracking.php
+++ b/templates/order/tracking.php
@@ -2,6 +2,14 @@
/**
* Order tracking
*
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
+ *
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.2.0
diff --git a/templates/product-searchform.php b/templates/product-searchform.php
index 31d676410e0..3e7a4745832 100644
--- a/templates/product-searchform.php
+++ b/templates/product-searchform.php
@@ -2,8 +2,14 @@
/**
* The template for displaying product search form.
*
- * Override this template by copying it to yourtheme/woocommerce/product-searchform.php
+ * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php
*
+ * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer)
+ * will need to copy the new files to your theme to maintain compatibility. We try to do this
+ * as little as possible, but it does happen. When this occurs the version of the template file will
+ * be bumped and the readme will list any important changes.
+ *
+ * @see http://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.5.0
diff --git a/templates/single-product-reviews.php b/templates/single-product-reviews.php
index 78aceb7c2d0..191aebf840c 100644
--- a/templates/single-product-reviews.php
+++ b/templates/single-product-reviews.php
@@ -1,7 +1,15 @@
Date: Thu, 1 Oct 2015 16:10:18 +0200
Subject: [PATCH 222/394] Register all styles on admin before call #8488
---
includes/admin/class-wc-admin-assets.php | 70 ++++++++++++++++--------
1 file changed, 48 insertions(+), 22 deletions(-)
diff --git a/includes/admin/class-wc-admin-assets.php b/includes/admin/class-wc-admin-assets.php
index 4b1bc411d36..95c0e7cc2e0 100644
--- a/includes/admin/class-wc-admin-assets.php
+++ b/includes/admin/class-wc-admin-assets.php
@@ -34,27 +34,35 @@ class WC_Admin_Assets {
public function admin_styles() {
global $wp_scripts;
- // Sitewide menu CSS
- wp_enqueue_style( 'woocommerce_admin_menu_styles', WC()->plugin_url() . '/assets/css/menu.css', array(), WC_VERSION );
+ $screen = get_current_screen();
+ $jquery_version = isset( $wp_scripts->registered['jquery-ui-core']->ver ) ? $wp_scripts->registered['jquery-ui-core']->ver : '1.9.2';
- $screen = get_current_screen();
+ // Register admin styles
+ wp_register_style( 'woocommerce_admin_menu_styles', WC()->plugin_url() . '/assets/css/menu.css', array(), WC_VERSION );
+ wp_register_style( 'woocommerce_admin_styles', WC()->plugin_url() . '/assets/css/admin.css', array(), WC_VERSION );
+ wp_register_style( 'jquery-ui-style', '//code.jquery.com/ui/' . $jquery_version . '/themes/smoothness/jquery-ui.css', array(), $jquery_version );
+ wp_register_style( 'woocommerce_admin_dashboard_styles', WC()->plugin_url() . '/assets/css/dashboard.css', array(), WC_VERSION );
+ wp_register_style( 'woocommerce_admin_print_reports_styles', WC()->plugin_url() . '/assets/css/reports-print.css', array(), WC_VERSION, 'print' );
+
+ // Sitewide menu CSS
+ wp_enqueue_style( 'woocommerce_admin_menu_styles' );
if ( in_array( $screen->id, wc_get_screen_ids() ) ) {
$jquery_version = isset( $wp_scripts->registered['jquery-ui-core']->ver ) ? $wp_scripts->registered['jquery-ui-core']->ver : '1.9.2';
// Admin styles for WC pages only
- wp_enqueue_style( 'woocommerce_admin_styles', WC()->plugin_url() . '/assets/css/admin.css', array(), WC_VERSION );
- wp_enqueue_style( 'jquery-ui-style', '//code.jquery.com/ui/' . $jquery_version . '/themes/smoothness/jquery-ui.css', array(), $jquery_version );
+ wp_enqueue_style( 'woocommerce_admin_styles' );
+ wp_enqueue_style( 'jquery-ui-style' );
wp_enqueue_style( 'wp-color-picker' );
}
if ( in_array( $screen->id, array( 'dashboard' ) ) ) {
- wp_enqueue_style( 'woocommerce_admin_dashboard_styles', WC()->plugin_url() . '/assets/css/dashboard.css', array(), WC_VERSION );
+ wp_enqueue_style( 'woocommerce_admin_dashboard_styles' );
}
if ( in_array( $screen->id, array( 'woocommerce_page_wc-reports', 'toplevel_page_wc-reports' ) ) ) {
- wp_enqueue_style( 'woocommerce_admin_print_reports_styles', WC()->plugin_url() . '/assets/css/reports-print.css', array(), WC_VERSION, 'print' );
+ wp_enqueue_style( 'woocommerce_admin_print_reports_styles' );
}
/**
@@ -91,6 +99,11 @@ class WC_Admin_Assets {
wp_register_script( 'qrcode', WC()->plugin_url() . '/assets/js/jquery-qrcode/jquery.qrcode' . $suffix . '.js', array( 'jquery' ), WC_VERSION );
wp_register_script( 'stupidtable', WC()->plugin_url() . '/assets/js/stupidtable/stupidtable' . $suffix . '.js', array( 'jquery' ), WC_VERSION );
wp_register_script( 'serializejson', WC()->plugin_url() . '/assets/js/jquery-serializejson/jquery.serializejson' . $suffix . '.js', array( 'jquery' ), '2.6.1' );
+ wp_register_script( 'flot', WC()->plugin_url() . '/assets/js/jquery-flot/jquery.flot' . $suffix . '.js', array( 'jquery' ), WC_VERSION );
+ wp_register_script( 'flot-resize', WC()->plugin_url() . '/assets/js/jquery-flot/jquery.flot.resize' . $suffix . '.js', array( 'jquery', 'flot' ), WC_VERSION );
+ wp_register_script( 'flot-time', WC()->plugin_url() . '/assets/js/jquery-flot/jquery.flot.time' . $suffix . '.js', array( 'jquery', 'flot' ), WC_VERSION );
+ wp_register_script( 'flot-pie', WC()->plugin_url() . '/assets/js/jquery-flot/jquery.flot.pie' . $suffix . '.js', array( 'jquery', 'flot' ), WC_VERSION );
+ wp_register_script( 'flot-stack', WC()->plugin_url() . '/assets/js/jquery-flot/jquery.flot.stack' . $suffix . '.js', array( 'jquery', 'flot' ), WC_VERSION );
// Chosen is @deprecated (2.3) in favour of select2, but is registered for backwards compat
wp_register_script( 'ajax-chosen', WC()->plugin_url() . '/assets/js/chosen/ajax-chosen.jquery' . $suffix . '.js', array( 'jquery', 'chosen' ), WC_VERSION );
@@ -153,14 +166,18 @@ class WC_Admin_Assets {
// Products
if ( in_array( $screen->id, array( 'edit-product' ) ) ) {
- wp_enqueue_script( 'woocommerce_quick-edit', WC()->plugin_url() . '/assets/js/admin/quick-edit' . $suffix . '.js', array( 'jquery' ), WC_VERSION );
+ wp_register_script( 'woocommerce_quick-edit', WC()->plugin_url() . '/assets/js/admin/quick-edit' . $suffix . '.js', array( 'jquery' ), WC_VERSION );
+ wp_enqueue_script( 'woocommerce_quick-edit' );
}
// Meta boxes
if ( in_array( $screen->id, array( 'product', 'edit-product' ) ) ) {
wp_enqueue_media();
- wp_enqueue_script( 'wc-admin-product-meta-boxes', WC()->plugin_url() . '/assets/js/admin/meta-boxes-product' . $suffix . '.js', array( 'wc-admin-meta-boxes' ), WC_VERSION );
- wp_enqueue_script( 'wc-admin-variation-meta-boxes', WC()->plugin_url() . '/assets/js/admin/meta-boxes-product-variation' . $suffix . '.js', array( 'wc-admin-meta-boxes', 'serializejson' ), WC_VERSION );
+ wp_register_script( 'wc-admin-product-meta-boxes', WC()->plugin_url() . '/assets/js/admin/meta-boxes-product' . $suffix . '.js', array( 'wc-admin-meta-boxes' ), WC_VERSION );
+ wp_register_script( 'wc-admin-variation-meta-boxes', WC()->plugin_url() . '/assets/js/admin/meta-boxes-product-variation' . $suffix . '.js', array( 'wc-admin-meta-boxes', 'serializejson' ), WC_VERSION );
+
+ wp_enqueue_script( 'wc-admin-product-meta-boxes' );
+ wp_enqueue_script( 'wc-admin-variation-meta-boxes' );
$params = array(
'post_id' => isset( $post->ID ) ? $post->ID : '',
@@ -196,8 +213,11 @@ class WC_Admin_Assets {
wp_localize_script( 'wc-admin-variation-meta-boxes', 'woocommerce_admin_meta_boxes_variations', $params );
}
if ( in_array( str_replace( 'edit-', '', $screen->id ), wc_get_order_types( 'order-meta-boxes' ) ) ) {
- wp_enqueue_script( 'wc-admin-order-meta-boxes', WC()->plugin_url() . '/assets/js/admin/meta-boxes-order' . $suffix . '.js', array( 'wc-admin-meta-boxes' ), WC_VERSION );
- wp_enqueue_script( 'wc-admin-order-meta-boxes-modal', WC()->plugin_url() . '/assets/js/admin/order-backbone-modal' . $suffix . '.js', array( 'underscore', 'backbone', 'wp-util', 'wc-admin-order-meta-boxes' ), WC_VERSION );
+ wp_register_script( 'wc-admin-order-meta-boxes', WC()->plugin_url() . '/assets/js/admin/meta-boxes-order' . $suffix . '.js', array( 'wc-admin-meta-boxes' ), WC_VERSION );
+ wp_register_script( 'wc-admin-order-meta-boxes-modal', WC()->plugin_url() . '/assets/js/admin/order-backbone-modal' . $suffix . '.js', array( 'underscore', 'backbone', 'wp-util', 'wc-admin-order-meta-boxes' ), WC_VERSION );
+
+ wp_enqueue_script( 'wc-admin-order-meta-boxes' );
+ wp_enqueue_script( 'wc-admin-order-meta-boxes-modal' );
$params = array(
'countries' => json_encode( array_merge( WC()->countries->get_allowed_country_states(), WC()->countries->get_shipping_country_states() ) ),
@@ -207,7 +227,8 @@ class WC_Admin_Assets {
wp_localize_script( 'wc-admin-order-meta-boxes', 'woocommerce_admin_meta_boxes_order', $params );
}
if ( in_array( $screen->id, array( 'shop_coupon', 'edit-shop_coupon' ) ) ) {
- wp_enqueue_script( 'wc-admin-coupon-meta-boxes', WC()->plugin_url() . '/assets/js/admin/meta-boxes-coupon' . $suffix . '.js', array( 'wc-admin-meta-boxes' ), WC_VERSION );
+ wp_register_script( 'wc-admin-coupon-meta-boxes', WC()->plugin_url() . '/assets/js/admin/meta-boxes-coupon' . $suffix . '.js', array( 'wc-admin-meta-boxes' ), WC_VERSION );
+ wp_enqueue_script( 'wc-admin-coupon-meta-boxes' );
}
if ( in_array( str_replace( 'edit-', '', $screen->id ), array_merge( array( 'shop_coupon', 'product' ), wc_get_order_types( 'order-meta-boxes' ) ) ) ) {
$params = array(
@@ -284,22 +305,26 @@ class WC_Admin_Assets {
// Product sorting - only when sorting by menu order on the products page
if ( current_user_can( 'edit_others_pages' ) && $screen->id == 'edit-product' && isset( $wp_query->query['orderby'] ) && $wp_query->query['orderby'] == 'menu_order title' ) {
- wp_enqueue_script( 'woocommerce_product_ordering', WC()->plugin_url() . '/assets/js/admin/product-ordering' . $suffix . '.js', array( 'jquery-ui-sortable' ), WC_VERSION, true );
+ wp_register_script( 'woocommerce_product_ordering', WC()->plugin_url() . '/assets/js/admin/product-ordering' . $suffix . '.js', array( 'jquery-ui-sortable' ), WC_VERSION, true );
+ wp_enqueue_script( 'woocommerce_product_ordering' );
}
// Reports Pages
if ( in_array( $screen->id, apply_filters( 'woocommerce_reports_screen_ids', array( $wc_screen_id . '_page_wc-reports', 'toplevel_page_wc-reports', 'dashboard' ) ) ) ) {
- wp_enqueue_script( 'wc-reports', WC()->plugin_url() . '/assets/js/admin/reports' . $suffix . '.js', array( 'jquery', 'jquery-ui-datepicker' ), WC_VERSION );
- wp_enqueue_script( 'flot', WC()->plugin_url() . '/assets/js/jquery-flot/jquery.flot' . $suffix . '.js', array( 'jquery' ), WC_VERSION );
- wp_enqueue_script( 'flot-resize', WC()->plugin_url() . '/assets/js/jquery-flot/jquery.flot.resize' . $suffix . '.js', array( 'jquery', 'flot' ), WC_VERSION );
- wp_enqueue_script( 'flot-time', WC()->plugin_url() . '/assets/js/jquery-flot/jquery.flot.time' . $suffix . '.js', array( 'jquery', 'flot' ), WC_VERSION );
- wp_enqueue_script( 'flot-pie', WC()->plugin_url() . '/assets/js/jquery-flot/jquery.flot.pie' . $suffix . '.js', array( 'jquery', 'flot' ), WC_VERSION );
- wp_enqueue_script( 'flot-stack', WC()->plugin_url() . '/assets/js/jquery-flot/jquery.flot.stack' . $suffix . '.js', array( 'jquery', 'flot' ), WC_VERSION );
+ wp_register_script( 'wc-reports', WC()->plugin_url() . '/assets/js/admin/reports' . $suffix . '.js', array( 'jquery', 'jquery-ui-datepicker' ), WC_VERSION );
+
+ wp_enqueue_script( 'wc-reports' );
+ wp_enqueue_script( 'flot' );
+ wp_enqueue_script( 'flot-resize' );
+ wp_enqueue_script( 'flot-time' );
+ wp_enqueue_script( 'flot-pie' );
+ wp_enqueue_script( 'flot-stack' );
}
// API settings
if ( $wc_screen_id . '_page_wc-settings' === $screen->id && isset( $_GET['section'] ) && 'keys' == $_GET['section'] ) {
- wp_enqueue_script( 'wc-api-keys', WC()->plugin_url() . '/assets/js/admin/api-keys' . $suffix . '.js', array( 'jquery', 'woocommerce_admin', 'underscore', 'backbone', 'wp-util', 'qrcode', 'zeroclipboard' ), WC_VERSION, true );
+ wp_register_script( 'wc-api-keys', WC()->plugin_url() . '/assets/js/admin/api-keys' . $suffix . '.js', array( 'jquery', 'woocommerce_admin', 'underscore', 'backbone', 'wp-util', 'qrcode', 'zeroclipboard' ), WC_VERSION, true );
+ wp_enqueue_script( 'wc-api-keys' );
wp_localize_script(
'wc-api-keys',
'woocommerce_admin_api_keys',
@@ -316,7 +341,8 @@ class WC_Admin_Assets {
}
if ( in_array( $screen->id, array( 'user-edit', 'profile' ) ) ) {
- wp_enqueue_script( 'wc-users', WC()->plugin_url() . '/assets/js/admin/users' . $suffix . '.js', array( 'jquery', 'wc-enhanced-select' ), WC_VERSION, true );
+ wp_register_script( 'wc-users', WC()->plugin_url() . '/assets/js/admin/users' . $suffix . '.js', array( 'jquery', 'wc-enhanced-select' ), WC_VERSION, true );
+ wp_enqueue_script( 'wc-users' );
wp_localize_script(
'wc-users',
'wc_users_params',
From 9de9f87c1744d01b281e589a784bd0b47f23d9ec Mon Sep 17 00:00:00 2001
From: James Koster
+ name;
+
+ if ( $category->count > 0 )
+ echo apply_filters( 'woocommerce_subcategory_count_html', ' (' . $category->count . ')', $category );
+ ?>
+
+
-
- name;
+ /**
+ * woocommerce_shop_loop_subcategory_title hook
+ *
+ * @hooked woocommerce_template_loop_subcategory_title - 10
+ */
+ do_action( 'woocommerce_shop_loop_subcategory_title', $category );
- if ( $category->count > 0 )
- echo apply_filters( 'woocommerce_subcategory_count_html', ' (' . $category->count . ')', $category );
- ?>
-
-
-
Date: Thu, 1 Oct 2015 16:15:29 +0200
Subject: [PATCH 224/394] Add username on marking order status
At the moment the status updates via the order list action buttons are
not linked to the correct user. Lets fix that :)
---
includes/class-wc-ajax.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/includes/class-wc-ajax.php b/includes/class-wc-ajax.php
index 62f47468f01..982530c0771 100644
--- a/includes/class-wc-ajax.php
+++ b/includes/class-wc-ajax.php
@@ -489,7 +489,7 @@ class WC_AJAX {
if ( wc_is_order_status( 'wc-' . $status ) && $order_id ) {
$order = wc_get_order( $order_id );
- $order->update_status( $status );
+ $order->update_status( $status, '', true );
do_action( 'woocommerce_order_edit_status', $order_id, $status );
}
}
From fe689d3d24310da3757c2d7a9d6379efa187edab Mon Sep 17 00:00:00 2001
From: James Koster
';
+ echo '';
}
/**
* Insert the opening anchor tag for products in the loop.
@@ -546,6 +546,18 @@ function woocommerce_template_loop_product_link_open() {
function woocommerce_template_loop_product_link_close() {
echo '';
}
+/**
+ * Insert the opening anchor tag for categories in the loop.
+ */
+function woocommerce_template_loop_category_link_open( $category ) {
+ echo '';
+}
+/**
+ * Insert the opening anchor tag for categories in the loop.
+ */
+function woocommerce_template_loop_category_link_close() {
+ echo '';
+}
if ( ! function_exists( 'woocommerce_taxonomy_archive_description' ) ) {
/**
diff --git a/includes/wc-template-hooks.php b/includes/wc-template-hooks.php
index 1f3dfe2c052..e1caba81714 100644
--- a/includes/wc-template-hooks.php
+++ b/includes/wc-template-hooks.php
@@ -95,7 +95,11 @@ add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_produ
add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 );
add_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10 );
add_action( 'woocommerce_shop_loop_item_title', 'woocommerce_template_loop_product_title', 10 );
-add_action( 'woocommerce_shop_loop_subcategory_title', 'woocommerce_template_loop_subcategory_title', 10 );
+
+add_action( 'woocommerce_before_subcategory', 'woocommerce_template_loop_category_link_open', 10 );
+add_action( 'woocommerce_shop_loop_subcategory_title', 'woocommerce_template_loop_category_title', 10 );
+add_action( 'woocommerce_after_subcategory', 'woocommerce_template_loop_category_link_close', 10 );
+
add_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 );
add_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 );
diff --git a/templates/content-product_cat.php b/templates/content-product_cat.php
index b2c2c0963f9..676e3f6eb70 100644
--- a/templates/content-product_cat.php
+++ b/templates/content-product_cat.php
@@ -35,32 +35,37 @@ if ( empty( $woocommerce_loop['columns'] ) ) {
$woocommerce_loop['loop'] ++;
?>
+ +
@@ -249,6 +301,19 @@ extract( $variation_data );
+ +