Mike Jolley
e0fa344d50
Abort adding variation to cart if invalid rather than just hiding value
2016-10-17 11:33:43 +01:00
Claudio Sanches
657c312cae
Fix strings case ( #12069 )
...
* Fixed case for all _e, esc_attr_e and esc_html_e strings
* Fixed case for all _n_noop strings
* Fixed case for all _x strings
* Fixed case for all __, esc_html__ and esc_attr__ strings
* Fixed a few more strings
* Fixed strings in unit tests
* Fix PayPal Standard case.
* Save Order text
2016-10-12 11:16:30 +01:00
Rami Yushuvaev
83e938af1e
i18n: Merge similar translation strings to reduce the total strings count #11905
2016-10-11 04:39:13 +03:00
Claudio Sanches
c08aec0680
Only the product name should have quotes #12039
2016-10-07 16:09:28 -03:00
Nico Mollet
35537814d8
Fixing syntax errors
2016-10-07 13:56:42 +02:00
Nico Mollet
9147d124a8
Product name in quotes in cart, after being removed
...
The product name should be in quotes after being removed in cart page.
2016-10-07 11:18:30 +02:00
Claudio Sanches
2e26752e47
Introduces the woocommerce_after_save_address_validation action, closes #11877
2016-09-13 19:13:12 -03:00
Aristeides Stathopoulos
7a509f53d4
Merge pull request #4 from woothemes/master
...
sync
2016-09-09 03:17:28 +03:00
Mike Jolley
7c134d7f7c
Do action when login fails.
...
Closes #11864
2016-09-08 10:06:16 +01:00
Aristeides Stathopoulos
734f284fa4
WordPress.PHP.YodaConditions.NotYoda
2016-09-08 01:32:24 +03:00
Mike Jolley
311c540662
Merge pull request #11833 from aristath/master
...
Coding Standards (2nd pass)
2016-09-07 10:14:17 +01:00
Claudio Sanches
22fd124b31
Merge pull request #11843 from terence1990/master
...
Order statuses valid for Order Again
2016-09-06 13:40:05 -03:00
terence1990
7f686c2f73
Spaces
2016-09-06 13:00:52 +01:00
terence1990
36311b76f6
Fix: Order Again Statuses
2016-09-05 17:30:58 +01:00
terence1990
8b838c88a8
Order statuses valid for Order Again
2016-09-05 17:25:17 +01:00
Aristeides Stathopoulos
2346c3b735
Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace
2016-09-02 06:15:49 +03:00
Aristeides Stathopoulos
cc0b29ccf4
PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket
2016-09-02 05:00:46 +03:00
Aristeides Stathopoulos
d4e3faf014
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
2016-09-02 04:51:31 +03:00
Mike Jolley
1b2df3dd3b
Merge branch 'pr/11797'
...
# Conflicts:
# includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
# includes/api/class-wc-rest-coupons-controller.php
# includes/class-wc-coupon.php
# tests/unit-tests/api/coupons.php
# tests/unit-tests/coupon/crud.php
2016-09-01 11:46:05 +01:00
Mike Jolley
62d0619b1a
Avoid legacy keys
2016-08-30 18:03:00 +01:00
Mike Jolley
7439f6d79f
Use set_props
2016-08-30 17:59:41 +01:00
Aristeides Stathopoulos
f2730eea02
WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd
2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos
a19848978a
WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis
2016-08-27 07:47:24 +03:00
Aristeides Stathopoulos
6c30f84fa2
WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys
2016-08-27 06:23:21 +03:00
Mike Jolley
7cf75f5085
Remove use of deprecated functions
2016-08-22 16:57:54 +01:00
Mike Jolley
3f4ffe8a49
More crud updates
2016-08-19 17:05:47 +01:00
Mike Jolley
5afac69f10
Fix write context errors
2016-08-15 17:50:02 +01:00
Mike Jolley
f4a4f6c361
Reduce stock and other notices
2016-08-09 14:15:04 +01:00
Mike Jolley
8d58febaf8
Merge branch 'master' into orders-crud-function-update
...
# Conflicts:
# includes/class-wc-checkout.php
2016-08-09 14:03:06 +01:00
Mike Jolley
4ac4bcaa08
Merge branch 'master' into WC-CRUD
...
# Conflicts:
# tests/unit-tests/cart/cart.php
2016-08-09 11:08:21 +01:00
Mike Jolley
39eb584321
Merge branch 'master' into orders-crud-function-update
2016-08-08 17:24:40 +01:00
Mike Jolley
31803f4e51
Billing/shipping
2016-08-08 16:46:58 +01:00
Nathaniel
92b28baeb4
Update class-wc-form-handler.php
...
As a user, I would expect to be returned to the Edit Address page as opposed to the My Account page.
2016-08-06 11:54:44 -07:00
Mike Jolley
39b4831e95
get_id
2016-08-05 15:56:23 +01:00
Mike Jolley
1bc9da3e91
Merge branch 'master' into WC-CRUD
...
# Conflicts:
# includes/class-wc-coupon.php
2016-08-04 12:10:04 +01:00
Mike Jolley
475d8fc5ed
[2.6] More password check to else block
...
Closes #11623
2016-08-04 11:27:41 +01:00
Mike Jolley
ffb74a7b09
Add user to site on login
...
Closes #11409
2016-08-02 18:28:31 +01:00
Mike Jolley
d2adabaf89
Redirect to login after password reset.
...
Closes #11376
2016-07-27 12:47:41 +01:00
Mike Jolley
c8cce05c4d
Use a cookie and redirect instead of query string
2016-06-24 15:06:01 +01:00
Mike Jolley
78142a8ebb
Merge branch 'master' into WC-CRUD
...
# Conflicts:
# includes/class-wc-checkout.php
# includes/class-wc-coupon.php
# includes/class-wc-customer.php
# tests/unit-tests/cart/cart.php
# tests/unit-tests/cart/functions.php
# tests/unit-tests/coupon/coupon.php
# woocommerce.php
2016-06-13 15:01:58 +01:00
Mike Jolley
b569bd2caa
Unique nonce names
...
@claudiosmweb Fixes #11068
2016-06-08 13:19:30 +01:00
Mike Jolley
730019ef18
scrutinizer best practice
2016-06-06 19:39:23 +01:00
Antonino Scarfì
f5603bb762
Avoid leave query string on URL after delete and set default actions for token, from Payment Methods endpoint. Also, change hook position on set default action for token.
2016-05-26 15:50:22 +02:00
Mike Jolley
b441a218a4
Remove logged in notice
...
Closes #10904
2016-05-12 10:36:27 +01:00
Mike Jolley
d6a085b5ae
Improve lost password flow
...
@claudiosmweb Fixes #10785
Add confirmation and explanation after initial reset.
Also splits template files into lost password, reset password, and
confirmation for clarity.
2016-04-27 16:00:30 +01:00
Mike Jolley
29c6acf767
Used positional placeholders in strings where the order of strings may require modification in the locale.
...
Closes #10775
2016-04-25 13:07:41 +01:00
Mike Jolley
be9b7bd4b5
If no variation ID is set, do a match
...
Closes #10737
2016-04-20 12:35:06 +01:00
Mike Jolley
975f9d8c2d
Remove nonce on cancel order URL
...
Nonces are invalid if the user ID changes during checkout e.g. through
registration. Cancel links are invalid.
cc @claudiosmweb
Fixes #10605
2016-03-30 12:45:25 +01:00
Justin Shreve
ffc80ccd15
Start updating some usage, and start implementing the actual CRUD functions, and some new get/setters for username, email, etc.
2016-03-17 09:41:12 -07:00
Claudio Sanches
ffd150d4df
Coding standards
2016-03-08 15:54:19 -03:00
Justin Shreve
31bae0c19e
Hook up the tokenization API to the "add payment method" button in my account settings.
2016-03-01 11:49:41 -08:00
Mike Jolley
8a9060d1c4
Clean/trim values when validating account form
...
Fixes #10324
2016-02-11 14:21:46 +00:00
Dev49.net
c3202298c0
moved actions after order key verification
...
Use case described in Issue #10276
2016-02-05 19:44:55 +01:00
Dev49.net
dcbb17a99d
added actions before and after payment
...
Issue #10276
2016-02-05 01:44:19 +01:00
Mike Jolley
6050b204fc
Support qty display in cart messages
...
Closes #10114
2016-01-20 11:32:49 +00:00
Mike Jolley
b5d7f1de10
[2.5] Only show payment method button when needed, and check for required fields
...
Fixes #10112
@thenbrent @claudiosmweb
2016-01-20 10:47:36 +00:00
Mike Jolley
ef98a2d79c
Compare type
2015-12-03 10:51:07 +00:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Claudio Sanches
3ab4e76cd0
Replaed old WC_Cart methods to the new functions
2015-10-28 15:56:31 -02:00
Florian Ludwig
b549c73dea
Fixed bug where customer couldn't log in because of whitespace after mail address
2015-10-20 21:20:50 +02:00
Mike Jolley
277dbeb029
Merge branch 'WPprodigy-patch-2'
2015-10-06 12:33:55 +01:00
Mike Jolley
5ec400e514
Validate terms and conditions and improve templates
2015-10-06 12:33:45 +01:00
Claudio Sanches
605db1cf3a
hijax for variations on frontend
2015-09-22 13:22:12 -03:00
Akeda Bagus
82a7c70334
Don't show undo link if removed item product is out of stock.
2015-09-11 15:22:09 +07:00
Mike Jolley
38a5d04c53
woocommerce_save_account_details_required_fields hook
...
Closes #9056
2015-09-07 15:21:57 +01:00
Kevin Hagerty
164b39ea42
Use the needs_payment function
...
Instead of checking against a list of valid order statuses, use the needs_payment function which already checks against those statuses
2015-09-05 08:09:47 -04:00
Mike Jolley
a07824e8a7
Ensure product exists in add cart handler
...
Closes #8937
2015-08-24 15:28:57 +01:00
Mike Jolley
170737b4e8
Remove purchasable check completely
...
Not required as the cart class checks this later on. Was originally
added for #7220 . Later changed to support admin buying private products
https://github.com/woothemes/woocommerce/commit/9ed36d4b0104e77ede338862
b67a99d0a243aac8
Fixes #8908
2015-08-20 23:43:39 +01:00
Mike Jolley
80b6c0f541
Refactor add_to_cart_action by splitting product type methods
2015-08-20 23:41:56 +01:00
Mike Jolley
9ed36d4b01
In add_to_cart_action, check is_purchasable rather than post status.
2015-08-20 10:39:38 +01:00
Mike Jolley
ad691fe916
save_account_details should check display name of current user.
...
Fixes #8856
2015-08-17 12:02:16 +01:00
Mike Jolley
060fb16e2e
Move Pre 2.4 handling for attributes - DRY
...
@claudiosmweb @franticpsyx
2015-07-28 16:20:51 +01:00
Mike Jolley
8bf4469178
woocommerce_save_account_details_errors action
...
Closes #8532
2015-07-10 11:11:51 +01:00
Mike Jolley
ea82ce9f06
Tweak display name to only change if set to an email
...
#8532
2015-07-10 11:09:14 +01:00
Gerhard
230301e6da
Don't reveal username when login failed on valid email login
2015-06-26 14:15:31 +02:00
Mike Jolley
622b11ae9f
Add version check to prevent pre-2.4 logic kicking in when not needed
...
@claudiosmweb
2015-06-16 15:10:53 +01:00
Mike Jolley
89f7e15052
Save full version of text based attributes when dealing with variations
2015-06-11 14:43:02 +01:00
mehulkaklotar
05d5b421d6
filter when cart item remove notice item title, issue : #8204
2015-05-22 14:15:11 +05:30
Nikki DelRosso
940c2369b0
Added method to check if cart is empty
2015-05-14 14:18:53 -07:00
roykho
a23142423c
fixed on password change, password 1 field can be skipped closes #8079
2015-04-29 22:07:34 -07:00
Nicola Mustone
d2af01df5b
scrutinizer suggested tweaks
2015-03-27 16:15:40 +01:00
Mike Jolley
4171a20e29
Order again with custom attributes.
...
Fixes #7601
2015-03-09 15:50:13 +00:00
Mike Jolley
5cbd02fef2
Improved message when variation attributes are missing.
...
Closes #7670
2015-03-09 13:14:05 +00:00
Nicola Mustone
0fc973b5aa
undefined wc_error_count fix
2015-02-26 16:18:11 +01:00
Mike Jolley
542dfe7ce4
Add additional error handling to remove_item handler
...
Closes #7415
2015-02-16 11:31:38 +00:00
Paul Wilde
c913316f8b
Introduce wc_get_page_permalink.
2015-02-15 19:13:22 +00:00
Mike Jolley
d93d00271d
Use WP hook so we have access to query vars
...
Fixes #7341
2015-02-10 12:23:15 +00:00
Mike Jolley
3691a8fdfb
Fix thumbnail notice
...
Closes #7292
2015-02-04 14:04:02 +00:00
Mike Jolley
03cf7fa572
Fix potential notice
2015-02-03 14:57:04 +00:00
Claudio Sanches
d3ac28fbb3
Check if product is published, closes #7220
2015-01-29 16:30:07 -02:00
Mike Jolley
e3b360c138
Tweak to process_reset_password
2015-01-21 14:59:44 +00:00
Mike Jolley
204d1ae166
2 empties as PHP < 5.5 doens't like the join
2015-01-21 14:25:59 +00:00
Mike Jolley
10dac6fedd
process_lost_password/process_reset_password
2015-01-21 14:15:52 +00:00
Mike Jolley
51c6f7f670
Clean up process_registration()
2015-01-20 16:05:08 +00:00
Claudio Sanches
3228fc0e67
Initial remove and restore cart methods
2015-01-07 16:52:17 -02:00
Mike Jolley
1c696a10d3
Dev - Moved WC_Cart::get_cart_from_session() to a later hook (was init, now wp_loaded).
...
Closes #6873
2015-01-05 14:43:04 +00:00
Mike Jolley
c3fb83d443
Append query string when removing item from cart to bust cache
...
Closes #6544
2014-11-26 10:56:51 +00:00
claudiosmweb
744f80e0c6
Fixed password reset handler
2014-11-19 16:57:26 -02:00
Nicola Mustone
5d30109ab6
Handle cart item undo
2014-11-18 17:31:06 +01:00
Mike Jolley
ccdacb76b7
Fire all form handlers priority 20
...
Closes #6706
2014-11-12 16:43:29 +00:00