Commit Graph

1068 Commits

Author SHA1 Message Date
Dan Bitzer 6f76a7b538 Add `since` tag for when filter was added 2021-08-11 12:46:02 +09:30
Dan Bitzer 6a569ec3a1 Add comment about global variable usage 2021-08-11 12:23:21 +09:30
Dan Bitzer 3dd4df2ff5 Convert global variable to filter arg
To clean up the `woocommerce_order_actions` filter.
2021-08-11 12:16:43 +09:30
Dan Bitzer c5f6a0c3e4 Remove author and category tags to meet reqs 2021-08-11 12:15:58 +09:30
jonathansadowski 7ef09ba1be
Merge pull request #30423 from woocommerce/fix/29630
Fix variations menu order not applying correctly when manually set cl…
2021-08-09 14:32:21 -05:00
Roy Ho 81febc4a57
Update includes/admin/meta-boxes/class-wc-meta-box-product-data.php
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
2021-08-09 17:53:17 +01:00
Roy Ho cc106854b4
Merge pull request #30448 from alexmigf/master
New hook for product external options
2021-08-06 16:28:34 +01:00
Néstor Soriano c11739e7ed
Merge pull request #30256 from YordanSoares/issue-30255-fix-payment-method-title-for-the-option-other
Fix the payment method title for the option "Other"
2021-08-06 12:41:55 +02:00
roykho 3d37ac60bf
Fix variations menu order not applying correctly when manually set closes #29630 2021-08-04 09:03:35 -07:00
Roy Ho 5a70e26541
Merge pull request #29470 from Quy/patch-1
Remove trailing colon when checkbox is before label
2021-07-22 16:16:47 +01:00
Roy Ho 1d725d8dc8
Merge pull request #30068 from jobthomas/patch-1
"Pending payment" instead of "Pending" as the correct status
2021-07-22 16:03:12 +01:00
Yordan Soares ae4040368c Fix the payment method title for the option "Other"
Closes: #30255
2021-07-11 23:38:53 -04:00
Alexandre Faustino 31ac6db10f New hook for product external options 2021-07-07 10:41:40 +01:00
Job 03a01b5e06
Update html-order-items.php 2021-06-09 12:55:13 +02:00
Job b020ac8814
"Pending payment" instead of "Pending" as the correct status
The tooltip suggests changing the status to "Pending" while the name of the status that is in the dropdown higher up is "Pending payment". This update changes that.
2021-06-09 11:54:37 +02:00
Mike Jolley e9db2d4522 Add shipping phone to user profile/order screen 2021-06-03 13:58:19 +01:00
Vedanshu Jain 6667233eb1
Merge pull request #29762 from woocommerce/fix/29502
Update restock logic during refunds closes #29502
2021-05-21 22:53:22 +05:30
vedanshujain 18411d2b3b Add code comments for confusing changes. 2021-05-07 14:30:45 +05:30
vedanshujain 833193b7f7 Round tax amount appropriately before displaying.
We have special method to round taxes which may round up or round down depending upon settings. This method should be used instead of default rounding in formatting funtions.
2021-05-07 14:30:45 +05:30
roykho 7105a7a17e
Update restock logic during refunds closes #29502 2021-04-23 12:14:51 -07:00
Quy f0cc75223d
Remove colon since checkbox is before label 2021-03-23 14:00:50 -07:00
Roy Ho e62f20b9b3
Merge pull request #29049 from wppunk/master
Fix #29048
2021-03-17 13:46:19 -07:00
Peter Fabian cb6e0d8201 Don't echo the strings, return them for later use. 2021-03-16 13:01:15 +01:00
Peter Fabian a2e9c055d5 Make the inherited values explicit by stating where it comes from. 2021-03-16 12:39:25 +01:00
Peter Fabian f33c80186f Updated the wording of the tooltip. 2021-03-16 08:51:29 +01:00
Peter Fabian bb5c56c148 Set correct placeholder value for variation--first the parent, then the store-wide default. 2021-03-15 18:41:55 +01:00
Peter Fabian 2ae5ec59ba Improve the description of the low stock threshold tooltip. 2021-03-15 12:42:10 +01:00
Peter Fabian 1f8f8580d1 Better wording of the tooltip--being more specific about what the amount relates to. 2021-03-11 16:26:41 +01:00
Peter Fabian f7755f123e Enable bulk updates of variations with low stock amount. 2021-03-10 18:15:31 +01:00
Peter Fabian 685be2a791 Connect the UI to the db to allow updates of the values. 2021-03-10 17:24:52 +01:00
Peter Fabian b92d1d1391 Harmonize the id and name with simple product. 2021-03-10 15:38:49 +01:00
Peter Fabian a6b45d08bf Added low stock threshold input to the Admin UI. 2021-03-10 11:47:22 +01:00
Max WP Punk 585d96f237
Fix #29048 2021-02-08 03:28:43 +02:00
Claudio Sanches de81f2d686 Remove filter after email is sent 2021-01-19 17:57:48 -03:00
Claudio Sanches aea6e02a2a Fixed method with signature changed and introduced new filter instead 2021-01-19 17:51:31 -03:00
roykho 218c799811
Prevent duplicate new order email from being sent when changing order status closes #27791 2021-01-13 14:13:57 -08:00
Ron Rennick 2718c85f78 Merge branch 'master' into fix/25643 2020-12-03 14:47:52 -04:00
Roy Ho 89efae43a1
Merge pull request #28416 from woocommerce/fix/issue-27154
Fix/issue 27154
2020-11-30 06:14:15 -08:00
OlegApanovich 26dae12279 Fix toggle chevron issue in admin edit product data attribute section #27923
After chevron clicking on attribute section complete edit product data section toggled insted cliackig area.
Key point issue is missing 'postbox' class of wordpress postbox.js library for a attribute block that we try to toggle.
2020-11-27 11:50:44 +02:00
roykho 3981377809
Strip the tags from product description on all other select2 fields that performs searches 2020-11-25 13:32:50 -08:00
Ron Rennick 55313e7006 Merge branch 'master' into fix/25643 2020-10-29 10:29:16 -03:00
Ron Rennick f07585dc93 phpcs fixes, on sale dates should be displayed in local time 2020-10-20 11:35:49 -03:00
Ron Rennick 894dceee95 Fixes needed for variable product E2E test
- Jest/Puppeteer sometimes will not find an element on page load when that element is outside the initial viewport
- There were duplicate .variation_tab classes which confused Jest/Puppeteer
- Add function for opening and verifying new product page
- Update test sequence for changes in flow in markup and Jest/Puppeteer
2020-10-20 11:25:36 -03:00
roykho e8bcd464db
Update escape based on suggestion 2020-10-16 06:00:34 -07:00
roykho 800cbdbc7e
Add missing escapes 2020-10-15 16:31:56 -07:00
roykho ace411aacd
Fix billing email being parsed as a URL link when beginning of email contains www closes #25099 2020-10-15 14:25:03 -07:00
Claudio Sanches 3377c60c5e
Merge pull request #27433 from woocommerce/fix/remove-relative-include-paths
Change relative include paths to absolute include paths
2020-09-17 13:15:40 -03:00
Rodrigo Primo d50cd4389b Fix using tax classes with some non-ASCII characters
This commit fixes a bug that made it impossible to assign to a product a tax class that contained non-ASCII characters that are URL encoded by sanitize_title().

WooCommerce uses sanitize_title() to generate a slug when creating a tax class (d48f1d4e2e/includes/class-wc-tax.php (L808)). sanitize_title() converts some non-ASCII to ASCII equivalents (those handled by remove_accents()) and URL encodes others (like some Greek characters, for example).

The code was using wc_clean() to sanitize the tax class when the user edited a product. The problem is that wc_clean() removes URL encoded characters, changing the slug of some tax class, causing WooCommerce to use the standard tax class instead without any errors. To fix this issue, this commit replaces wc_clean() with sanitize_title(). This should be enough for security purposes and should not cause any issues with non-ASCII characters.
2020-09-08 16:00:56 -03:00
Claudio Sanches c4ccc38780 Fixed use __DIR__ for relative paths 2020-08-26 18:46:44 -03:00
Romario 67a178f4f7 Replace 'DIRECTORY_SEPARATOR' with '/' 2020-08-26 15:50:34 -05:00