Gerhard Potgieter
6ff90a1912
Cleaner code and correct apply_filters
2018-09-11 12:50:20 +02:00
Gerhard Potgieter
e3994348b3
Update checked functionality to use a filter, removed option from settings screen. Can use the woocommerce_restock_refunded_items filter to have the option checked or not, defaults to unchecked.
2018-09-10 11:31:24 +02:00
Ivete Tecedor
9b07180c7a
#20822 -- adding config for making the "restock refunded items" checkbox be UNchecked by default
2018-09-10 11:27:14 +02:00
Hahn
6623db017b
#21229 Updated class attribute for shipping class meta box
2018-08-30 12:17:43 -06:00
Peter Fabian
32d3ff76c5
Use simple quote.
2018-08-27 17:28:29 +02:00
Peter Fabian
058f14e7d3
Corrected wording of stock quantity description.
2018-08-27 17:20:46 +02:00
Rodrigo Primo
b8354da6b1
Use refund currency when displaying refund amount
...
Use the refund currency when wc_price() is called to display the refund amount in the "Edit order" admin screen. Without this change, wc_price would use the store default currency which is a problem for stores that at some point changed their currency or stores using extensions which support multiple currencies.
2018-08-20 11:32:56 -03:00
Rodrigo Primo
aef5d3373c
phpcs fixes
2018-08-20 11:12:12 -03:00
David Marín
bc86676b7e
Update class-wc-meta-box-product-data.php
2018-08-16 09:28:48 +02:00
David Marín
6b3ef46f4e
Complete filter call
2018-08-16 09:28:03 +02:00
David Marín
97eddce025
Admin: New filter to customize variations count
...
Adding new filter to customize variations count, so internal-use variations can be hidden by plugins.
2018-08-16 08:37:25 +02:00
Peter Fabian
1c2f51ee86
Unslashed the SKU for variation.
2018-08-09 12:13:23 +02:00
Rodrigo Primo
1274c61a7c
Hide "Stock status" field for grouped products
...
In the product admin page, the field "Stock status" should be hidden for grouped products as stock is controlled individually for each of the child products and setting a stock status in the parent product has no effect.
Fixes #20927
2018-08-01 10:30:21 -03:00
Rodrigo Primo
4f41f99cd2
phpcs fixes
2018-08-01 10:27:22 -03:00
Gerhard Potgieter
75e462c448
Do not use array_merge for appending parent to tax classes rather +, array_merge will rewrite numeric keys which we allow for tax class names.
2018-07-27 11:16:28 +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
Claudiu Lodromanean
98b3b6305d
Merge pull request #20661 from woocommerce/fix/16620
...
Use view context so true is not returned if parent is stock managed and not the variation
2018-07-03 10:08:47 -07:00
Joey Gilham
58cdd7dad2
Merge branch 'master' into master
2018-07-03 15:41:15 +01:00
Mike Jolley
b3b03755d7
update selector
2018-06-29 11:16:44 +01:00
Mike Jolley
4ac235a6e5
Use view context so true is not returned if parent is stock managed and not the variation.
2018-06-29 10:37:56 +01:00
Mike Jolley
3174aff57f
Hide preview button
2018-06-28 14:59:04 +01:00
Joey
cd8416122f
removed low stock options for variations, and addressed changes
2018-06-19 12:40:27 +01:00
Rodrigo Primo
b6e73f528b
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-06-15 14:56:31 -03:00
Mike Jolley
04e304921a
Show stock based on querystring var
2018-06-15 15:11:07 +01:00
Mike Jolley
a1bd9ab2ae
Input type number with correct width
2018-06-15 14:32:30 +01:00
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
Matej Kravjar
233ac4b313
order billing fields do not overwrite value, if provided
...
(overwriting introduced by 1fa36b5f15
)
2018-06-07 09:02:12 +02: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
Mike Jolley
81b65f1783
add missing wp_unslash calls to product data meta box
2018-05-25 12:15:59 +01:00
James Kemp
16785b33ab
Do not escape HTML for attribute label
2018-05-24 15:29:53 +01:00
Eitan Shaked
032ed8a3d4
Add new class to order note
2018-05-02 17:14:24 +03:00
Mike Jolley
4487463bb4
PHPCS
2018-05-01 13:00:49 +01:00
Norcross
a9cd0d9bd8
including `isset` check for nonce variable.
2018-04-30 11:55:03 -04:00
Mike Jolley
ef69c27f25
Updates email restrictions label so it's clear this is a whitelist
2018-04-26 12:58:08 +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
Mike Jolley
d381330a91
Merge pull request #19705 from woocommerce/fix/19619
...
Handling of PHP's automatic array key conversion to int
2018-04-18 15:40:31 +01:00
claudiulodro
f9e45bea91
Bring up-to-date with master and resolve merge conflicts
2018-04-17 13:27:39 -07:00
Mike Jolley
fc05f8adb2
Merge pull request #19625 from danielbitzer/master
...
Set the order created_via property for orders created via admin area
2018-04-17 16:26:20 +01:00
Peter Fabian
7861d7b95f
Changed usage of selected with in_array to wc_selected.
2018-04-17 13:24:39 +02:00
Gabor Javorszky
d569920825
Cast coupon's $post->ID to int
2018-04-13 11:25:58 +01:00
Mike Jolley
efe0d36eea
Load meta box input values using CRUD and edit context
2018-04-10 13:01:52 +01:00