Commit Graph

756 Commits

Author SHA1 Message Date
Scott Basgaard 507b7bec96 Use wp_nonce_field. $woocommerce->nonce_field is deprecated. 2013-10-26 16:39:10 +02:00
Bernard Peh 09155c490f same issue as #4005 but on different template. 2013-10-26 08:02:08 +11:00
Mike Jolley c7429357c7 Fix notices and rounding issues in orders 2013-10-25 20:02:21 +01:00
Mike Jolley f742a91435 Rejig login form closes #4005 2013-10-25 16:10:13 +01:00
Mike Jolley 8fcb35c5dc Merge pull request #4008 from RistoNiinemets/master
additional customer details hook
2013-10-25 07:56:04 -07:00
RistoNiinemets 388e962dc9 additional customer details hook 2013-10-25 13:54:49 +03:00
Mike Jolley e143d344e5 Constants 2013-10-24 19:36:22 +01:00
Mike Jolley c3aba912db Merge pull request #3975 from samuelaguilera/patch-1
Changed id for payment_method_$gateway from <input> to <li>
2013-10-22 05:33:35 -07:00
Mike Jolley d41979a5d0 Merge pull request #3976 from samuelaguilera/master
Changed id for payment_method_$gateway from <input> to <li>
2013-10-22 05:33:28 -07:00
samuelaguilera 301d8e1820 Changed id for payment_method_$gateway from <input> to <li>
Changed CSS ID for payment_method_$gateway from radio button to <li> container. This allows to apply custom CSS style for all elements of gateways. And not only to radio button (that has no sense).
2013-10-21 23:46:00 +02:00
samuelaguilera ef452e9384 Changed id for payment_method_$gateway from <input> to <li>
Changed CSS ID for payment_method_$gateway from radio button to <li> container. This allows to apply custom CSS style for all elements of gateways. And not only to radio button (that has no sense).
2013-10-21 23:40:44 +02:00
Mike Jolley 5d2e1ac031 Refactor coupon code so coupons get the actual discount amount, redone edit coupon screen with tabs, added coupon item limits which Closes #3902 2013-10-18 18:10:58 +01:00
Mike Jolley 4cabf24422 needs_payment for 2.1 #3928 2013-10-16 14:14:15 +01:00
Mike Jolley 004e556e18 Check product var is set 2013-10-16 10:52:35 +01:00
Mike Jolley 08bfd6b4d7 woocommerce_before_single_variation and after. Removed un-needed div. Closes #3906 2013-10-16 10:41:23 +01:00
Mike Jolley 5c96af4ff9 #3921 2013-10-15 16:27:57 +01:00
James Koster 13bcae2d63 returning customer login. closes #3903 2013-10-10 10:29:16 +01:00
Mike Jolley 5c8d8bbda9 fix urls 2013-10-02 13:04:28 +01:00
Gregory K 6f43712d06 Fixed spacing in () (again) 2013-09-25 12:14:35 -04:00
Gregory K 7e76ed7205 Fixed spacing in () 2013-09-25 11:49:51 -04:00
Gregory K 93e0107aff Fix product links in Cart when no variation 2013-09-25 10:48:51 -04:00
Mike Jolley ef49977905 add_to_cart_url add_to_cart_text and single_add_to_cart_text class methods allowing greater control with custom classes.
Closes #3484 and Closes #3143. Pinging @thenbrent as the handler was
originally his idea and I've killed it.

