Mike Jolley
01a3e359c3
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-06-13 10:18:38 +01: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
ce8eabc4a5
Include qty and reduce stock field on add item modal
2018-06-08 12:19:14 +01:00
Mike Jolley
6b8cd9661f
exclude new meta data from admin screens
2018-06-08 12:18:15 +01:00
Mike Jolley
8261cffaa7
Remove bulk actions
2018-06-07 18:01:21 +01:00
Joey
98e44092e7
updating suggested changes
2018-06-07 14:37:06 +01:00
Joey
e5800b66b0
updated low_stock_amount fields to use global value if no value is entered
2018-05-27 06:43:23 +01:00
Joey
b08b55a651
added changes for low stock notifications per product
2018-05-27 05:40:58 +01:00
James Kemp
0eeb7834cd
Echo attribute label
2018-05-26 13:10:09 +01:00
James Kemp
1c99022600
Echo attribute label for "empty" default option
...
The empty option for the default attribute value selectors was not echoed.
2018-05-26 12:59:40 +01:00
James Kemp
16785b33ab
Do not escape HTML for attribute label
2018-05-24 15:29:53 +01:00
Rodrigo Primo
597033ca6f
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-04-24 13:47:22 -03:00
Beka Rice
7bd9cdacaa
Filter the used coupon URL in 'edit order' screen
2018-04-18 11:49:35 -04:00
Peter Fabian
7861d7b95f
Changed usage of selected with in_array to wc_selected.
2018-04-17 13:24:39 +02:00
Mike Jolley
5ac7aac369
Improve can_refund_order and add unit tests
2018-04-03 17:09:09 +01:00
Will Gorham
55707ecc7e
Display order item refund as negative value
2018-03-30 17:09:44 -04:00
Rodrigo Primo
bb553c88ae
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-03-29 12:05:55 -03:00
bernat torras
307605a739
Added 'Removed extra tabs
2018-03-28 21:27:46 +02:00
bernat torras
47d85844d8
Added 'woocommerce_variable_product_before_variations' hook to variation tab
2018-03-28 16:02:06 +02: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
Rodrigo Primo
3a480e5d80
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-03-01 08:02:08 -03:00
Claudio Sanches
ef393b8405
Merge pull request #18918 from woocommerce/fix/order-item-meta-key-maxlength
...
Set maxlength for order item meta key
2018-02-20 16:52:35 -03:00
Mike Jolley
5fce9152bd
Merge pull request #18080 from WPprodigy/fix-stock-update-order-notes
...
Enhancements for stock updates
2018-02-19 14:51:05 +00:00
Caleb Burks
c278bffa78
Set maxlength for order item meta key
2018-02-09 22:33:35 -05:00
Gerhard Potgieter
780905cd0e
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-02-08 10:11:27 +02:00
Mike Jolley
e36c05b1d5
Fix esc_attr/esc_html usage
2018-02-05 14:54:18 +00:00
Caleb Burks
9c3611624c
Remove extra CSS padding
2018-02-02 22:19:07 -05:00
Caleb Burks
02952bd0a3
Allow removing coupons on editable orders only
2018-02-02 21:59:09 -05:00
Mike Jolley
f6e0593d47
Prevent grouped products showing when the type is variable
2018-01-19 12:20:27 +00:00
Mike Jolley
672a31e7c6
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-01-16 10:40:19 +00:00
Mike Jolley
e1a82a4127
Add nonce to both panels. Closes #18333
2018-01-03 10:37:07 +00:00
Caleb Burks
0d9e55d2ec
Hide Apply coupon in admin if coupons are disabled
2017-12-17 22:21:08 -06:00
Mike Jolley
d14d3afc2e
Merge pull request #18162 from WPprodigy/downloads-logging-enhancements
...
[3.3] New download logging reports enhancements
2017-12-15 11:09:21 +00:00
Caleb Burks
5130740aca
Escaping
2017-12-15 04:26:22 -06:00
Caleb Burks
76a2e5fe87
Capitalization fix
2017-12-13 23:59:20 -06:00
Caleb Burks
cb154b5d40
Add button for copying DL link
2017-12-13 23:57:47 -06:00
Caleb Burks
345376bc20
Add customer download report section
2017-12-13 23:29:12 -06:00
Caleb Burks
c7f5ee97db
Hide variation stock status setting conditionally
2017-12-13 22:38:03 -06:00
Caleb Burks
274e5c3aa2
Hide manage stock buttons if inventory is disabled
2017-12-09 23:02:40 -06:00
Mike Jolley
1944bf7191
Remove text type setting
2017-12-08 11:24:21 +00:00
Claudio Sanches
79e6821685
Fixed coding standards
2017-12-05 17:11:33 -02:00
Claudio Sanches
9e93d99056
Fixed "PHP Warning: printf(): Too few arguments"
2017-12-05 16:57:26 -02: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
claudiulodro
5513dc4546
Update with master
2017-11-22 11:02:14 -08:00
Mike Jolley
3773b81bc9
Merge branch 'master' into update/order-screen-refinements
...
# Conflicts:
# includes/admin/meta-boxes/views/html-order-item.php
2017-11-22 16:32:34 +00:00
The Dramatist
1783953f15
Admin metaboxes views translation escaping fix ( #17776 )
...
* Data escaped and validated. Plus translator comment documentation added.
* If it should be int then we should change the empty string default parameter to 0 as in 'if' condition checking 0 and empty string are same.
* Extra bracket removed.
* Indentation is fixed now.
* The taxonomy object should not be assigned to a variable before checking if this is a taxonomy or not.
* echo esc_attr__ replaced by esc_attr_e and visually tested.
* As I use WordPress VIP Coding Standard, they were marking them as warnings. But now it's fixed again.
* Escaping fix
* Extra Bracket Fix Again
2017-11-21 17:50:30 +00:00
Mike Jolley
98bebd14f2
Hooks for columns and preview list tables
2017-11-21 16:22:43 +00:00
Mike Jolley
ca7128927f
Hide content after save
2017-11-17 15:57:27 +00:00
claudiulodro
0390cf3e26
Bring up-to-date with master
2017-11-16 10:06:07 -08:00
claudiulodro
dd0f748211
Fix invalid html
2017-11-16 08:01:59 -08:00
claudiulodro
4ef2152881
Hide/set fields depending on whether managing stock
2017-11-15 14:10:06 -08:00
Mike Jolley
8dcd7f5b59
Merge pull request #17696 from yratof/patch-1
...
Removed class within class for admin meta boxes
2017-11-15 10:02:19 +00:00
claudiulodro
3050959836
Variations stock status
2017-11-14 14:18:03 -08:00
Andrew Lazarus
ba52e583f9
Removed class within class
...
'<div class="class="wc-order-item-name"">` outputs `<div class="class=" wc-order-item-name="">`
2017-11-14 16:01:57 +01:00
Mike Jolley
3621736400
PHPCS
2017-11-13 16:24:33 +00:00
Mike Jolley
f1f30fc8de
Fix download link
2017-11-13 16:10:32 +00:00
Mike Jolley
3e7968d37b
Merge branch 'master' into pr/16418
2017-11-13 14:37:18 +00:00
Mike Jolley
90203dc704
Set placeholder for variation lxwxh
...
Fixes #17559
2017-11-06 10:44:49 +00:00
veisis
fbd1b114db
Class name fix in docblock
2017-11-01 11:59:49 +02:00
Mike Jolley
98eeafcc29
Hide shipping/discount rows when not needed and match email wording.
2017-10-13 14:01:20 +01:00
claudiulodro
b5e02ea6f6
Add extra lines back in admin order summary
2017-10-12 14:01:11 -07:00
Mike Jolley
e0421cd7bc
Replay protection on refunds
...
Sends the current refunded amount with the request, so if a refund is
attempted twice it will mismatch.
Fixes #13614
2017-09-28 16:17:13 +01:00
Claudio Sanches
6164be51d3
Escape classes in data panel
2017-09-25 10:56:14 -03:00
Mike Jolley
45aaa22bb9
correct isset
2017-09-25 12:22:17 +01:00
Shakeeb Sadikeen
da6a37c0d1
fixed : custom tab with no class error
...
when class is not passed with custom tab. echo's undefined index error with classes fixed
2017-09-20 22:14:58 +05:30
Mike Jolley
8b4086caf2
Hide link to non-existing coupons
2017-08-24 17:08:34 +01:00
Josh Smith
49c7449e8b
Merge remote-tracking branch 'upstream/master'
2017-08-23 22:41:04 +00:00
Mike Jolley
f18a146d0f
Prompt to apply fee in admin
2017-08-23 11:22:18 +01:00
Josh Smith
1734580b0a
[ #12517 ] Order download permissions: Use i18n number formatting on download count and proper escaping on report links
2017-08-23 03:03:27 +00:00
Josh Smith
413444c616
Merge remote-tracking branch 'upstream/master'
2017-08-20 04:09:17 +00:00
Claudiu Lodromanean
a4d3518a61
Merge pull request #16508 from woocommerce/remove-manual-discounts
...
Removed manual discounts code
2017-08-18 08:30:07 -07:00
Mike Jolley
1f692ffb64
Merge pull request #16485 from Korkey128k/master
...
Wrapped 'Delete selected row(s)' button in condition
2017-08-18 15:38:14 +01:00
Mike Jolley
e99471c0cd
Removed manual discounts code
2017-08-18 10:36:10 +01:00
Corey Smith
a6cf08d8cf
Wrapped 'Delete selected row(s)' button in condition
2017-08-16 11:56:30 -05:00
Rami Yushuvaev
4ae42313ce
i18n: Rewrite the translation string logic
...
The single translation string `by` is not easy to translate without a context. In this case, using the context function `_x()` is not the best solution.
A better way would be to create two complete translation strings for refund with a user and without a user.
2017-08-16 14:25:38 +03:00
Claudiu Lodromanean
15179b0e48
Merge pull request #16416 from woocommerce/manual-discounts-on-fees-shipping
...
Manual discounts on fees and shipping
2017-08-11 11:30:27 -07:00
claudiulodro
46e003d3c6
Remove shipping and discount lines
2017-08-11 11:10:44 -07:00
Mike Jolley
2c5a5b9409
Discounts should be last
2017-08-11 16:15:53 +01:00
claudiulodro
3618ef1725
Handle couple todos
2017-08-10 13:37:05 -07:00
claudiulodro
9e70a74857
Styling
2017-08-10 13:29:32 -07:00
Mike Jolley
e2599d83c8
Apply methods
2017-08-10 14:22:27 +01:00
claudiulodro
a416ebe09b
It kind-of works.
2017-08-09 14:55:35 -07:00
Mike Jolley
e429a27ba4
No need for 'off'
2017-08-09 19:12:33 +01:00
Mike Jolley
c556facd41
Fix percent coupon and display
2017-08-09 19:02:10 +01:00
Mike Jolley
f71dc64d35
Manual discounts and negative taxes
2017-08-09 18:53:10 +01:00
Mike Jolley
f0a9050241
HTML
2017-08-09 16:17:30 +01:00
Mike Jolley
6c0750e2e9
Discount lines and button
2017-08-09 14:55:42 +01:00
Josh Smith
677b81174e
[ #12517 ] Add statistic on download count to download permissions listings on order details page
2017-08-05 04:35:37 +00:00
Josh Smith
dfeead42a5
[ #12517 ] Add download log report to WC admin reports, with link from Order details Downloads section
2017-08-03 21:24:53 +00:00
Mike Jolley
916294b7d0
Use comment_status input name
...
Closes #16153
2017-07-19 15:18:33 +01:00
Mike Jolley
f79f5bb5cb
Simply enables drag and drop sorting on the grouped product field
...
Fixes #14560
2017-07-07 14:20:30 +01:00
Claudio Sanches
10f039ad79
Merge pull request #15827 from woocommerce/fix/15818
...
If stock changes between page load and editing, reject stock changes
2017-07-05 15:49:58 -03:00
Mike Jolley
beba2757ee
feedback
2017-07-05 17:11:34 +01:00
Claudio Sanches
d2f9211ffb
Removed non-existing classes from refunds form on admin
2017-07-04 17:27:25 -03:00
Claudio Sanches
2d8902c91f
Hide Cross-sells if external, removed in #15692
2017-07-04 16:44:08 -03:00
Mike Jolley
1265633286
If stock changes between page load and editing, reject stock changes
...
Fixes #15818
2017-06-27 21:22:46 +01:00
Caleb Burks
cfbd56c04a
Remove some settings for grouped products
...
Purchase notes and Cross-sells aren’t needing as you can never add a grouped product to your cart or purchase it.
2017-06-20 21:04:56 -05:00
Caleb Burks
f13c4c3b30
Hide Cross-sells for external products
2017-06-20 20:56:54 -05:00
Caleb Burks
ae6a5e34f2
Move “Grouped products” setting to the top
2017-06-19 21:59:42 -05:00
Job
8b48accc01
Upsell/up-sell
...
We had a few different usages of up-sells and upsells in the copy -
“Upsells” were used more and also seems to be more correct English so
I’ve updated the “up-sells”
2017-06-15 15:56:01 +02:00
Mike Jolley
4a56c8b92a
Fix indent
2017-06-09 09:36:44 +01:00
nishitlangaliya
9ba5f534ea
Fixed Don't show 'Restock refunded items' ref #14888
2017-06-09 09:06:57 +05:30
Mike Jolley
5ee38c54c2
Option to disable reviews globally
2017-06-08 15:26:30 +01:00
Peter
314f64b566
Change the name of the new action
...
Change the name of the new action to woocommerce_after_order_fee_item_name.
2017-05-28 20:40:59 +02:00
Peter
05516dbea5
New action for display order fee custom data
...
We need to display custom data in fee lines, similarly to woocommerce_after_order_itemmeta action in shipping line items.
2017-05-26 10:05:26 +02:00
Mike Jolley
bc4d36fd3f
Add abspath checks
...
Closes #14999
2017-05-10 19:03:19 +01:00
Mike Jolley
ca0c3e0bb8
Merge pull request #14064 from rafsuntaskin/develop
...
added bulk variation update for stock status, resolves #14046
2017-04-27 17:37:59 +01:00
Mike Jolley
891e55e1cf
Merge pull request #14721 from woocommerce/fix/14670
...
Avoid escaped quote chars in strings
2017-04-27 15:34:27 +01:00
Mike Jolley
801f5e1eb1
Avoid escaped quote chars in strings
...
Closes #14670
2017-04-26 13:51:53 +01:00
Mike Jolley
63e8221e2c
Add required placeholder for meta fields
...
Closes #14700
2017-04-26 11:35:34 +01:00
Mike Jolley
2a4103d776
Removed the non-functional order total input and combine the recalculation buttons into one working button.
...
Fixes #14494
2017-04-18 19:44:42 +01:00
claudiulodro
f21e47f7d0
Update save logic to allow filtering
2017-04-17 14:45:53 -07:00
Mike Jolley
41f7a637cd
Use refund date not order date in refund display
...
Fixes #14332
2017-04-13 13:24:48 +01:00
rafsuntaskin
ac5de585e5
added bulk variation update for stock status, resolves #14046
2017-04-07 02:11:04 +06:00
Claudiu Lodromanean
955f20be80
Do custom buttons before Cancel and Save buttons
2017-03-31 11:28:00 -07:00
corsonr
0608eaf11a
Fix 13820
...
Add the “description” class to `.cancel_sale_schedule` so that the
“cancel” link gets aligned properly with a margin left of 7 pixels.
2017-03-29 10:01:45 +02:00
pierrebuet
32f8142c91
Fixes #13748
2017-03-24 12:13:00 +00:00
Mike Jolley
d55653a408
Merge branch 'master' into fix-13498
...
# Conflicts:
# includes/class-wc-order.php
# tests/unit-tests/crud/data.php
2017-03-15 15:52:40 +00:00
Mike Jolley
7f787fac84
Check empty strings literally
...
Closes #13565
2017-03-14 12:17:49 +00:00
Mike Jolley
e13badcdb3
Merge pull request #13584 from woocommerce/13527-update-downloads-dates
...
Apply WC_DateTime to WC_Customer_Downloads
2017-03-14 12:11:28 +00:00
Claudio Sanches
f1c08f1a8e
Updated downloads view on admin
2017-03-13 20:54:43 -03:00
Mike Jolley
9bee678819
API updates
2017-03-13 21:36:31 +00:00
Mike Jolley
dd1b8e35dc
API endpoints
2017-03-13 20:26:52 +00:00
Rami Yushuvaev
d2457fe922
i18n: escape translation strings and fix wrong usage of i18n functions
2017-03-13 07:39:46 +02:00
Mike Jolley
53962f1143
Other date_date call replacements
2017-03-10 16:43:05 +00:00
Mike Jolley
a185e57ccb
Admin panel should not hide _ meta.
...
Fixes #13510
2017-03-09 11:45:22 +00:00
Mike Jolley
5c06a6a591
Missing wc_format_localized_price
...
Fixes #13356
2017-02-27 13:39:35 +00:00
Claudio Sanches
ad09c23d1f
Fixed wrong index for _wc_variation_file_hashes, closes #13322
2017-02-23 18:17:44 -03:00
Mike Jolley
04aebd9fa7
Merge pull request #13306 from woocommerce/fix-13303
...
Fix multiple item additon to orders
2017-02-23 18:11:02 +00:00
Mike Jolley
34d03e524a
woocommerce_date_input_html_pattern filter
...
Closes #13289
2017-02-23 12:57:33 +00:00
Mike Jolley
dec52e8be2
Fix multiple item additon
2017-02-23 10:19:15 +00:00
Mike Jolley
2ac125417f
Fix sale date field
2017-02-22 10:31:20 +00:00
Mike Jolley
82d9abd4c5
Make sure enabled is checked by default
...
#13147
2017-02-10 17:43:32 +00:00
Mike Jolley
3b06660edf
Merge pull request #12917 from woocommerce/12170-rtl
...
#12170 Set up RTL generation and enqueuing
2017-02-08 10:29:55 +00:00
Mike Jolley
fcae260b43
Missing placeholder
2017-02-07 17:07:11 +00:00
Claudiu Lodromanean
da22e021f9
Tweak admin tabs CSS to look good in LTR and RTL modes.
2017-01-31 10:09:56 +01:00
Mike Jolley
66c3cff76d
More escaping
2017-01-06 14:09:36 +00:00
Mike Jolley
76f8c3dddd
Escaping for scruitinizer
2017-01-06 12:45:28 +00:00
Mike Jolley
96877dbb25
Fix product search inputs
2016-12-21 13:23:26 +00:00
Mike Jolley
47fbae4d26
Product Visibility Taxonomies ( #12527 )
...
* Convert visibility and featured to taxonomy
* Comment
* Add missing tax_queries
* Only check SKU after read.
* Added visibility term for outofstock products to speed those queries up al
* wc_bool_to_string
2016-12-08 10:56:45 +00:00
Mike Jolley
086d8bce1d
Fix is_callable
2016-11-25 14:48:20 +00:00
Matty
ff1442e9aa
Allow cross sells to be sold as variations
2016-11-25 13:17:09 +00:00
Mike Jolley
9087a45f29
Remove attribute_ prefix rather than add so that get_attributes has better return values, and don't show duplicate data in cart.
2016-11-24 14:20:48 +00:00
Mike Jolley
c8d1acb33e
Prevent tags breaking page layout
2016-11-23 15:49:35 +00:00
Mike Jolley
bc1103b438
Missing key in download variation
2016-11-22 15:43:21 +00:00
Mike Jolley
b73bbabab6
Fix missing key variable
2016-11-22 15:41:37 +00:00
Mike Jolley
32de28355a
Merge branch 'master' into order-data-store
...
# Conflicts:
# includes/admin/meta-boxes/class-wc-meta-box-order-data.php
2016-11-21 14:45:46 +00:00
Mike Jolley
b81bde4f5a
admin updates
2016-11-18 19:56:17 +00:00
Mike Jolley
b1565cf0d6
Download update routine and interface
2016-11-18 19:29:37 +00:00
Mike Jolley
1b6d7acd24
Data store for downloads
2016-11-18 17:13:02 +00:00