Commit Graph

12051 Commits

Author SHA1 Message Date
Claudio Sanches 70e0ab857e Implement attributes functions to admin 2017-08-07 22:34:20 -03:00
Claudio Sanches a3a3d7c242 Initial implementation of product attribute helper functions 2017-08-07 22:33:57 -03:00
Claudio Sanches 53ea3c8b96 Merge branch 'master' into fix/16347 2017-08-07 16:36:36 -03:00
Claudiu Lodromanean 0286023878 Merge pull request #16367 from woocommerce/fix/16287
Fix variable stock status setting by using CRUD methods
2017-08-07 11:31:10 -07:00
Claudiu Lodromanean dd094088b0 Merge pull request #16336 from woocommerce/fix/16241
Only return tax classes if product is taxable.
2017-08-07 10:02:02 -07:00
Mike Jolley 7a829036c2 Fix tests 2017-08-07 17:49:46 +01:00
Mike Jolley f20081c33c Merge pull request #16334 from woocommerce/fix/16253
Add precision to price filter
2017-08-07 17:19:44 +01:00
Mike Jolley 299fcc327c Merge remote-tracking branch 'origin/master'
# Conflicts:
#	includes/class-wc-cache-helper.php
2017-08-07 17:11:26 +01:00
Mike Jolley 622b4b35d6 Remove white space 2017-08-07 17:10:36 +01:00
Mike Jolley baa5da8e6e Merge branch 'master' into pr/16301 2017-08-07 17:10:18 +01:00
Claudiu Lodromanean f7ef7588b9 Merge pull request #16360 from woocommerce/fix/16337
nocache headers during form actions
2017-08-07 08:59:34 -07:00
Mike Jolley 8db31eefe2 Fix variable stock status setting by using CRUD methods
Closes #16287
2017-08-07 15:16:38 +01:00
Boro Sitnikovski 9022261f13 Fix cache issue.
From discussion with @mikejolley:

The class is not doing its job of invaliding cache after adding a line item.
At any point (action hook), a 3pd can call `get_items` and it will cache the items for that particular order so any subsequent calls to it will return bad data.
Unless you ADD items, `get_items` will return good data.
So adding items in this case is not invalidating, so that's the bug.

