Commit Graph

18254 Commits

Author SHA1 Message Date
Mike Jolley 845aa374bf Merge pull request #12150 from Dartui/patch-1
Added address type to filter
2016-10-21 15:28:05 +01:00
Krzysztof Grabania cb059f5af0 Added address type to filter
It will allow to modify address fields only for selected address type
2016-10-21 15:12:45 +02:00
Rasmus 58eaa70424 Only print js for free shipping fields in admin
Since WC_Shipping_Method->get_option() runs $this->get_instance_form_fields it prints out the JS even when getting the option outsite admin.
2016-10-21 12:38:35 +02:00
Mike Jolley 500c68d729 [2.6] Use FLOOR and CEIL to get price filter values
Fixes the issue where max price is capped at 99. Fixes #12145
2016-10-21 08:58:57 +01:00
Justin Shreve b6ec7367c7 Merge pull request #12143 from woocommerce/product-crud-price-html
[Product CRUD] Product crud price html
2016-10-20 09:33:13 -07:00
Mike Jolley 49b40ae4bc Price handling 2016-10-20 17:15:03 +01:00
Mike Jolley 52aebdbc0d wc_get_price_to_display 2016-10-20 16:40:17 +01:00
Mike Jolley b13ef43498 get_price_including_tax/excluding_tax functions 2016-10-20 16:32:16 +01:00
Mike Jolley 53a4ca979f Merge pull request #12141 from woocommerce/product-crud-abstract
[Product CRUD] Refactoring the abstract
2016-10-20 16:08:51 +01:00
Mike Jolley 096d2e4edf missing $this 2016-10-20 15:13:51 +01:00
Mike Jolley b5b7ea48f3 Put back review functions (still todo) 2016-10-20 15:08:49 +01:00
Mike Jolley 9a8681a713 Rename method 2016-10-20 15:07:50 +01:00
Mike Jolley b6deb23e5c Tidy/add todos 2016-10-20 15:06:44 +01:00
Mike Jolley 61a866f8f0 Availability html 2016-10-20 15:02:25 +01:00
Mike Jolley 0520f73a6b Moving and refactoring methods 2016-10-20 12:42:24 +01:00
Mike Jolley 4bddeee695 Fix shipping sorting display 2016-10-20 10:58:44 +01:00
Justin Shreve d66df24e9c Merge pull request #12137 from woocommerce/fix/update_post_meta-id
Remove the $id parameter from CRUD update_post_meta & reduce dulpicate code
2016-10-19 11:34:04 -07:00
Mike Jolley 73408342bc Correct $value in API 2016-10-19 17:16:13 +01:00
Claudio Sanches d75daa23f0 Merge pull request #12134 from Dartui/patch-1
Added polish postcode validation
2016-10-19 13:24:41 -02:00
Justin Shreve bff6f5f2ad Remove the $id parameter from Customer & Coupon CRUD's update_post_meta fucntion.
This is a private function that will only interact with one specific object ($this->get_id()).
2016-10-19 08:15:49 -07:00
Claudio Sanches bcc8a3ed06 Merge pull request #12135 from egill/master
Fix currency symbol for Icelandic Krona
2016-10-19 12:23:06 -02:00
Egill R. Erlendsson 7cbf06f93a Fix currency symbol for Icelandic Krona
The currency symbol for Icelandic Krona is kr, not Kr. This patch fixes
the woocommerce_currency_symbol for ISK.
2016-10-19 13:49:20 +00:00
Krzysztof Grabania f73ab637fc Added polish postcode validation 2016-10-19 15:48:13 +02:00
Mike Jolley ec65084451 [2.6] Send processing email on on-hold to processing transition.
Closes #12117
2016-10-19 12:55:22 +01:00
Mike Jolley 81778555c8 Use order statuses when getting refunds in api.
Closes #12102

@claudiosmweb
2016-10-19 12:53:49 +01:00
Mike Jolley 9400962c00 [2.6] Fix account email check
Fixes #12126
2016-10-19 12:45:50 +01:00
Mike Jolley 62cda06e34 [2.6] Only affect products
Fixes #12118
2016-10-19 11:28:46 +01:00
Mike Jolley 958b97a578 Merge pull request #12129 from shivapoudel/plugin-review
Update wp.org plugin review rating link
2016-10-19 11:14:21 +01:00
Mike Jolley 05b0b34c96 Merge pull request #12123 from woocommerce/product-crud-grouped
[Product CRUD] Grouped products
2016-10-19 11:13:23 +01:00
Mike Jolley 2a5a9faa61 Spacing in query 2016-10-19 11:13:08 +01:00
Shiva Poudel 64c6ec8537 Update wp.org plugin review rating link 2016-10-19 11:29:20 +05:45
Mike Jolley ad4e99c3e5 Merge pull request #12101 from woocommerce/product-crud-related-products
[Product CRUD] Product crud related products
2016-10-18 19:08:59 +01:00
Mike Jolley 95de56d402 Use get_upsell_ids 2016-10-18 19:08:40 +01:00
Mike Jolley d705f4ceff Move children to meta and update test 2016-10-18 19:05:33 +01:00
Mike Jolley 78931220b4 Merge branch 'product-crud' into product-crud-grouped
# Conflicts:
#	tests/framework/helpers/class-wc-helper-product.php
2016-10-18 18:58:08 +01:00
Mike Jolley 2819fadd7f Tests 2016-10-18 18:38:48 +01:00
Mike Jolley a8b7ee6929 Grouped product class 2016-10-18 18:38:42 +01:00
Justin Shreve cdaa40367a Merge pull request #12121 from woocommerce/product-crud-external-type
[Product CRUD] External Products
2016-10-18 10:24:46 -07:00
Justin Shreve c4fb1db46b _virtual meta should be 'no', not taxable, in product unit test helper 2016-10-18 10:23:20 -07:00
Justin Shreve b311caa1bc External Product CRUD 2016-10-18 09:59:02 -07:00
Mike Jolley c2a67803fc Made abstract function useful 2016-10-18 17:13:12 +01:00
Mike Jolley 2fb0dd50d5 Merge pull request #12109 from woocommerce/product-crud-update-fields
[Product CRUD] Full Creation & Updating (Abstract)
2016-10-18 16:57:50 +01:00
Justin Shreve 6e69b0d924 Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function 2016-10-18 07:47:28 -07:00
Mike Jolley 85f22f9f11 Update coupon on pending order
Closes #12096
2016-10-18 12:27:56 +01:00
Claudio Sanches f218b6cfd9 [REST API] Allow filter by on sale products, closes #12093 (#12105) 2016-10-18 11:40:13 +01:00
Dwain Maralack c27fd5c052 Check if the chosen method is set on the package rates. There are rare instances where store manager may disable a shipping option while the users session is still in progress. This results in an unexpected errors and checkout page hanging. Double checking that the chosen method is accessable on the package avoids the error. (#12111) 2016-10-18 11:38:44 +01:00
Mike Jolley 560513cde7 Bump template version 2016-10-18 11:19:35 +01:00
Claudio Sanches 10ba5b5978 Merge pull request #12106 from woocommerce/improve-product-filters
[REST API] Better sanitization for product taxonomy filters
2016-10-17 19:04:13 -02:00
Justin Shreve fde97df50f Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it. 2016-10-17 13:30:05 -07:00
Claudio Sanches ee061f98ec [REST API] Better sanitization for product taxonomy filters 2016-10-17 14:39:02 -02:00