Rodrigo Primo
a7d2c5dd6e
Merge branch 'master' into update/use-post-author-for-customer-id
2018-04-03 15:13:07 -03:00
Rodrigo Primo
2ec74d2e15
Fix PHPCS violations in includes/admin/list-tables/class-wc-admin-list-table-orders.php
2018-03-06 15:08:30 -03:00
Mike Jolley
c66d676680
Simplify date check
2018-02-20 11:21:00 +00:00
Caleb Burks
3d7f674c54
Show full date for future orders
2018-02-19 21:25:03 -05:00
claudiulodro
af5cb5df93
Resolve merge conflicts
2018-02-19 10:45:06 -08:00
Mike Jolley
e9bc9d3b1f
Indentation
2018-02-19 12:41:55 +00:00
Remi Corson
ad240278bd
Do not display H2 note if no note
...
This will make the note title not appear if no note is defined. However, some CSS styling is needed as padding was originally added via .wc-order-preview-address wichi was containing the note section.
2018-02-16 15:24:31 +01:00
Remi Corson
94802c7a8b
Fix #18995
...
Fixes #18995 by moving the note section outside the addresses container and unlink it from the shipping method conditional statement.
2018-02-16 12:12:15 +01:00
Mike Jolley
65278efd44
Allow modal to be wider and fix button wrapping
2018-02-15 12:46:47 +00:00
Mike Jolley
00c43e76c1
Tweak customer text
2018-02-05 14:47:12 +00:00
Manos Psychogyiopoulos
e77ec2444e
Add woocommerce_admin_html_order_preview_item_class filter
...
For parity with woocommerce_admin_html_order_item_class filter in html-order-item.php view.
2018-01-18 16:57:51 +02:00
Rodrigo Primo
7f43c39f2f
Bump WC version to 3.4.0
2018-01-09 15:42:13 -02:00
Rodrigo Primo
bf5c6f17a7
phpcs fixes
2018-01-09 15:42:08 -02:00
Rodrigo Primo
9de8478b42
Merge branch 'master' into update/use-post-author-for-customer-id
2018-01-09 15:21:12 -02:00
Beka Rice
f0a33bfa79
[WC 3.3] Fix fatal if gateway is deactivated
2017-12-13 13:59:07 -05:00
Rodrigo Primo
41af89f392
Merge branch 'master' into update/use-post-author-for-customer-id
2017-12-13 10:22:55 -02:00
Rodrigo Primo
e5160b28a9
Manually fix some PHPCS violations
2017-12-13 09:41:34 -02:00
Rodrigo Primo
5915e6e892
Fix WPCS violations automatically using phpcbf
2017-12-11 14:24:54 -02:00
Rodrigo Primo
fc43bde6f8
Replace PHP >= 5.4 syntax with PHP 5.2 alternative
...
Commit 8f37ea33ed
added the following line that works only on PHP >= 5.4 as function array dereferencing is not present in PHP version 5.3 or earlier. This commit fixes it by replacing that line with a alternative that is compatible with PHP >= 5.2.
6ecc3bc442/includes/admin/list-tables/class-wc-admin-list-table-orders.php (L189)
2017-12-11 11:20:42 -02:00
Rodrigo Primo
6ecc3bc442
Use post_author field instead of post meta in orders admin page
...
This commit changes the query used to get a list of orders in the orders admin page to use post_author field instead of the _customer_user post meta when filtering orders by customer.
Testing this change on a local WooCommerce install with about 2.5 million entries in the wp_posts table and about 100 million entries in the wp_postmeta table I got the following results:
- The original query using _customer_user took 28 seconds to run
- The new query using post_author took 0.0008 seconds to run
2017-12-11 10:24:19 -02:00
Mike Jolley
5e51af9d2c
Fix white space in order actions
2017-12-07 15:50:27 +00:00
Mike Jolley
d8921de735
min
2017-12-04 13:45:52 +00:00
Shiva Poudel
a0215d85da
Txn clickable ( #17878 )
...
* Make transactional link clickable
* Oops, fix in modal tmpl
2017-11-23 10:18:23 +00:00
Mike Jolley
f0cbaf08b1
Clickable transaction IDs
2017-11-22 16:31:27 +00:00
Mike Jolley
29fed057af
Mobile styling
2017-11-22 16:28:11 +00:00
Mike Jolley
b3e7260c95
Improve styling of order actions columns
2017-11-22 16:14:30 +00:00
Mike Jolley
98bebd14f2
Hooks for columns and preview list tables
2017-11-21 16:22:43 +00:00
Mike Jolley
830ef8ed73
Change status action buttons
2017-11-20 22:43:37 +00:00
Mike Jolley
86a1f11dd3
Hide actions by default so users have full control over it.
2017-11-20 18:10:15 +00:00
Mike Jolley
79250f274e
Switch order items placements
2017-11-20 17:24:00 +00:00
Mike Jolley
812e8928a1
Add methods back to billing/shipping columns
2017-11-20 17:06:08 +00:00
Mike Jolley
d74d79471f
Don't hide columns based on view width
2017-11-20 15:51:25 +00:00
Claudio Sanches
7c955591d7
Introduces _start and _end hooks into order preview template
2017-11-17 18:30:01 -02:00
Claudio Sanches
563896931e
Introduced hooks to allow custom content into order preview
2017-11-16 18:48:47 -02:00
Mike Jolley
56d86aee96
trashed styling
2017-11-15 13:41:20 +00:00
Mike Jolley
dea454c88e
Clickable elements
2017-11-15 12:51:14 +00:00
Mike Jolley
da004f3229
fix edit link
2017-11-15 12:25:44 +00:00
Shiva Poudel
aeb07b5fd8
Tweak - Order number to be sortable column
...
CC @mikejolley
2017-11-05 21:37:42 +05:45
Mike Jolley
2eb740e38a
Make address columns smaller
2017-11-03 16:12:42 +00:00
Mike Jolley
8f37ea33ed
Refactored into list table classes
2017-11-03 16:10:32 +00:00