Relates to: https://github.com/woocommerce/woocommerce-bookings/issues/1310
2017-08-07 15:29:17 +02:00
Mike Jolley d46988b6a6 Improve add payment method logic 2017-08-07 12:39:16 +01:00
Mike Jolley 847e4859f8 Include add_payment_method in gateway abstract 2017-08-07 12:38:50 +01:00
Mike Jolley 862f67d98b wc_get_var helper method 2017-08-07 11:02:19 +01:00
Mike Jolley e2839d3c09 Add nocache_headers to early update actions 2017-08-07 11:02:02 +01:00
Mike Jolley af1dce3544 Set nocache constants on all nocache_headers 2017-08-07 11:01:38 +01:00
Boro Sitnikovski d1dc2a4390 Fix fatal error on deleting refunded order 2017-08-07 11:38:10 +02:00
Mike Jolley 2b0a672ba7 Merge pull request #16348 from jamesckemp/patch-6
Add sorting ID and menu orders to sorting action
2017-08-06 20:36:34 +01:00
James Kemp 8ebe8a1720 Add sorting ID and menu orders to sorting action 2017-08-05 12:05:47 +01:00
claudiulodro 48f03b15ed Use correct server variable 2017-08-04 14:27:22 -07:00
Claudiu Lodromanean ab543148ff Merge pull request #16335 from woocommerce/fix/16309
Add shortcode to description output in structured data
2017-08-03 11:09:16 -07:00
Mike Jolley 958bd092ba Add date/time to hover.
Closes #16331
2017-08-03 08:48:17 +02:00
Mike Jolley 6af275da6e Only return tax classes if product is taxable.
Fixes #16241
2017-08-03 08:44:02 +02:00
Mike Jolley 827083c051 Add shortcode to description output in structured data
Closes #16309
2017-08-03 08:28:35 +02:00
Mike Jolley 52b10d8be4 Merge pull request #16313 from opportus/master
Fixes #16010
2017-08-03 08:24:12 +02:00
Mike Jolley d79ebf7a2f Typo in tag text, fixes #16332 2017-08-03 08:19:57 +02:00
Mike Jolley 39af6fbe94 Add precision to price filter
Closes #16253
2017-08-03 08:17:23 +02:00
Mike Jolley cbb8d48f5f Merge pull request #16291 from woocommerce/improvement/13645
Product search helpers.
2017-08-03 08:03:37 +02:00
claudiulodro 91f1d41842 Clarify logic 2017-08-01 13:21:23 -07:00
claudiulodro 5e8f957f3a Formatting 2017-08-01 12:52:12 -07:00
Claudiu Lodromanean 46090bca0d Merge pull request #16302 from bekarice/fix/deprecation-notice-product-type
Fix PHP deprecation notice
2017-08-01 10:55:48 -07:00
opportus f448c692ca Fixes #16010
Allows single SD item having a `@context`
2017-08-01 14:32:40 +02:00
Mike Jolley 4a0ea16eda Defer re-calc when adding grouped products to cart
Closes #16235
2017-08-01 13:36:46 +02:00
Beka Rice e78b4d4d1e Fix PHP deprecation notice 2017-07-31 17:16:08 -04:00
Marian Kadanka 6183a840db Fix product category archives not being cached due to inconsistency
Wordpress function get_queried_object_id() returns conflicting IDs
for pages and product category archives which in current
implementation results in product category archives possibly not
being cached if their tag ID conflicts with Woocommerce's special
page IDs - cart, checkout, etc.

Let's switch to implementation using is_page() to address this.
2017-07-31 20:47:19 +02:00
claudiulodro e1fad0d7eb Bring up to date with master 2017-07-28 14:27:19 -07:00
claudiulodro d9c2b2cdea Cleanup 2017-07-28 13:38:12 -07:00
claudiulodro 8dc0641149 Remove uneeded parse args 2017-07-28 13:31:53 -07:00
claudiulodro b5e5f035fb Clean up 2017-07-28 13:27:19 -07:00
Will G 3a6a8872f3 Fix script 'async' property typo in WP_Admin_Help 2017-07-28 16:05:06 -04:00
claudiulodro e335724c50 Finalize product query 2017-07-28 11:59:44 -07:00
Mike Jolley decda1edf6 Merge pull request #16168 from webspecnick/add-filter-to-export-product-args
Add a filter to arguments passed to wc_get_products during prepare_data_to_export()
2017-07-27 15:58:39 +01:00
Mike Jolley f47bb39a06 Merge pull request #15479 from woocommerce/add/poc-no-managing-meta-directly
Proof of concept to error when internal meta props are accessed directly
2017-07-27 15:54:24 +01:00
Mike Jolley ad2e408a66 Merge pull request #16267 from Valks/patch-1
Fix incorrect access level in class-wc-product-variation.php
2017-07-27 08:31:13 +01:00
Claudiu Lodromanean b10d61eef3 Merge pull request #16219 from Nabesaka/master
Output custom attributes to radio inputs
2017-07-26 08:15:16 -07:00
Claudiu Lodromanean 2900ceca30 Merge pull request #16213 from woocommerce/fix/16206
Remove duplicate inherited method
2017-07-26 08:05:27 -07:00
Valks dd857d25eb Update class-wc-product-variation.php
The variable $post_type is incorrectly public, must be protected.
2017-07-27 00:00:21 +10:00
Claudio Sanches 0f58d0cfc1 Merge pull request #16214 from woocommerce/fix/16179
Ensure we have a http URL for file path replacements
2017-07-26 01:21:58 -03:00