Commit Graph

159 Commits

Author SHA1 Message Date
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
Mike Jolley b5f359b22a Merge pull request #6717 from bryceadams/master
Add filter for registration auth cookie #6707
2014-11-11 03:44:54 -08:00
Mike Jolley f6fbdcd0ec Merge pull request #6704 from helgatheviking/update_cart_action
move $cart_updated inside $passed_validation IF statement. #6703
2014-11-11 02:05:12 -08:00
Marin Atanasov cce13abc06 checking _wpnonce before using it in WC_Form_Handler::process_registration() 2014-11-09 17:14:55 +02:00
Bryce f489739349 Add filter for registration auth cookie #6707 2014-11-08 14:30:18 -08:00
Kathy Darling 5a2c9a3ed2 move $cart_updated inside $passed_validation IF statement. #6703 2014-11-07 11:16:37 +01:00
Mike Jolley f4556fe710 [2.2] Fixed nonce check in form handler 2014-10-28 09:40:50 +00:00
Mike Jolley 06aca23919 Enforce slug format of translated edit-address-slugs.
Fixes issues with addresses not loading correctly in edit account.
2014-10-22 11:26:09 +01:00
Mike Jolley b09f1062da Merge pull request #6579 from woothemes/hotfix-unqiue-nonce-edit-details
[2.2] Make edit account details nonce unique to customer.
2014-10-21 13:17:36 +01:00