Mike Jolley
b569bd2caa
Unique nonce names
...
@claudiosmweb Fixes #11068
2016-06-08 13:19:30 +01:00
Mike Jolley
b96451e808
Remove navigation actions and content wrappers
2016-06-06 12:05:37 +01:00
Mike Jolley
5d9951e7a2
Dashboard content
2016-06-06 12:05:24 +01:00
Mike Jolley
dd4216d32d
Content hook only (woocommerce_account_content)
2016-06-06 12:05:18 +01:00
Claudio Sanches
8666b3da01
Keep the old class of edit account form
...
Scripts like password-strength-meter.js needs this class.
cc @jameskoster
2016-06-01 18:48:50 -03:00
Antonino Scarfì
c8527468c5
Use hook to include navigation.php template
2016-05-30 15:16:26 +02:00
Claudio Sanches
e39274e753
HTTPS for everybody
2016-05-26 22:48:49 -03:00
Mike Jolley
cc41c38ff8
Tweak page titles on account pages
2016-05-24 19:09:07 +01:00
Tamara Zuk
c6b74b433c
[2.6] My Account forms: add before/after actions
...
These additional actions allow third-party code to add content to the
tab without adding inside the `<form></form>` element.
2016-05-23 15:47:50 -04:00
Mark
9cf6d7c01c
update action names from myaccount to account
2016-05-22 14:04:21 +02:00
Mark
089ce32577
Add action hooks to myaccount/navigation.php
...
Added a before and an after action hook, so that users can add their own stuff.
2016-05-20 14:00:42 +02:00
Akeda Bagus
6e97b17a2b
Added row class for each payment method and extra one for default one.
...
Fixes #10946 .
2016-05-19 16:09:13 +07:00
Beka Rice
17eae30bf9
[2.6] Add notice to My Account > Downloads..
...
…when no downloads are present; consistent with “Orders” empty notice
2016-05-17 15:44:56 -04: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
James Koster
9decc9b673
bumping the template version due to new classes
...
Just in case a third party plugin interacts with these sections
2016-04-21 17:42:02 +01:00
James Koster
04539d1ab3
button class names in account orders pagination
2016-04-17 18:16:13 +01:00
James Koster
9e65542d98
Apply Suit CSS naming conventions to classes in account area. closes #10660
2016-04-15 15:11:14 +01:00
Claudio Sanches
7b6d5a8fd9
Fixed $has_orders on orders.php template, closes #10671
2016-04-11 16:03:09 -05:00
James Koster
475992e595
Add links to the welcome message on my account.
2016-04-08 09:16:26 -05:00
James Koster
42ed4e0301
adds info class to 'no saved methods' notice in the account section.
2016-03-16 19:05:00 +00:00
Mike Jolley
2e0f151039
Merge branch 'master' into wc-get-orders-10500
...
# Conflicts:
# includes/wc-order-functions.php
# includes/wc-template-functions.php
# templates/myaccount/my-orders.php
# templates/myaccount/orders.php
2016-03-09 16:23:01 +00:00
Mike Jolley
cc97de2315
Revert "Implement wc_get_orders() function"
...
This reverts commit 5075d4bab3
.
2016-03-09 16:16:22 +00:00
Mike Jolley
d3f98dce03
More advanced customer filter
...
#10500
2016-03-09 14:50:34 +00:00
Mike Jolley
5075d4bab3
Implement wc_get_orders() function
...
#10500
2016-03-09 13:25:42 +00:00
Justin Shreve
cb68f41ed0
Fix up based on Mike's feedback:
...
* Made CVC field form-row-last
* Make CC & EC methods abstract
* Change label on add new payment method button
* remove groupings in account settings
2016-03-04 04:32:38 -08:00
Justin Shreve
e3d7e206d0
Create a function for getting correctly formatted credit card type labels (MasterCard, American Express, etc)
2016-03-01 11:49:42 -08: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
Justin Shreve
9db1f65196
Hook up the payment token API to the my account > payment methods tab
2016-03-01 11:49:41 -08:00
Claudio Sanches
50d087b9ba
Do not render payment methods yet, waiting for Payment Token API
2016-02-16 14:36:52 -02:00
Claudio Sanches
c60722f65c
Updated header text of my account templates
2016-02-16 14:11:50 -02:00
Claudio Sanches
3d41a7d544
New actions for account downloads template
2016-02-16 13:57:46 -02:00
Claudio Sanches
bcc9dd4658
Introduces new actions for account orders
2016-02-16 13:57:46 -02:00
Claudio Sanches
ad16a26af5
Deprecated my-downloads
2016-02-16 13:57:46 -02:00
Claudio Sanches
2de00c61ff
Added account endpoint for customer payment methods
2016-02-16 13:57:46 -02:00
Claudio Sanches
daf2f92a8c
Added dashboard menu item and created function to get menu item classes
2016-02-16 13:50:06 -02:00
Claudio Sanches
d193caa987
Better pagination for account > orders
2016-02-16 13:50:06 -02:00
Claudio Sanches
36c0b6047a
Less "my" and more "ours"
2016-02-16 13:50:06 -02:00
Claudio Sanches
564f882fee
Fixed typos
2016-02-16 13:50:06 -02:00
Claudio Sanches
3a3380e4ab
Created account downloads endpoint
2016-02-16 13:50:06 -02:00
Claudio Sanches
08048b6d1c
Added better links for orders pagination
2016-02-16 13:50:06 -02:00
Claudio Sanches
489000a3c2
Improved variables in myaccount/orders.php template
2016-02-16 13:50:06 -02:00
Claudio Sanches
02e3c6362d
Created my account > orders template
2016-02-16 13:50:06 -02:00
Claudio Sanches
42454179b6
Deprecated my-account actions and added new dashboard action
2016-02-16 13:50:06 -02:00
Claudio Sanches
211c379af6
My account initial navigation
2016-02-16 13:50:06 -02:00
Mike Jolley
bd4c90dbec
Docblocks
...
Fixes #10336
2016-02-12 11:28:44 +00:00
Mike Jolley
352184cc06
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# i18n/languages/woocommerce.pot
# includes/abstracts/abstract-wc-payment-gateway.php
# includes/abstracts/abstract-wc-shipping-method.php
# includes/admin/settings/class-wc-settings-shipping.php
# includes/wc-core-functions.php
# uninstall.php
2016-02-05 14:58:48 +00:00
Claudio Sanches
4f3ef79b8c
Added password strength meter to my account > edit account page
...
Closes #10103
2016-01-22 17:33:35 -02: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
0049415797
[2.5] get_currentuserinfo() is deprecated in WP 4.5
2016-01-18 14:42:01 +00:00
Mike Jolley
97d47fb576
Move zones to main settings
2016-01-05 11:23:15 +00:00
Mike Jolley
ec01c3d76f
Made "my orders" columns fully customisable for filters.
...
woocommerce_my_account_my_orders_columns filter used to define columns
and woocommerce_my_account_my_orders_column_ID to add content to said
column.
Removes the need for and thus Closes #9634 and closes #9633
@claudiosmweb
2015-11-27 12:54:28 +00:00
mitogh
4d86d8a6ad
Add strict comparission on another templates
2015-11-14 20:35:00 -06:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Claudio Sanches
455c076788
Removed extra more spaces #9319
2015-10-09 11:16:25 -03:00
nishitlangaliya
a45ef9f814
fixes: done changes using dom operation. ref #8938
2015-10-08 20:14:53 +05:30
nishitlangaliya
2dcd391c21
fixes: If password field is enabled, enforce strong passwords ref #8938
2015-10-07 16:47:13 +05:30
Caleb Burks
ee2757c08f
Specific template override paths
2015-10-03 02:58:08 -05:00
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