Justin Shreve
91ddc7ecbd
Remove the download type input from the product data metabox for downloadable products. ( #12221 )
2016-10-31 15:12:46 +00:00
Mike Jolley
5855170c5a
[Product CRUD] Product crud admin use getters ( #12196 )
...
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
2016-10-27 14:08:16 +01:00
Mike Jolley
38703f1907
Product crud admin save routine ( #12174 )
...
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
2016-10-26 18:02:50 +01:00
Mike Jolley
b1dbfd9c5b
[Product CRUD] Grouped Handling ( #12151 )
...
* Handle grouped product saving
* Update routine
2016-10-24 09:19:29 +01:00
Justin Shreve
2cc04663ee
Don't run expiry date through date() if it isn't set. Also don't do a string comparison check on an integer.
2016-09-30 14:16:41 -07:00
Claudio Sanches
be029374ce
Fixed coding standards
2016-09-13 18:24:21 -03:00
Aristeides Stathopoulos
9668247b95
WordPress.PHP.YodaConditions.NotYoda
2016-09-09 03:14:28 +03:00
Mike Jolley
311c540662
Merge pull request #11833 from aristath/master
...
Coding Standards (2nd pass)
2016-09-07 10:14:17 +01:00
Mike Jolley
cf59524dd7
Fix order total race condition in CRUD
2016-09-07 09:28:11 +01:00
Mike Jolley
0c78ed7f9b
[2.6] Start sale on variation save if applicable
...
Fixes #11804
2016-09-06 11:37:20 +01:00
Aristeides Stathopoulos
6ac7f03241
Generic.Formatting.DisallowMultipleStatements.SameLine
2016-09-02 06:40:52 +03:00
Aristeides Stathopoulos
cc0b29ccf4
PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket
2016-09-02 05:00:46 +03:00
Aristeides Stathopoulos
d4e3faf014
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos
0516e96843
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos
e07511502d
Additional coding-standards fixes.
2016-09-02 03:26:24 +03:00
Aristeides Stathopoulos
fde1037757
fix failing tests.
2016-09-01 23:50:14 +03:00
Mike Jolley
402d0ff077
Merge branch 'master' into pr/11797
...
# Conflicts:
# includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
# includes/api/class-wc-rest-coupons-controller.php
# includes/class-wc-coupon.php
# tests/unit-tests/api/coupons.php
# tests/unit-tests/coupon/crud.php
2016-09-01 11:43:31 +01:00
corsonr
8cb17c1923
branch conflict fix
2016-08-30 14:30:05 +02:00
Mike Jolley
df35845d4d
wc_get_coupon_id_by_code
2016-08-30 11:43:53 +01:00
Aristeides Stathopoulos
72696901f3
WordPress.WhiteSpace.OperatorSpacing.SpacingAfter
2016-08-27 09:14:06 +03:00
Aristeides Stathopoulos
f2730eea02
WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd
2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos
a19848978a
WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis
2016-08-27 07:47:24 +03:00
Aristeides Stathopoulos
82f3cc221e
WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis
2016-08-27 07:23:02 +03:00
Aristeides Stathopoulos
56fd004a72
WordPress.Arrays.ArrayDeclaration.FirstIndexNoNewline
2016-08-27 06:56:09 +03:00
Aristeides Stathopoulos
55075ce3a4
WordPress.Arrays.ArrayDeclaration.IndexNoNewline
2016-08-27 06:35:20 +03:00
Aristeides Stathopoulos
6c30f84fa2
WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys
2016-08-27 06:23:21 +03:00
Aristeides Stathopoulos
ec8a0b288b
PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast
2016-08-27 05:08:49 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Mike Jolley
ed01282340
Made data match schema
2016-08-26 15:20:44 +01:00
Mike Jolley
210763e536
use CRUD in admin
2016-08-26 14:50:17 +01:00
Mike Jolley
7cf75f5085
Remove use of deprecated functions
2016-08-22 16:57:54 +01:00
Mike Jolley
c88984eb0e
Replace add methods
2016-08-22 16:48:19 +01:00
Mike Jolley
fdd7e797ba
API get refunds
2016-08-22 13:15:15 +01:00
Mike Jolley
9e45927803
Create refund with crud
2016-08-22 13:15:15 +01:00
Mike Jolley
190cd0bf86
Remove direct access of item props in admin
2016-08-19 15:08:00 +01:00
Mike Jolley
21ad196297
Use CRUD in wc_save_order_items
2016-08-19 13:43:33 +01:00
Mike Jolley
5afac69f10
Fix write context errors
2016-08-15 17:50:02 +01:00
Mike Jolley
eb45acf0d5
[2.6] Use method title in admin shipping dropdown
...
fixes #11678
2016-08-12 14:23:59 +01:00
Mike Jolley
a8759fc0aa
Meta/product handling
2016-08-08 16:20:15 +01:00
Mike Jolley
c3aa933ad2
coupon
2016-08-08 15:25:22 +01:00
Mike Jolley
75975de58a
Item meta
2016-08-08 15:22:00 +01:00
Mike Jolley
9bbf5df1fd
Billing/shipping details
2016-08-08 14:49:53 +01:00
Mike Jolley
6bf05396c2
date_paid
2016-08-05 16:14:30 +01:00
Mike Jolley
0a0330bac0
customer_user
2016-08-05 16:09:40 +01:00
Mike Jolley
7685587b22
payment_method
2016-08-05 16:04:41 +01:00
Mike Jolley
39b4831e95
get_id
2016-08-05 15:56:23 +01:00
Mike Jolley
9181c107a8
get_currency
2016-08-05 15:49:17 +01:00
Mike Jolley
66c8d6cdcf
Merge pull request #11496 from franticpsyx/order_item_class_args
...
[2.6] Add $order arg to order_item_class filters
2016-07-22 13:58:58 +02:00
James Koster
02e08e071e
Use number inputs for hour/minute fields on edit order screen. closes #11494
2016-07-22 12:19:18 +01:00
Manos Psychogyiopoulos
0173447cf9
add $order arg to woocommerce_admin_order_item_class and woocommerce_admin_html_order_item_class filters
2016-07-21 11:50:45 +03:00