Commit Graph

152 Commits

Author SHA1 Message Date
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
Coen Jacobs 88a7f0f720 Abstracted nonce helper to class #3282 2013-06-05 15:43:24 +02:00
Mike Jolley a3c2cef3f7 Better account edit Closes #3168 2013-06-05 12:07:23 +01:00
Mike Jolley 4aef7c73ee View order page endpoint 2013-06-04 17:33:43 +01:00
Mike Jolley 820d399b2f My account registration, made registration process DRY, added notification hook for new accounts. Closes #3085 2013-06-04 16:33:05 +01:00
claudiosmweb 6adec88c40 fixed woocommerce_my_account_my_address_formatted_address filter name 2013-04-08 17:15:51 -03:00
Mike Jolley 594bc7b383 Tweak filter name #2895 2013-04-08 20:36:36 +01:00
Mike Jolley de3cce85dc Merge pull request #2895 from claudiosmweb/address_filters
Added new filters to format the address
2013-04-08 12:35:33 -07:00
claudiosmweb 2aa712ef4a added filters to format the address 2013-04-07 05:31:21 -03:00
Daniel Espinoza eb6dfe9ad4 Changes to template files that were causing validation errors. 2013-04-05 21:56:36 -05:00
Matt d6f0b02313 Tabindex -1 on anti-spam input field 2013-03-19 15:14:09 -04:00
Max Rice 61bfe201d1 Add filters to allow orders with custom statuses to be paid/cancelled 2013-03-06 18:42:48 -05:00
Mike Jolley 7cee909c70 'for' 2013-02-15 10:06:32 +00:00
Mike Jolley a98de826f0 Tidied up order display #2452 Added new line count function 2013-02-15 09:54:06 +00:00
Ken Bass 91d77c5392 Make my order filters more flexible 2013-02-14 14:33:47 -05:00
Mike Jolley 2b4c428414 actions hook for buttons. Closes #2074. 2012-12-28 20:04:18 +00:00
Mike Jolley 0fb50856b9 Account page tweaks for #2027 2012-12-23 12:19:56 +00:00
Brian Richards 3b9b100356 Clean up my-account template
This patch moves Available Downloads into it's own separate template
file, and moves the titles for Recent Orders and My Addresses into
their respective templates as well. This patch also adds a couple of
new hooks and filters for making templating even easier.
2012-12-20 11:34:39 -05:00
Coen Jacobs 37feabd87f WooCommerce 2.0 is coming! 2012-12-03 20:19:58 +01:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Mike Jolley 8c3ad31c07 Localisation spacing. 2012-10-16 10:45:33 +01:00
Coen Jacobs 943091d2ca [3.1.4] Prevent direct access to files #1575 2012-10-15 12:57:58 +02:00
Mike Jolley 3367403772 tweaks to password 2012-10-10 10:32:22 +01:00
Mike Jolley 07c9537fbb Merge pull request #1568 from maxrice/lost-password
added lost password shortcode / email notification
2012-10-09 22:09:25 -07:00
Mike Jolley 0d6c533484 Hooks for downloads. Closes #1536. 2012-10-09 14:00:08 +01:00
Max Rice 2faa4d651b added lost password shortcode / email notification
I think the current process for a customer to reset their password is
jarring, especially if the shop hasn't styled the wordpress login form
to match their branding. The form process is mainly copied from the
same process in wp-login.php and fires the same actions to maintain
compatibility.
2012-10-04 14:51:07 -04:00
Mike Jolley b4132a1adf Revert "Merge pull request #1414 from dasongoh/patch-1"
This reverts commit 2d8193acfd, reversing
changes made to a0217e15ed.
2012-08-23 11:43:55 +01:00
dasongoh a28d11e737 Update templates/myaccount/my-orders.php
Short of one <th> (total 4, should be 5) in <thead> for corresponding <td> (total 5). Table headers misalignment.
2012-08-23 18:41:19 +08:00
Mike Jolley ef7ec98f2e templates 2012-08-14 23:43:54 +01:00
Mike Jolley 9acb170520 Option to register using the email address as the username instead of entering a username. Closes #1027. 2012-08-10 12:15:32 +01:00
Coen Jacobs 863918f7f4 Revert "Moved # character in translatable order strings. Closes #1161"
This reverts commit f6c83fe6aa.
2012-06-20 19:18:16 +02:00
Coen Jacobs f6c83fe6aa Moved # character in translatable order strings. Closes #1161 2012-06-20 19:14:33 +02:00
Mike Jolley 5d9e4b9e82 Added hook for recaptcha. Closes #1136. 2012-06-10 14:26:07 +01:00
Mike Jolley 0fce6aecaa localisation issues Closes #1106. 2012-06-06 21:35:40 +01:00
albertorrent 521aa024af Update master 2012-06-06 02:40:16 +03:00
Brent Shepherd 6df9fff54d Adding "Replacing instances of "woocommerce_price($order->order_total)" with new WC_Order::get_formatted_order_total() function. 2012-04-27 12:22:19 +10:00
Mike Jolley 7ccefed4d7 View order tweaks
* Tweak - Changed recent order tables to make them slightly more compact
* Tweak - Moved recent order table to a template file
* Tweak - Improved default view-order page when order id is not defined
- instead of stating "invalid order" it will list recent orders
2012-04-09 23:57:57 +01:00
Mike Jolley e19f46c79d Add new terms + printf vs echo sprintf Closes #138. 2012-04-09 00:57:38 +01:00
Mike Jolley 659d3ee3b4 get order number function complete with filter. Tweak the display of order ID's if you use custom numbering.
Had to tweak some localisation strings to dump the '#' symbols.
2012-03-26 11:26:50 +01:00
Mike Jolley 8212e768f7 Option to reorder items by GeertDD
Removed the my account links because it was a bit busy there, + you
cannot see the items in the order anyway.
2012-03-15 00:25:51 +00:00
Geert De Deckere b3933a3407 Added nonce check 2012-03-14 15:00:09 +01:00
Geert De Deckere 0b53bc07b0 Started building the possibility for a customer to place a previous order again 2012-03-14 13:48:49 +01:00
Mike Jolley 02fe1b5889 Default values for my account 2012-02-29 10:07:53 +00:00
Mike Jolley 59c7ca1189 My account remembers post data upon error 2012-02-27 18:47:31 +00:00
Mike Jolley 01bc65dc7f Minor tweaks + disable shipping option turns off shipping address display 2012-02-27 15:02:44 +00:00
Mike Jolley 82cc872247 Missing errors 2012-02-26 11:49:43 +00:00
Mike Jolley 04fde0a603 Improved edit address. Closes #689. 2012-02-22 21:06:08 +00:00
Andrew White fb6e50f942 Add classes to My Orders table so table can be styled easier 2012-02-10 05:15:54 +00:00
Geert De Deckere 82f0e24204 Missing paragraph tags on the account page 2012-02-09 11:31:21 +01:00
Mike Jolley 3b5272e72e Improved template loader 2012-02-03 16:42:21 +00:00
Mike Jolley 35fadb00fe More consistent template file naming, broken checkout into templates 2012-01-29 13:36:33 +00:00
Mike Jolley 0836ce04db Better class names (final) 2012-01-27 16:38:39 +00:00
Mike Jolley 1f89670da2 Date fixes 2012-01-25 15:23:32 +00:00
Geert De Deckere 7706ecfe7b Starting class names with a capital. Closes #519. 2012-01-21 10:07:54 +01:00
Mike Jolley ef0ce00090 security fix 2012-01-18 17:19:04 +00:00
Mike Jolley 23a3776f04 Tweaks to order/validation class to improve performance 2012-01-13 00:46:56 +00:00
James Koster c82fa1ae79 Removed incorrect capitalisation 2012-01-12 15:28:02 +00:00
Mike Jolley bc91c1433b Goodbye &new. Closes #475. 2012-01-10 15:11:06 +00:00
Mike Jolley aba310f321 WPML filters #244 2012-01-06 17:14:31 +00:00
Mike Jolley f74e041a30 Renamed textdomain Closes #444. 2012-01-05 11:31:22 +00:00
Mike Jolley 3fe3fffe90 Address. Closes #301. Closes #395.
Improved checkout processing.
Made edit-address use the locale specific address fields.
2011-12-21 16:03:45 +00:00
Mike Jolley 17a59bf3ec Formatted address function + added to my account 2011-12-18 01:29:10 +00:00