Mike Jolley
de4a80f950
Add disclaimer to template files
...
Closes #8942
2015-10-01 16:07:35 +02:00
Kevin Hagerty
e419d073d5
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:11:15 -04:00
George Stephanis
c7ee929325
Partial _e() => esc_attr_e() changeover.
...
There’s a lot of them, so I’m breaking them into multiple commits.
This is safeguarding stuff in case some translation uses a double
quote, it will no longer risk breaking out of the attribute.
2015-08-05 14:10:09 -04:00
Andrew Minion
4155c34794
fix case to match other titles on my-account.php
2015-07-21 10:56:18 -04:00
Claudio Sanches
ec0783f382
Fixed deprecated woocommerce_lostpassword_url() and lost password url on myaccount/form-login.php
...
ref #8459
2015-06-25 15:17:06 -03:00
Claudio Sanches
fa026ea49d
Normalize the "Order #" #8305
2015-06-10 12:09:18 -03:00
Caleb Burks
b54ee1efb2
Make the hash translatable/filterable
2015-06-05 12:25:18 -05:00
Claudio Sanches
7a24f7d482
Updated template version for #8232
2015-05-27 12:02:38 -03:00
Nicola Mustone
2c940e2299
Fix fatal error
2015-05-27 16:35:16 +02:00
Jörn Lund
b774e46659
add action hook for lostpassword_form
...
Similar to registration form. see file `templates/myaccount/form-login.php`. Will allow additional captcha testing for example.
2015-03-20 17:44:11 +01:00
Paul Wilde
c913316f8b
Introduce wc_get_page_permalink.
2015-02-15 19:13:22 +00:00
Mike Jolley
ca3d3f7f33
Fix logout endpoint
2015-01-06 14:07:26 +00:00
Gregory Karpinsky
975795119b
wc_get_endpoint_url instead of wp_logout_url
2014-11-23 13:42:38 -05:00
claudiosmweb
744f80e0c6
Fixed password reset handler
2014-11-19 16:57:26 -02:00
Mike Jolley
2b8be95360
Remove # (hash) from get_order_number and add to strings instead as needed.
...
Most places use Order #X
Some places use Order Number: X
Both are now valid.
Fixes #6518
2014-10-24 14:53:43 +01:00
claudiosmweb
8a9e3d7e4f
[2.2] fixed edit account page fields, closes #6577
2014-10-21 11:31:17 -02: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
Gerhard
9645519f0f
Bump template version for nonce name change.
2014-10-21 09:03:17 +02:00
Gerhard
1c46b7324a
Register nonce used same name as register form button.
2014-10-21 08:50:23 +02:00
Gerhard
22cffec564
Revert nonce fieldname to original.
2014-10-21 08:30:30 +02:00
Gerhard
3b1ccbc23b
Added var to wrong funciton :|
2014-10-20 09:41:28 +02:00
Gerhard
1fdff91114
Make edit account details nonce unique to customer.
2014-10-20 09:35:54 +02:00
Nicola Mustone
6e9176a5bf
Fix disable password submitting twice
2014-10-16 21:59:45 +02:00
James Koster
0fa63d6da0
responsive orders table and adds .shop_table_responsive. closes #5121
2014-10-02 20:44:38 +01:00
shivapoudel
fbf0314bb6
Absolute path should have curly braces - part 1
2014-09-22 22:16:03 +05:45
claudiosmweb
066eb3c5b0
fixed wc_get_order_status_name() appear as wc 2.1 order status
2014-09-12 10:01:49 -03:00
Remi Corson
b126cc1c63
fixed order status translation
2014-09-11 08:39:00 +02:00
Bryce
101b0eb2e0
Added actions before and after all available downloads
...
For `my-downloads.php` template file
2014-08-21 20:12:02 +07:00
Barry Kooij
6655188f0b
Changed use of get_order with wc_get_order
2014-08-15 14:29:21 +02:00
Tamara Zuk
6da6a6357f
Separate edit address forms for billing and shipping
2014-08-08 20:35:12 -04:00
Tamara Zuk
cc7e64c139
Add before/after edit address form actions
...
Introduce woocommerce_before_edit_address_form' and
'woocommerce_after_edit_address_form' actions
2014-08-08 20:23:55 -04:00
Mike Jolley
755001f19b
Use order types where required
2014-07-11 12:43:42 +01:00
Coen Jacobs
86a4add087
Merge remote-tracking branch 'upstream/master' into order-factory-refactor
...
Conflicts:
includes/class-wc-order.php
2014-07-03 13:38:55 +02:00
Mike Jolley
12cf9edd52
Edit account form hooks
...
Fixes #5676
Closes #5677
2014-07-02 14:48:23 +01:00
Coen Jacobs
89ea6c46ab
Replace new WC_Order calls with get_order
2014-06-13 15:24:51 +02:00
Mike Jolley
e0a74fffc4
implement is_status()
2014-05-30 17:43:21 +01:00
Mike Jolley
fca32a98de
Implement is_status functions and update_status
2014-05-30 17:16:22 +01:00
Mike Jolley
05b9b8af4e
get_status_name + my_orders
2014-05-30 16:29:44 +01:00
Yakir Gottesman
6fa1c6efd9
Update form-login.php
2014-05-28 21:00:52 +03:00
Yakir Gottesman
54aec6ee28
Update form-login.php
2014-05-28 20:57:03 +03:00
Yakir Gottesman
2940a35509
RTL the spam trap
...
Avoids horizontal scroll on rtl. (and some minor code styling)
2014-05-28 20:50:26 +03:00
Mike Jolley
ec8ec7b9d6
Merge pull request #5487 from splashingpixels/myaccount
...
[2.1.x] removed unecessary localization from edit account fixes #5485
2014-05-22 10:04:59 +01:00
Cammy-the-block
4aec620ed3
Fixed my account setting values to wrong user submitted strings.
2014-05-15 19:42:07 -07:00
splashingpixels
4bd0350794
removed unecessary localization from edit account fixes #5485
2014-05-15 05:59:11 -07:00
Mike Jolley
45f1c8a40f
Merge pull request #5359 from splashingpixels/feature-edit-password
...
added a check for current password on password change closes #5177
2014-04-23 11:39:01 +01:00
Mike Jolley
2592ad64d8
Print notices in view order template Closes #5348
2014-04-23 11:37:09 +01:00
Mike Jolley
c24ca386cc
Template cleanup
2014-04-23 11:37:05 +01:00
splashingpixels
fde72164a4
added a check for current password on password change closes #5177
2014-04-22 12:01:57 -07:00
Mike Jolley
937db45913
[2.2] Merge ship to billing and billing only options
...
+ update options, update files to use new option + function Closes #5284
2014-04-08 16:28:27 +01:00
splashingpixels
1e998f776e
template coding standard fixes
2014-04-07 19:29:39 -07:00
splashingpixels
ff5384714f
myaccount registration added check for auto generate password option
2014-04-01 19:45:25 -07:00
splashingpixels
4e0e184d5a
form-login form values were not persistent after failed submission
2014-03-17 09:55:41 -07:00
Mike Jolley
c0c21c8364
Unify textdomains Closes #4814
2014-02-17 13:14:45 +00:00
Mike Jolley
0ddff220d5
Make my-account/view-order use the template file
2014-02-17 09:44:45 +00:00
Mike Jolley
29ef76c17c
Removed change password template and shortcode class - no longer used.
...
Change password is built into the edit-account endpoint. @coenjacobs
@hlashbrooke
2014-02-11 10:36:22 +00:00
claudiosmweb
6ccbd2b6f0
removed deprecated function
2014-02-09 03:05:03 -02:00
claudiosmweb
d5f840c2ed
improved the printf in my-account.php template
2014-02-05 00:57:03 -02:00
claudiosmweb
14e14787fc
redirect user in logout to my account page, fixes #4633
2014-02-05 00:55:27 -02:00
Mike Jolley
39344f2ed5
Allow gateways to change the checkout place order button text on selection. Closes #4573
2014-01-28 11:25:57 +00:00
splashingpixels
454b97080a
coding standards fixes
2014-01-22 20:36:24 -08:00
splashingpixels
b16d5195c8
coding standards fixes
2014-01-14 21:53:37 -08:00
Illimar Tambek
3fc62123a7
Check for actions before looping over them
2014-01-09 12:13:57 +02:00
claudiosmweb
c97195d0ad
fixed conding standards in templates/myaccount/my-orders.php
2014-01-04 10:45:01 -02:00
claudiosmweb
5cb3849e07
fixed the indentation in templates/myaccount/my-orders.php
2014-01-04 10:40:22 -02:00
claudiosmweb
e273026fff
introduces the woocommerce_my_account_my_orders_query filter that helps customize the query in My Orders page. fixes #4450
2014-01-04 10:36:30 -02:00
Mike Jolley
cdb1ad5e9e
On cancel, use cart page unless otherwise defined. Closes #4375
2013-12-30 14:09:50 +00:00
Roy Ho
2dcd0149db
missing ending semicolons on wp_nonce_field()
2013-12-07 10:49:53 -08:00
Mike Jolley
8ad1232d93
Use function for lost password url
2013-12-03 16:00:26 +00:00
Mike Jolley
2bd40b29b2
Humanize order number/status string Closes #4225
2013-11-27 15:53:57 +00:00
Coen Jacobs
4afbd0b556
Merge branch 'function-call-refactor'
...
Conflicts:
includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
includes/shortcodes/class-wc-shortcode-cart.php
includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Mike Jolley
b774e84e29
Revert "Replaced templates functions"
...
This reverts commit 4ce301a080
.
2013-11-25 14:16:26 +00:00
Coen Jacobs
47ae00be28
Page functions woocommerce to wc refactor
2013-11-25 15:07:22 +01:00
Mike Jolley
51ba9c393f
WC globals
2013-11-25 14:01:38 +00:00
Mike Jolley
4ce301a080
Replaced templates functions
2013-11-25 14:01:37 +00:00
Coen Jacobs
c1a439eb99
Formatting functions woocommerce to wc refactor
2013-11-25 14:34:21 +01:00
Coen Jacobs
aaa14894ca
Core functions woocommerce to wc refactor
2013-11-25 13:45:04 +01: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
35fc728090
Login form hooks Closes #4059
2013-11-13 12:12:27 +00:00
thenbrent
2fcd615f88
Update calls to wc_print_messages() function
...
Part of #4034
2013-11-12 20:59:40 -08:00
Brent Shepherd
4a7f207eff
Use new ID for add pay method form
...
Part of #3396
2013-11-05 15:36:00 -08:00
Brent Shepherd
b69066405b
Move /add-payment-method/ endpoint to /my-account/
...
Part of #3396
2013-11-05 13:02:13 -08:00
Scott Basgaard
507b7bec96
Use wp_nonce_field. $woocommerce->nonce_field is deprecated.
2013-10-26 16:39:10 +02:00
Mike Jolley
f742a91435
Rejig login form closes #4005
2013-10-25 16:10:13 +01:00
Patrick Garman
87c1c46317
Hide shipping address if shipping is disabled
2013-09-21 14:52:49 -05:00
Patrick Garman
249380562a
Don't display shipping address if shipping is disabled
2013-09-21 14:13:51 -05:00
Mike Jolley
3ee6e2fa22
Validate rules, instead of doing it by key. Closes #3792 .
2013-09-19 14:39:53 +01:00
Mike Jolley
ee0ea942d7
Merge pull request #3676 from dominic-p/view-order-template
...
Add template for single order view in my account
2013-09-17 03:49:43 -07:00
Illimar Tambek
c599c5ecbe
Add 'woocommerce_my_account_edit_address_title' filter
2013-09-17 12:14:48 +03:00
Dominic
d06a15ea72
Add a template for view order shortcode
...
Instead of hard coding the HTML into the shortcode definition.
2013-09-16 14:57:10 -07:00
Illimar Tambek
c9a6907fc6
Add woocommerce_my_account_get_addrresses filter and allow getting custom address type fields.
2013-09-10 15:39:23 +03:00
Mike Jolley
64d87cbef7
Make logout an endpoint. Still hide it from menus. Fixes #3589
...
@coenjacobs do we need to do something about this for .14? Will leave
for you next week :)
2013-08-23 16:41:02 +01:00
Mike Jolley
596f4d1a23
More login hooks Closes #3543 .
2013-07-30 13:38:45 +01:00
Mike Jolley
55150a08d8
Notices
2013-07-30 13:03:18 +01:00
Mike Jolley
725cb7714b
More endpoints for myaccount pages, and endpoint options so they can be modified. Closes #3170 .
2013-07-23 17:05:01 +01:00
Mike Jolley
79bdbbe4d0
Localisation Closes #3456 .
2013-07-19 14:46:02 +01:00
Mike Jolley
c72ae714f7
Removed nonce helper
...
@coe
2013-06-11 17:55:55 +01:00
Mike Jolley
646a8a008c
Make use of new functions
2013-06-11 15:59:54 +01:00
Coen Jacobs
e6bea70f62
Abstracted messages helper to class
2013-06-06 15:56:24 +02:00
Coen Jacobs
a09ebc9cca
Merge branch 'helpers-refactor' into core-class-refactor
...
Conflicts:
classes/class-wc-shortcodes.php
classes/shortcodes/class-wc-shortcode-change-password.php
classes/shortcodes/class-wc-shortcode-view-order.php
templates/myaccount/form-change-password.php
templates/myaccount/form-login.php
templates/order/order-details.php
woocommerce-functions.php
2013-06-06 13:55:36 +02:00