Commit Graph

235 Commits

Author SHA1 Message Date
Coen Jacobs b0e3802b5b Refactor cart functions in core 2013-11-25 13:44:32 +01:00
Mike Jolley 26cf2e0669 Isset, not empty for 0 values. Closes #4127 2013-11-18 13:35:38 +00:00
Coen Jacobs 90008d7143 Merge remote-tracking branch 'thenbrent/new_notice_api'
Conflicts:
	includes/shortcodes/class-wc-shortcode-cart.php
	includes/wc-message-functions.php
	woocommerce-ajax.php
2013-11-18 12:44:22 +01:00
Coen Jacobs f0adcb65b7 Merge remote-tracking branch 'thenbrent/add_payment_method_issue_3396' 2013-11-18 12:33:23 +01:00
Mike Jolley 2c25568e21 Filter for adding login erorrs #4059 2013-11-13 12:12:27 +00:00
thenbrent e14e3842b0 Update calls to wc_error_count() function
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent fe44f020e3 Update calls to wc_add_message() function
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent 0d45e19fcf Update calls to wc_add_error() function
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent 09e182f358 Allow gateways to specify redirect URL
Part of #3396
2013-11-04 20:54:18 -08:00
thenbrent a1ca487e73 Add a notice that payment method has been added
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent 1e0cf3087e Redirect to My Account page after adding method
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent 0e4cd125c5 Call add_payment_method_action()
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent 237b5778a3 Add add_payment_method_action() handler
Part of #3396
2013-11-03 16:53:24 -08:00
Mike Jolley f742a91435 Rejig login form closes #4005 2013-10-25 16:10:13 +01:00
Mike Jolley e143d344e5 Constants 2013-10-24 19:36:22 +01:00
Bernard Peh 943327dcb6 since we are running our own passwd reset facility, we should allow other plugins to validate the password before resetting it. 2013-10-18 12:24:06 +11:00
Mike Jolley 4cabf24422 needs_payment for 2.1 #3928 2013-10-16 14:14:15 +01:00
Mike Jolley 9a98be6a15 WOOCOMMERCE_DELIMITER constant. Closes #3476. 2013-09-24 12:24:26 +01:00
Mike Jolley 06ef44c9df Pass args to variation forms from cart page. Closes #3568 2013-09-23 15:47:47 +01:00
Mike Jolley 5954619e02 Set session when removing last item. Closes #3739 2013-09-23 14:01:17 +01:00
Mike Jolley 3ee6e2fa22 Validate rules, instead of doing it by key. Closes #3792. 2013-09-19 14:39:53 +01:00
Mike Jolley edbe9b5fa2 Redirect to myaccount. Closes #3740
@coenjacobs .15
2013-09-13 16:37:26 +01:00
Mike Jolley 5f741819b9 Merge pull request #3757 from ragulka/address-hooks
Allow using custom address types
2013-09-13 08:03:55 -07:00
Mike Jolley 9e30ebbaa9 Merge pull request #3741 from ragulka/security-improvements
Frontend security improvements
2013-09-13 03:33:09 -07:00
Mike Jolley 355dd16962 Removed @coenjacobs helpers and cleaned up main clas 2013-09-12 14:41:02 +01:00
Illimar Tambek e4147bf1b7 Fix missing question mark 2013-09-10 16:35:34 +03:00
Illimar Tambek d6ba711f56 Allow saving custom address types. Add address type to woocommerce_customer_save_address action 2013-09-10 16:31:13 +03:00
Illimar Tambek 7ec8a687f6 Check if user is allowed to cancel and order an order again. Use current_user_can() checks instead of hardcoded user_id comparisons to determine if user can view, pay, order again or cancel an order. 2013-09-06 17:39:45 +03:00
Mike Jolley f0853d5208 Pass text attributes when ordering again Fixes #3422 2013-08-20 12:17:56 +01:00
Mike Jolley 44b9c72651 Improve cart update performance. Closes #3495. 2013-08-19 15:19:51 +01:00
Mike Jolley 9a7580ff1e dumps 2013-08-17 01:44:56 +01:00
Mike Jolley 7cd4e46846 Cleaner orders items, and show meta in text until editing.
@coenjacobs this commit has the urldecode fix. Will move it over to
master/.14 later
2013-08-15 16:49:09 +01:00
Mike Jolley e01df544ec Reworked total templates to support coupon lines, and started support for multiple shipping methods per order.
@todo store shipping methods in the order
@todo test with PP shipping real world

cc @coe
2013-08-14 21:00:34 +01:00
Dominic cfbbaa4b5e Filter Request: Login Credentials
I'm trying to add a "remember me" option to my login form. WordPress
supports this, but it's hardcoded to always on in the WC form handler.
Since you can't tell a difference in PHP between an unchecked checkbox
and no checkbox at all, this seems like the simplest alternative that
maintains backwards compatibility. Thanks.
2013-08-10 12:31:17 -07:00
Mike Jolley 57157db9bf Function refactoring. 2013-08-09 17:11:21 +01:00