@helgatheviking In 2.1, add to cart URLs will only be used in loops, so
conditonal logic should no longer be neccessary. Single templates post
to themselves without the need for the URL.
2013-09-25 12:35:06 +01:00
Mike Jolley e58b101fd5 If no variations exist, show out of stock notice. Closes #3763. 2013-09-25 09:36:04 +01:00
Mike Jolley 9a98be6a15 WOOCOMMERCE_DELIMITER constant. Closes #3476. 2013-09-24 12:24:26 +01:00
Mike Jolley a5d71a8113 Fix for submitting comments 2013-09-24 11:48:42 +01:00
Mike Jolley 9b446508a7 Merge pull request #3823 from tivnet/master
Use get_the_title() instead of $post->title
2013-09-24 03:45:14 -07:00
Gregory K c401ac98e7 Use get_the_title() instead of $post->title, because there could be 'the_title' filters 2013-09-23 19:10:14 -04:00
Mike Jolley 0a3cdc43ca Include a link to admin. Closes #3796 2013-09-23 16:51:43 +01:00
Mike Jolley 622715ec36 Option for itemized vs grouped taxes. Closes #3453. 2013-09-23 16:10:09 +01:00
Mike Jolley ed87e72947 Merge pull request #3815 from pmgarman/master
Don't display shipping address if shipping is disabled
2013-09-23 07:51:37 -07:00
Mike Jolley 06ef44c9df Pass args to variation forms from cart page. Closes #3568 2013-09-23 15:47:47 +01:00
Patrick Garman 87c1c46317 Hide shipping address if shipping is disabled 2013-09-21 14:52:49 -05:00
Patrick Garman 52cf2b7628 Hide shipping address if shipping is disabled 2013-09-21 14:51:06 -05:00
Patrick Garman 249380562a Don't display shipping address if shipping is disabled 2013-09-21 14:13:51 -05:00
Mike Jolley 96a7a4b730 Restructure 'file_paths' to allow for names (Closes #3320) etc. For #2765.
@coenjacobs @justinstern @maxrice These are major changes - CC ing you
guys in to take a quick look through. I know some extensions such as
vouchers will be affected.
2013-09-20 17:01:09 +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 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
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 7cf3c67c76 Wrapper for wp_get_post_terms to handle parent sorting. Closes #3762. Closes #3758
@coenjacobs for .15
2013-09-13 12:07:58 +01: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 c9a6907fc6 Add woocommerce_my_account_get_addrresses filter and allow getting custom address type fields. 2013-09-10 15:39:23 +03:00
Patrick Rauland b6fa3e913b fixing unescaped character in date function 2013-09-06 15:35:21 -05:00
Illimar Tambek cab01adea7 Show woocommerce messages in empty cart. Fixes issues when a message is queued to be displayed and user is redirected to cart page where he/she can not see any messages. 2013-09-06 17:31:41 +03:00
Mike Jolley a92e3b497a Missing line break in email Closes #3727 2013-09-06 10:20:26 +01:00
Mike Jolley bfc2b52d10 Ensure product image has title 2013-09-04 14:17:17 +01:00
claudiosmweb 92b8dc48fa fixed indentation 2013-08-25 16:04:16 -03:00
claudiosmweb 78504f5373 update inline documentation in content-product.php and content-single-product.php 2013-08-25 16:02:44 -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 27053e1abd escaping 2013-08-22 17:20:28 +01:00
Mike Jolley 3d078397b3 Merge branch 'Re-organise-settings'
Moves settings together. Fixes #3497
2013-08-22 11:58:03 +01:00
Mike Jolley 5f2e489944 simpler woocommerce_get_product_schema function.
Closes #3297.
2013-08-20 13:52:06 +01:00
Mike Jolley 2e6aaa9ede Hide password protected posts from loop, prevent adding to cart, hide product content. Closes #3617. 2013-08-19 18:19:27 +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
Mike Jolley 2b31cdb360 Cart item data templates Closes #3216. 2013-08-13 14:14:24 +01:00
Mike Jolley ea7b12a366 Merge pull request #3596 from ninnypants/fix_product_result_count
Fix result count display when posts_per_page is set to -1 @coenjacobs .14
2013-08-09 03:00:47 -07:00
Mike Jolley b2b64b9d06 Let hooks know if email is plain text 2013-08-07 10:19:46 +01:00
ninnypants bae61b8e1a Fix result count display when posts_per_page is set to -1
When your posts_per_page is set to -1 the display is output as `Showing 1–-1 of 15 results` when displaying all items when it would be better to show `Showing all 15 results`
2013-08-06 16:06:18 -06:00
James Koster 719acf5104 review gravatar size filterable & added alt text 2013-08-05 13:54:27 +01:00
Mike Jolley 03af136986 Separate ship to options from sell to. Closes #3215. 2013-08-02 16:54:28 +01:00
Mike Jolley 9f1c14c682 Tidied comment styling and only show stars if set Closes #2906. 2013-07-31 09:44:28 +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 45ec540236 fix notice with sku 2013-07-30 11:39:25 +01:00
Mike Jolley 15f98496f1 Ensure sku placeholder exists for variable products Closes #1734. 2013-07-30 11:12:47 +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 7221cc1a26 woocommerce_review_order_before_payment hook. #3501 2013-07-22 18:06:03 +01:00
Mike Jolley 8c57fce84d Fix rich snippets for sale prices. Closes #3470. 2013-07-19 15:28:47 +01:00
Mike Jolley 08ef109e28 Related were limited to 5. Closes #3462 2013-07-19 14:50:52 +01:00
Mike Jolley 79bdbbe4d0 Localisation Closes #3456. 2013-07-19 14:46:02 +01:00
Mike Jolley f23f536f12 Logic for additional info header 2013-07-11 16:11:28 +01:00
Mike Jolley c9f051dee2 Cart empty classes. Closes #3357. 2013-06-28 10:10:13 +01:00
Mike Jolley efb7c98067 woocommerce_product_review_list_args 2013-06-18 11:02:06 +01:00
Mike Jolley 3b5d8b7d41 Futher standardisation of cart and order loops. Closes #3348. 2013-06-17 12:21:24 +01:00
Mike Jolley 1e94bbc990 Review nonce. Closes #3324. 2013-06-14 16:15:26 +01:00
Mike Jolley b38ef8efcd No add to cart redirect, and use POST for add-to-cart Closes #3200 2013-06-14 12:48:41 +01:00
Mike Jolley 0539f808bf Remove need for pre-ambles - standardize hooks. Closes #3181. 2013-06-14 12:21:38 +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 ef2edd5de7 Merge pull request #3288 from woothemes/core-class-refactor
Further core class refactor
2013-06-11 02:48:55 -07:00
claudiosmweb 414b971907 fixed the noreviews L10n 2013-06-10 03:51:43 -03: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
Mike Jolley cea7037b56 Canonicalize Cross-Sells invokation Closes #2913 2013-06-05 17:29:10 +01:00
Coen Jacobs 74fcf1a1d4 Abstracted attribute helper to class #3282 2013-06-05 16:14:25 +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 0b9689f73a Get rid of un-useful options. 2013-06-05 11:13:36 +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
Mike Jolley a7ba197fb7 Generate usernames and passwords.
Closes #3085. Closes #3155. Part of #3248.
2013-06-03 17:28:32 +01:00
Mike Jolley ef49fd62df Tweak account options 2013-06-03 16:09:04 +01:00
Mike Jolley ac51ebf2b8 Revised checkout shipping process. Checkbox within heading. Closes #2571. 2013-05-28 14:19:08 +01:00
Coen Jacobs 6f737227ff Rename Shipping also on checkout #3160 2013-05-21 12:23:56 +02:00
valllabh 9c4326083b #3160 Fixed
#3160 Fixed

Renamed "Shipping" to "Shipping and Handling"
2013-05-16 18:38:34 +05:30
Mike Jolley 6fc0d27006 content-widget-product.php template for product lists inside core widgets Closes #3133 2013-05-13 15:12:12 +01:00
Coen Jacobs bb68ce7fd2 Added filter to explicitly hide terms agreement checkbox. Closes #3088 2013-05-13 13:41:52 +02:00
Tiago Noronha 9a37a01bc9 Prevents 'undifined' from showing up in Lightbox 2013-05-10 11:37:55 +01:00