Peter Fabian
ab4630111b
Fixed posts query to include parent products if variations have the shipping class assigned.
2018-09-05 11:35:05 +02:00
Claudiu Lodromanean
87acfa731d
Merge pull request #20260 from leglesslizard/master
...
Set low stock notification threshold per product
2018-07-24 10:23:15 -07:00
Joey Gilham
58cdd7dad2
Merge branch 'master' into master
2018-07-03 15:41:15 +01:00
Mike Jolley
46141595d4
Remove term usage
2018-06-28 16:39:07 +01:00
claudiulodro
9fa038e1ab
phpcs
2018-06-26 13:36:13 -07:00
claudiulodro
59356aa644
Make it easier to customize product filters
2018-06-26 13:31:57 -07:00
Joey
cd8416122f
removed low stock options for variations, and addressed changes
2018-06-19 12:40:27 +01:00
Rodrigo Primo
43d22a2349
Merge branch 'master' into update/use-post-author-for-customer-id
2018-06-18 15:17:19 -03:00
Mike Jolley
5e6405b650
Merge branch 'master' into update/13359
2018-06-15 15:12:12 +01:00
Mike Jolley
cca7972d8f
Initialize payment gateways before running bulk actions
2018-06-12 13:14:09 +01:00
Rodrigo Primo
dd8bf8b522
Merge branch 'master' into update/use-post-author-for-customer-id
2018-06-11 10:44:14 -03:00
Mike Jolley
52854b7690
Add qty to order via modal, include stock qty in formatted name display for reference
2018-06-08 16:18:32 +01:00
Mike Jolley
6b8cd9661f
exclude new meta data from admin screens
2018-06-08 12:18:15 +01:00
Ewout Fernhout
5f57e3b524
add filter for bulk action IDs
2018-06-05 12:07:35 +02:00
Ewout Fernhout
2ab47706a7
apply bulk actions oldest to newest
2018-06-01 12:40:22 +02:00
Mike Jolley
25d025c01e
Show empty terms in admin dropdown
2018-05-31 11:24:23 +01:00
Joey
b08b55a651
added changes for low stock notifications per product
2018-05-27 05:40:58 +01:00
Rodrigo Primo
c49059ce7a
Merge branch 'master' into update/use-post-author-for-customer-id
2018-05-08 17:34:09 -03:00
Mike Jolley
9069357a84
Fixes blank state call to action styling
2018-05-03 16:09:35 +01:00
Rodrigo Primo
49855b4676
Fix: product type filter should show selected product type
...
Since admin lists were refactored in 8f37ea33ed
, a bug was introduced that prevented the "Filter by product type" select box in the products list page in the admin from showing the selected product type when filtering by "Downloadable" products. Before marking this option as selected, the code was checking if `$wp_query->query['product_type']` is set. This check made sense before the refactor (see 8f37ea33ed (diff-a116210e8adc50b0853846ba935daaadL1544)
) but it doesn't make sense anymore. In the new method, `$wp_query` is not even used.
2018-04-26 10:02:44 -03:00
claudiulodro
f9e45bea91
Bring up-to-date with master and resolve merge conflicts
2018-04-17 13:27:39 -07:00
Rodrigo Primo
ccf10f6ab2
Punt to WC version 3.5.0
2018-04-17 11:12:46 -03:00
Rodrigo Primo
a7d2c5dd6e
Merge branch 'master' into update/use-post-author-for-customer-id
2018-04-03 15:13:07 -03:00
Claudio Sanches
e718bdd11c
Merge pull request #19192 from nishitlangaliya/Issue-18990
...
Fixes- Admin - removed product type column
2018-03-28 15:37:57 -03:00
Mike Jolley
7a568e2f68
Personal data removal experiment
2018-03-16 13:53:18 +00:00
Mike Jolley
906aa97aea
Merge branch 'master' into update/19061
2018-03-12 19:28:53 +00:00
Mike Jolley
b0a4502e0f
Unslash quotes
2018-03-12 19:11:48 +00:00
Rodrigo Primo
af47f7b0b2
Fix PHPCS violations in includes/admin/list-tables/class-wc-admin-list-table-products.php
2018-03-06 15:08:46 -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
Rodrigo Primo
d2bfa5e6c5
Fix PHPCS violations in includes/admin/list-tables/class-wc-admin-list-table-coupons.php
2018-03-06 15:08:16 -03:00
Rodrigo Primo
f4c17e20c7
Fix PHPCS violations in includes/admin/list-tables/abstract-class-wc-admin-list-table.php
2018-03-06 15:08:00 -03:00
Rodrigo Primo
23b69eba53
Use phpcbf to fix coding standard violations in includes/admin
...
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
nishitlangaliya
11f329b500
Fixes- Admin - removed product type column
2018-03-01 16:43:13 +05:30
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
654e7db840
Use empty check for search
2018-02-14 18:09:47 +00:00
Mike Jolley
7dd9c7fb0e
Added ability to search for all post statuses
2018-02-08 12:53:39 +00:00
Gerhard Potgieter
df0970dd07
Add search label when searching via product crud helper.
2018-02-07 11:02:50 +02:00
Gerhard Potgieter
f4acfc9999
Unset the s param when doing a datastore search as it will cause a double search.
2018-02-07 10:44:49 +02:00
Mike Jolley
00c43e76c1
Tweak customer text
2018-02-05 14:47:12 +00:00
Claudiu Lodromanean
8579c1fecc
Merge pull request #18782 from woocommerce/update/18757
...
Use CRUD search helper in admin products table
2018-02-02 09:59:49 -08:00
Claudio Sanches
2321e8bdc1
Properly deprecated WC_Admin_List_Table_Products->sku_search()
2018-02-02 14:24:18 -02:00
Claudio Sanches
fceca66770
Fixed coding standards
2018-02-02 14:09:47 -02:00
Claudio Sanches
bb8f4f0139
Fixed translators notation
2018-02-02 14:05:49 -02:00
Mike Jolley
59d38b5a85
Handle no results
2018-02-02 15:13:37 +00:00
Mike Jolley
6047322c52
Rather than query products by a SKU, use the CRUD search helper.
2018-02-02 15:11:23 +00:00
Claudio Sanches
36963afe99
Make "ID: " translatable
...
Ref #18738
2018-02-01 19:09:04 -02:00
Mike Jolley
98b24fdc31
Include parent ID when searching for SKUs
2018-02-01 17:31:40 +00:00
Caleb Burks
9aa4d81084
Add product ID to row actions
2018-02-01 01:01:49 -05:00
Claudiu Lodromanean
ee2a562cf0
Merge pull request #18517 from woocommerce/fix/18499
...
Fix undefined var.
2018-01-18 09:50:53 -08:00
Mike Jolley
c618895ece
Fix undefined var. Closes #18499
2018-01-18 15:25:27 +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
Andrew Minion
785641ef3c
update link to match rest of codebase
2018-01-02 14:05:47 -05:00
Andrew Minion
40d9efc4b8
add button for creating coupons to coupon blank state
...
Makes it more user-friendly for someone unfamiliar with WordPress/WooCommerce, and even for those who are familiar and don’t immediately see the typical “Add Coupon” button in the top left corner by the header.
2017-12-27 11:53:20 -05: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
0a9485c465
Merge branch 'master' into feature/11259
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# includes/admin/list-tables/class-wc-admin-list-table-products.php
# includes/class-wc-install.php
# includes/wc-update-functions.php
2017-12-04 14:14:03 +00:00
Mike Jolley
d8921de735
min
2017-12-04 13:45:52 +00:00
Mike Jolley
5d42a64b73
Merge branch 'master' into update/order-screen-refinements
2017-12-04 13:44:27 +00:00
Gerhard Potgieter
3ed021241f
Merge pull request #17862 from davefx/patch-6
...
Add filters to mark terms in product list
2017-12-04 10:39:53 +02:00
David Marín
7660767aa7
Adding $termlist and $terms as parameters for the new filter
2017-12-04 09:34:10 +01:00
David Marín
12bc63d64f
Fix space before parenthesis
2017-11-23 20:01:41 +01:00
David Marín
ab6528e844
Update class-wc-admin-list-table-products.php
2017-11-23 19:59:44 +01:00
David Marín
e21631925a
Swapping filter parameters, to adapt to what @mikejolley proposed
2017-11-23 15:52:02 +01:00
David Marín
4210da0341
Using proposed filter name
2017-11-23 15:49:58 +01:00
Mike Jolley
cd3d61bf98
Add back category filtering which somehow was removed
2017-11-23 14:26:12 +00:00
David Marín
654a036f1a
Added third parameter with taxonomy to filter call
2017-11-23 12:43:37 +01:00
David Marín
50f3db7693
Changed filter so it receives the array instead of the final imploded string
2017-11-23 12:40:00 +01:00
Shiva Poudel
a0215d85da
Txn clickable ( #17878 )
...
* Make transactional link clickable
* Oops, fix in modal tmpl
2017-11-23 10:18:23 +00:00
David Marín
55972f4623
Changing the filter name to 'admin_term_links'
2017-11-23 09:33:55 +01: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
David Marín
d1274acd02
Changing filter so it applies to the full list
2017-11-22 14:01:34 +01:00
David Marín
7d843b1802
Add filters to mark terms in product list
...
In order to add marks to some terms (category and tags) in the product list, I've added two new filters.
2017-11-22 10:47:51 +01:00
claudiulodro
99aefc91f3
Changes from feedback
2017-11-21 14:08:17 -08: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
claudiulodro
a73436bdcd
Merge remote-tracking branch 'origin/master' into HEAD
2017-11-20 14:43:12 -08: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
claudiulodro
0eba98a4e7
Filter by stock status
2017-11-16 13:07:14 -08:00
Claudio Sanches
563896931e
Introduced hooks to allow custom content into order preview
2017-11-16 18:48:47 -02:00
claudiulodro
0390cf3e26
Bring up-to-date with master
2017-11-16 10:06:07 -08:00