Commit Graph

968 Commits

Author SHA1 Message Date
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
ronnybjornstad 1abd5287bd Make date in Customers Order Notes localized
Added missing localization code to line 37.
2013-05-07 16:12:38 +03:00
Coen Jacobs f03735d8f6 Add 'woocommerce_create_account_default_checked' for #3098 2013-05-06 12:03:31 +02:00
Mike Jolley 91ab91cfe6 Reverse breadcrumbs Closes #3065. 2013-05-01 15:38:40 +01:00
Mike Jolley 1630a1d1af Separate with line breaks. Closes #3049 2013-04-29 16:47:33 +01:00
Mike Jolley 62c38fb7eb form-row-wide Closes #3028. 2013-04-29 15:51:17 +01:00
Mike Jolley a0a0c93fb4 Merge pull request #3037 from scarydakis/master
Fix incorrect CSS class being output in product image gallery
2013-04-29 01:50:48 -07:00
Stephan 769fada460 Update product-image.php
Fix to correctly calculate $attachment_count
2013-04-27 00:42:41 +10:00
Mike Jolley 77aa394093 Prevent empty meta queries by filtering. Closes #2978. 2013-04-17 16:29:43 +01:00
Mike Jolley 003dab8525 Better workaround for #2975 2013-04-16 15:39:07 +01:00
Mike Jolley 6a96cc5d4c Less fugly conditonal. 2013-04-16 14:47:16 +01:00
Mike Jolley c211603fc9 Fix saving options for attribute taxonomies containing special chars. Closes #2975. 2013-04-16 14:41:23 +01:00
Mike Jolley 6924817c22 City field on shipping calc 2013-04-15 11:35:31 +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
Mike Jolley b183fb2fb7 Better breadcrumbs Closes #2882 2013-04-08 20:10:55 +01:00
Mike Jolley ccf31dde34 Merge pull request #2898 from deliciousbrains/bug-query-string-in-file-name
Fixes #2897: Long query string displayed as part of download file name
2013-04-08 11:51:23 -07:00
Mike Jolley f930ab27b6 More validation fixes. #2903. 2013-04-08 19:35:10 +01:00
Mike Jolley 0b87c37c7b Merge pull request #2889 from growdev/master
Fixes to template files that were causing validation errors.
2013-04-08 10:57:02 -07:00
Mike Jolley 57054b03d5 Orders dont' need to be public, and fix for order details when product does not exist. 2013-04-08 17:54:16 +01:00
Daniel Espinoza e0f6d5dfe0 Merge branch 'master' of github.com:woothemes/woocommerce 2013-04-08 10:46:55 -05:00
James Koster b5959a5d20 filters for cross-sell display 2013-04-08 11:46:11 +01:00
Brad Touesnard f6892a676c Fixes #2897: Long query string displayed as part of download file name 2013-04-07 15:13:47 -03: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
James Koster aebcf3ded6 twentythirteen bits 2013-04-05 16:17:41 +01:00
Mike Jolley d5480ba408 woocommerce_show_page_title filter closes #2850 2013-04-05 13:02:48 +01:00
Roy Ho 83a794bb68 Added filter hook on place order button for easy 3rd party manipulation 2013-04-01 16:45:28 -07:00
Mike Jolley bb1c532218 filename, break query string off 2013-03-28 12:31:48 +00:00
Mike Jolley a9af966f59 break word 2013-03-28 12:30:21 +00:00
Mike Jolley c752ba4a9f Merge taxes by CODE so totals are displayed clearer. Also added additonal function for getting merged tax totals, and to keep compatibility with themes. #2815 2013-03-27 18:21:06 +00:00
Mike Jolley c227c97417 Merge pull request #2760 from Geczy/master
Tabindex -1 on anti-spam input field
2013-03-22 11:00:23 -07:00
James Koster 0e639c47fb Disabled keyboard shortcuts in prettyPhoto. Closes #2770
Not happy with this. The keyboard_shortcuts paramater doesn't seem to
work so had to disable in core which hits all instances of prettyPhoto.
Will revisit.
2013-03-22 00:24:00 +00:00
Mike Jolley 1853d639a8 Change filter name as its not neccessarily just for checkout. 2013-03-20 13:07:51 +00:00
Mike Jolley 3f7876063e Made no shipping available messages filterable via woocommerce_cart_no_shipping_available_html and woocommerce_checkout_no_shipping_available_html 2013-03-20 13:04:06 +00:00
Matt d6f0b02313 Tabindex -1 on anti-spam input field 2013-03-19 15:14:09 -04:00
Mike Jolley bb35c49c8f Merge pull request #2737 from Joris-van-der-Wel/issue2736
Fix for issue 2736.
2013-03-18 03:26:17 -07:00
Mike Jolley 41f44cac0c #2748 filters consistant with cart 2013-03-18 10:17:25 +00:00
Justin Stern f4076b888f Product Stock Filters
Added a number of filters related to product stock to allow for improved
control over the stock handling and display
2013-03-18 01:38:22 -04:00
Joris van der Wel a028cbe1be Fix for issue 2736.
Arrays in query strings are now preserved. For example ?cat[]=5&cat[]=10&cat[]=20
2013-03-16 16:05:11 +01:00
Mike Jolley 67c5fd1794 Fix reviews + use functions in reviews tab. 2013-03-15 12:59:01 +00:00
James Koster 3d3df8f70d message icon in FF & prettyPhoto nav when only one product image fix 2013-03-12 11:05:18 +00:00
Mike Jolley bc4cc8bf7e Codestyling bug with meta.php 2013-03-11 18:08:55 +00:00
Mike Jolley c247ca0bb7 Show download file names when linking. Shortens links and therefore closes #2631. cc @coenjacobs 2013-03-10 16:24:04 +00:00
Mike Jolley bfb542b930 Prepend when permalink shows shop base. Closes #2655. 2013-03-10 15:12:18 +00:00
Mike Jolley eb11384fa9 Merge pull request #2647 from leewillis77/msrp_hooks
Add additional hook to grouped product add-to-cart template
2013-03-10 06:10:44 -07:00
Mike Jolley 600f8728a0 Tweaked filter names + structure. #2659 2013-03-10 13:07:36 +00:00
Roy Ho 983f455a6d Added filters on the product image HTML and product thumbnails for 3rd party customizations 2013-03-09 13:34:52 -08:00
Lee Willis 7a8f87428c Add additional hook to grouped product add-to-cart template 2013-03-08 18:26:01 +00:00
Mike Jolley 5393fc7ddb Santize custom attributes. #2587 2013-03-07 19:34:29 +00: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 089178e0e8 escape when output, not when saved. #2587 2013-03-05 21:20:00 +00:00
Brent Shepherd b0d538636a Restore single_add_to_cart_button class 2013-03-05 14:26:59 +10:00
Brent Shepherd 3935034bc0 Fix grouped products sold individually add-to-cart
The add-to-cart button for products sold individually on a grouped
product page would always lead to the "Please choose a product to
add to your cart" error. This fixes that, and also restores th
'single_add_to_cart_text' filter to the button's text.
2013-03-05 14:22:54 +10:00
Pascal Borreli ae7899c67b Fixed typos 2013-03-03 17:07:31 +00:00
Brent Shepherd 4edd972644 Use handler for add-to-cart button text also
Related to SHA: bd78ca6
2013-03-01 14:52:04 +10:00
Mike Jolley 69db6a4262 Login form initial state. Closes #2505. 2013-02-25 10:17:16 +00:00
Mike Jolley aa250f35a7 Hook should be after messages. #2510 2013-02-25 10:10:11 +00:00
Ken Bass edc53f4624 Add encompassing hooks to cart and mini-cart 2013-02-22 13:14:59 -05:00
Mike Jolley c086d7236a Initial display Closes #2505. 2013-02-22 08:55:48 +00:00
James Koster 90d7e20d6e no products found class
left loop-shop as it's deprecated
2013-02-16 19:41:23 +00:00
Mike Jolley e4eb7e295c Un-needed clear 2013-02-15 10:06:41 +00: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
Mike Jolley d7cda7ffd3 Merge pull request #2452 from krbvroc1/order_status_actions
Make my_order filters more flexible
2013-02-15 01:12:40 -08:00
Ken Bass 91d77c5392 Make my order filters more flexible 2013-02-14 14:33:47 -05:00
Mike Jolley 858465b991 Fix lightbox Closes #2451. 2013-02-14 17:12:21 +00:00
Mike Jolley 18ab00d10d escape for #2441 2013-02-14 16:50:45 +00:00
yitzchak 2086c66d22 Update templates/loop/add-to-cart.php
Added data-product_sku attribute to allow SKU tracking in analytics from shop loop.
2013-02-13 14:29:33 -05:00
Mike Jolley 30e6beb861 Fix buttons and externals. Closes #2437. 2013-02-13 09:29:00 +00:00
Mike Jolley 29eb289c3b Tweak messages #2430 2013-02-12 11:49:26 +00:00
Mike Jolley 3a43c231f5 Revert "Remove deprecated loop-shop"
This reverts commit 927229a835.
2013-02-12 10:54:40 +00:00
Mike Jolley b67492fe68 Hide thumbnails when empty. Closes #2409. 2013-02-11 14:17:57 +00:00
Mike Jolley bc51d5652b Put back coupon option. 2013-02-11 13:53:24 +00:00
Mike Jolley 7a84ddd6c1 Tidied up settings, removed some un-needed settings, and made some settings automatic e.g. coupons disabled if no coupons exist 2013-02-10 23:02:52 +00:00
Mike Jolley be254db6f9 no products found 2013-02-10 23:01:09 +00:00
Mike Jolley b1b1afbaeb Move tabs file 2013-02-10 18:49:22 +00:00
Mike Jolley 3e5b4141f6 Refined the way in which tabs are added to products 2013-02-10 17:33:13 +00:00
Mike Jolley 55d2237d9f Rename sorting template 2013-02-10 17:32:45 +00:00
Mike Jolley bf5c90e2ba Remove pagination hook - use after loop instead. 2013-02-10 16:06:15 +00:00
Mike Jolley 45ea0fc852 Change template name 2013-02-10 16:05:40 +00:00
Mike Jolley 927229a835 Remove deprecated loop-shop 2013-02-10 11:12:34 +00:00
James Koster aa5db92a88 filterable breadcrumb home url 2013-02-08 17:45:39 +00:00
Mike Jolley c903e47089 Improve variation form pattern and data 2013-02-07 10:12:08 +00:00
Justin Stern 0c97536e96 Filter for Shipping Method Full Label
Adds a filter on the shipping method full label value in the cart
shipping methods template
2013-02-02 12:50:53 -05:00
James Koster f3b0530c05 anchor title 2013-02-01 12:44:40 +00:00
James Koster ac70b46867 more prettyPhoto 2013-01-31 14:15:55 +00:00
Mike Jolley a41d297f76 woocommerce_product_review_comment_form_args filter #2316 2013-01-31 12:28:54 +00:00
James Koster 6ae394bec0 replace the rels, minify css 2013-01-30 23:56:41 +00:00
James Koster cf00520b4c step 1 of replacing Fancybox with prettyPhoto 2013-01-30 16:18:36 +00:00
Ken Bass 20bfaea36c Issue 1950 2013-01-21 10:12:15 -05:00
Mike Jolley 44013d4480 fix undefined when switching country from select to input 2013-01-16 12:46:19 +00:00
Mike Jolley 31be242a6b Fix ordering. Closes #2229. 2013-01-15 12:10:03 +00:00
Mike Jolley 192a8c5421 star ratings without images. 2013-01-14 10:51:06 +00:00
James Koster 0fdf9032ec Revert "loop ratings an option"
This reverts commit a23fde9491.
2013-01-12 15:55:52 +00:00
Mike Jolley 813f8b8c2e Merge pull request #2221 from GeertDD/sorting-optimization
Small optimization for showing the sorting selection
2013-01-12 07:21:07 -08:00
Mike Jolley b0d22c079b Merge pull request #2220 from GeertDD/sorting
Simplified code for keeping query string vars intact
2013-01-12 07:20:53 -08:00
Geert De Deckere 74b3f4d032 Small optimization for showing the sorting selection 2013-01-12 16:12:17 +01:00
Geert De Deckere 601ca30600 Simplified code for keeping query string vars intact 2013-01-12 16:08:23 +01:00
James Koster a23fde9491 loop ratings an option 2013-01-12 14:24:22 +00:00
Mike Jolley 624e8fb59a maintain vars when sorting 2013-01-12 12:24:24 +00:00
Mike Jolley 261f413405 Ratings in loops for sort by rating 2013-01-12 10:53:24 +00:00
Mike Jolley 0caca2d401 GET vars for sorting (to work better with cache) 2013-01-12 10:53:08 +00:00
Mike Jolley 1766f07c19 Meta_queries Closes #2182. 2013-01-10 16:02:04 +00:00
James Koster cf3369b7e6 Log in language 2013-01-10 15:07:10 +00:00
Coen Jacobs f9a0eddbbf found_posts always contains total queried posts. Closes #2136
So no need to check for post_count or is_paged() function.
2013-01-10 12:07:00 +01:00
Geert De Deckere 28b0a5ba60 Moving custom product classes to the post_class filter 2013-01-09 15:15:25 +01:00
James Koster cdb98d479c changed class to avoid conflicts 2013-01-09 10:57:14 +00:00
James Koster 38e2d622ee changed class to avoid conflicts 2013-01-09 10:43:01 +00:00
Mike Jolley b5e10315aa Load gateways during checkout + in settings. #2164 2013-01-07 17:23:09 +00:00
Mike Jolley 75e1d6a665 sorting is_paged #2136 2013-01-07 16:02:07 +00:00
Mike Jolley e48e280c7a post count check #2136 2013-01-07 14:17:41 +00:00
Mike Jolley c1004ff54d Stray quote. Closes #2142. 2013-01-07 13:21:05 +00:00
Mike Jolley 339a506112 Merge pull request #2146 from GeertDD/visibilty
Spelling fix for "visibilty"
2013-01-04 18:16:19 -08:00
Geert De Deckere f4bddb0bbc Add CSS class to featured products and products on sale 2013-01-04 17:02:29 +01:00
Geert De Deckere f684304ed3 Use post_class() in product loop 2013-01-04 16:53:43 +01:00
Geert De Deckere 86abb2a7c8 Spelling fix for "visibilty" 2013-01-04 16:30:31 +01:00
Geert De Deckere 319c81b403 Made title attribute for product quantity inputs translatable 2013-01-03 14:18:30 +01:00
Mike Jolley b6387a152e New checkout field layout Closes #2120. 2013-01-03 12:37:07 +00:00
Geert De Deckere e122c78cab A few more CSS class updates #2086 2013-01-03 13:21:26 +01:00
James Koster 5302eb019f css class name consistency #2086 2013-01-03 11:40:10 +00:00
Mike Jolley 4f8ef0cd02 Cleaned up description hooks Closes #2125. 2013-01-03 10:19:56 +00:00
Mike Jolley 7bd2740ba2 Some code cleanup and comments #1765 2013-01-02 12:59:41 +00:00
Mike Jolley c20e332863 Merge pull request #2103 from foxrunsoftware/master
Hooks for added customization
2013-01-02 04:13:30 -08:00
James Koster 1622b7b2b7 consistent title on rating 2013-01-02 12:06:15 +00:00
Justin Stern 1bd820369c Loop 'add to cart' link customizable
added apply_filters to loop 'add to cart' link/button
2012-12-31 17:13:19 -05:00
Mike Jolley 5486ebb737 Shortcodes/Widgets -> classes, autoload classes to reduce memory, only load gateways when needed, change gateway admin to match shipping #1765 2012-12-31 18:25:09 +00:00
Mike Jolley 4988e0f444 Consistant hooks for review order/cart totals - Closes #2076. 2012-12-29 19:04:18 +00:00
Mike Jolley 2b4c428414 actions hook for buttons. Closes #2074. 2012-12-28 20:04:18 +00:00
Geert De Deckere c264829231 Made the home link optional in the breadcrumb 2012-12-28 17:18:54 +01:00
Mike Jolley 6ef1d9222c Merge pull request #2052 from GeertDD/result_count
Improved the result-count template
2012-12-27 10:36:53 -08:00
Mike Jolley 9b8084ec0a Merge pull request #2066 from daltonrooney/master
Upsells and cross sells show current product
2012-12-27 10:20:53 -08:00
Dalton Rooney 0b466952ca Related should not include current product 2012-12-27 10:27:20 -05:00
Dalton Rooney 1c01ad3f1c Upsells should not include the current product 2012-12-27 10:26:31 -05:00
Ken Bass 30f539cbde Fix spaces per WP Coding Standards 2012-12-27 08:09:01 -05:00
Geert De Deckere a0b8ee16c5 Improved the result-count template
- Coding style: mid-line indenting which should be done using spaces.
- Renamed `$max` to `$total`.
- Simplified calculation of `$last`.
- Using en dash between range of values: http://en.wikipedia.org/wiki/Dash#Ranges_of_values.
- Tweaks to the “Showing 1–10 of 12 results” result text:
  - Converted `%s` to `%d`.
  - Used numbered placeholders (like `%1$d` and `%2$d`) which allows for more flexible translations since the placeholders can be swapped and repeated now.
  - Used `_x()` with comment to clarify placeholder order.
- Added two additional texts:
  - One for showing the only single result because “Showing 1–1 of 1 results” is overly verbose.
  - One for when all results are shown on the same page because “Showing 1–8 of 8 results” is a bit too verbose too.
2012-12-25 10:17:15 +01:00
Ken Bass 8debb1697c Fix reset password URL to work with non-pretty permalinks
Fix security issue where new password is being changed on non-SSL page.
2012-12-25 00:19:33 -05: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
Mike Jolley e7e12714c1 Tweak style and function names for image handling. 2012-12-20 10:53:34 +00:00
Mike Jolley c8852bcf40 Revised, roduct gallery panel, images stored in meta = more flexibility. 2012-12-20 01:13:06 +00:00
Mike Jolley 83377af6b4 Finnish translation Closes #2021. 2012-12-19 18:43:35 +00:00
James Koster e1970c497b consistent titles on star ratings 2012-12-17 14:48:19 +00:00
Mike Jolley b0c2a11c90 1 table but no colspans, qty column removed 2012-12-16 16:28:54 +00:00
grappler 786d27be88 Split review items from total
This change give the user more control and makes the page better for mobile sites. An example can be seen here.
https://www.shultzilla.com/checkout/
2012-12-15 17:29:01 +01:00
James Koster 5a8e25d743 noreviews class 2012-12-13 16:17:32 +00:00
Mike Jolley 7a0c734188 Fix prepares. Closes #1973. 2012-12-12 10:28:02 +00:00
Mike Jolley 681a2a8ba5 Groups product titles. Closes #1966. 2012-12-11 17:28:47 +00:00
Mike Jolley bfcb3ec1e9 Load options in checkout class and ensure hooks are available to change the options. Closes #1950. 2012-12-10 12:34:59 +00:00
James Koster 8044d8c2af verified owner class 2012-12-10 11:48:50 +00:00
Mike Jolley eb2720b04d Clearfix Closes #1952. 2012-12-10 11:11:55 +00:00
Mike Jolley 2f04ea576d Checkout form JS. Closes #1954. 2012-12-10 11:06:14 +00:00
Mike Jolley f9fabcc251 Add a class for sub cats. #1930 2012-12-06 17:29:18 +00:00
Mike Jolley 5a82480958 OR not AND for permissions checks. #1922. 2012-12-05 16:13:08 +00:00
Mike Jolley ab40f7a01f Include currency code in schema. Closes #1896. 2012-12-05 13:44:02 +00:00
Steve Wicks a1b0c2522f loop_shop_columns filter to support one column products 2012-12-05 06:31:19 +00:00
Mike Jolley 5e4222fb7f Fix for fatal error on checkout Closes #1901. 2012-12-04 20:28:17 +00:00
Coen Jacobs 37feabd87f WooCommerce 2.0 is coming! 2012-12-03 20:19:58 +01:00
Mike Jolley 60626d25f9 The display options for taxes 2012-12-03 16:37:08 +00:00
Mike Jolley 3f0a698940 Tweak tax display - zeros option removed 2012-12-03 12:41:05 +00:00
Mike Jolley 3c66ddae42 Class tweaks, need more testing. Closes #1874. 2012-11-29 16:48:40 +00:00
Mike Jolley 0dd88985d7 woocommerce_subcategory_count_html Closes #1871. 2012-11-28 17:24:17 +00:00
Mike Jolley c47d398fda Show free text. Closes #1852. 2012-11-27 16:57:35 +00:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Coen Jacobs 71459fe75c __x should be _x. Closes #1820
Thanks @a1ur3l, you were right!
2012-11-26 12:18:33 +01:00
Leho Kraav f6e11bdb09 add missing standard classes for .shop_table td 2012-11-24 21:50:25 +02:00
Leho Kraav eeff8ce1cf add missing standard classes for .shop_table th
this probably needs further work to also add respective classes to td's
2012-11-24 21:36:16 +02:00
Coen Jacobs ad71e7cd9d Merge pull request #1802 from woothemes/Product-Classes
IMPORTANT MERGE: Product classes (read notes!)
See notes: #1802
2012-11-22 05:33:52 -08:00
James Koster b91806b6c8 in some countries accepting the terms isn't enough. 2012-11-22 11:29:33 +00:00
Mike Jolley 069325862a remove instanceof 2012-11-21 18:39:51 +00:00
Mike Jolley 75ca794bba Separate classes per product type, with new get_product function and hooks to change the classes which get loaded. #1497 2012-11-21 18:07:45 +00:00
Coen Jacobs cb4f34a177 Introducing woocommerce_date_format() to properly do #1791 2012-11-21 13:28:16 +01:00
Coen Jacobs 3734f7addc Changed rest of #1791 translatable strings to date_format 2012-11-21 12:16:17 +01:00
Coen Jacobs 9345985666 Merge pull request #1791 from jorijnsmit/patch-1
replaced hard coded date format with get_option('date_format')
2012-11-21 03:10:32 -08:00
Mike Jolley 8b7b297b8e 3.5 checks + 2012 tweaks. Closes #1788. 2012-11-20 13:03:45 +00:00
jorijnsmit 29f8d1bee7 Update templates/emails/admin-new-order.php
Instead of the hard coded date format the date format from the admin panel is now used with get_option('date_format').

A more uniform and neater solution then via codestyling localization to my idea, I don't know how to replace all date related functions in the project in this way though...
2012-11-19 22:04:37 +01:00
jorijnsmit 02261e975c Update templates/single-product/review.php
Replaced hard coded date format with get_option('date_format') so that date format from admin panel is used instead.

(woohoo, my first Github contribution :-))
2012-11-19 21:43:11 +01:00
Mike Jolley 4720628a71 Hooks galore for integers vs floats. Closes #1113. 2012-11-19 14:05:06 +00:00
Mike Jolley 2d0909d28b Update weights/dimensions for variations if they differ. Closes #1629. 2012-11-16 13:50:15 +00:00
Mike Jolley 554634dd01 1 left in stock triggers is_sold_individually(). Closes #1701. 2012-11-15 15:28:08 +00:00
Mike Jolley d804588334 Fix emails in gmail + added a function to insert inline styles. Closes #1710. 2012-11-14 17:44:58 +00:00
Mike Jolley 98ddb3bbc5 Display + storage 2012-11-12 17:15:54 +00:00
Mike Jolley 8e74d043c1 template 2012-11-09 21:17:48 +00:00
Mike Jolley 2c26f06e55 Fees api started, and playing with line items 2012-11-09 21:15:15 +00:00
kathy 3acd6f21de Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	templates/checkout/form-pay.php
	templates/checkout/review-order.php
2012-11-07 19:04:00 -06:00
Mike Jolley 9971da5f86 Fix for #1707. 2012-11-07 21:23:45 +00:00
kathy 6eb5215da0 fix for #1707 2012-11-07 14:53:23 -06:00
Mike Jolley 7becdf346c kses 2012-11-06 12:52:08 +00:00
Mike Jolley 7a055f5296 Change class handling for country. Closes #1683. 2012-11-06 11:49:49 +00:00
Mike Jolley 357e35006c Moved page title logic to a function. #1612. 2012-11-04 16:01:40 +00:00
Mike Jolley bfe5e48fd2 Merge pull request #1612 from leewillis77/master
Allow archive page title to be filtered
2012-11-04 07:44:29 -08:00
Mike Jolley 817b17caac Tweak cart thumbnail display. Closes #1668. 2012-11-04 14:15:14 +00:00
Mike Jolley aef47868fa Merge branch 'Line-items-data-tweak' 2012-10-24 17:53:44 +01:00
Mike Jolley 549880b8eb New structure for line items (this one uses meta more) 2012-10-23 17:41:42 +01:00
Coen Jacobs 9ecb20f259 [3.2.5] SQL injection #1575 2012-10-18 15:37:04 +02:00
Mike Jolley aef75800c9 Update/install code + revised notices. 2012-10-18 10:33:06 +01:00
Mike Jolley 0d38e61e2d Sanitize fixes. Closes #1614. 2012-10-17 12:05:54 +01:00
Lee Willis 01a1a6b6a2 Allow archive page title to be filtered 2012-10-16 21:30:50 +01:00
Mike Jolley 15eb48242a [3.2.3] XSS #1575 2012-10-16 16:46:41 +01:00
Coen Jacobs 80fc5fc086 [3.2.3] Templates XSS #1575 2012-10-16 17:35:16 +02:00
Mike Jolley 8c3ad31c07 Localisation spacing. 2012-10-16 10:45:33 +01:00
Mike Jolley 01e8bd6f08 Merge pull request #1604 from superjinya/patch-1
Update templates/single-product/add-to-cart/variable.php
2012-10-15 12:44:10 -07:00
Coen Jacobs 943091d2ca [3.1.4] Prevent direct access to files #1575 2012-10-15 12:57:58 +02:00
superjinya 9554d3f253 Update templates/single-product/add-to-cart/variable.php
Variation options fixed as issues provided by ksemel. Woo Jin Koh
2012-10-15 11:01:42 +09:00
Mike Jolley 596c408c27 Pagination + sorting tweaks, new active filters widget, sort both directions for price, fix for #coenfail. Closes #771. 2012-10-14 13:06:41 +01:00
Mike Jolley ee0ff453d0 singular/plural Closes #1479. 2012-10-12 19:48:49 +01:00
Mike Jolley 39b7567b0c product_variations[] Closes #1581. 2012-10-12 14:21:21 +01:00
Mike Jolley 34f230a0d0 Tax display tweaks. 2012-10-12 12:57:08 +01:00
Coen Jacobs 610d17405e 'their' to 'there' fix. Closes #1593 2012-10-12 11:52:53 +03: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 5868b63b93 Ordering options. Closes #1166. 2012-10-09 15:57:06 +01:00
Mike Jolley 0d6c533484 Hooks for downloads. Closes #1536. 2012-10-09 14:00:08 +01:00
Mike Jolley 79324412d4 sku tweak. Closes #1479. 2012-10-08 13:54:31 +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 2a30cfda0e loop start and end. Closes #1356. 2012-09-30 14:41:07 +01:00
Brent Shepherd 137b01c74c Show taxes if there are formatted taxes
The cart only checks if an order has tax when deciding to
display taxes. Subscriptions 1.2+ stores recurring taxes
separately, so when an order has a free trial period
and no sign-up fee, order tax will be 0 but the
recurring taxes should still be displayed.
2012-09-24 12:55:57 +10:00
Mike Jolley e61c152a7c disable ratings option. Closes #1503. 2012-09-21 21:21:50 +01:00
Mike Jolley f6d0bd2c06 Upsells
* Tweak - Removed upsell limit - show whats defined.
* Tweak - Args for upsells to control per-page and cols.
2012-09-21 16:47:57 +01:00
Mike Jolley c271590fc9 Tweak templates 2012-09-17 11:36:30 +01:00
Mike Jolley 1b4130bc56 new email interface + plain text versions 2012-09-17 11:36:30 +01:00
Mike Jolley 584c65eeb0 Session fixes 2012-09-12 12:48:30 +01:00
Mike Jolley fdd34e5c0e session -> transient WIP 2012-09-07 18:26:13 +01:00
Mike Jolley 4c4bc9f5d2 Multi download features, and added the expirey back. 2012-09-06 16:16:16 +01:00
Mike Jolley 72e3bf4bce Merge pull request #1450 from foxrunsoftware/master
Multiple Downloads per Product
2012-09-06 05:05:27 -07:00
Mike Jolley 43bdc4ce99 Add ID to apply_filters post_title 2012-09-05 20:40:09 +01:00
Andrew Benbow 160c3bd897 Update templates/single-product/tabs/tab-description.php
Added apply_filters to the tab title
2012-08-31 14:08:06 +02:00
Andrew Benbow ea4ffae2d6 Update templates/single-product/tabs/tab-description.php
Reverted
2012-08-31 14:07:33 +02:00
Andrew Benbow 005648f4bb Update templates/single-product/tabs/tab-reviews.php
Added apply_filters to tab title
2012-08-31 14:05:43 +02:00
Andrew Benbow 5e13086cef Update templates/single-product/tabs/tab-description.php
Added apply filters to tab title
2012-08-31 14:05:03 +02:00
Andrew Benbow d4f7427d06 Update templates/single-product/tabs/tab-attributes.php 2012-08-31 14:04:04 +02:00
kingbt 8f9f7b4dac Update templates/content-product.php
Save some output space?
2012-08-29 21:08:45 +03:00
Mike Jolley 2daa93912c hooks for meta 2012-08-29 14:08:19 +01:00
Justin Stern 9217ca09e0 Support for Multiple Downloads
Support for multiple downloadable files per product: both simple and
variable.  This includes all admin, frontend, and database modification
code required for allowing multiple files, while maintaining backwards
compatibility for existing single-file download URLs and templates.
2012-08-28 11:21:54 -04:00
Mike Jolley 431316dfd3 small variable naming tweak 2012-08-25 16:00:40 +01:00
Mike Jolley 473d5c69be well needed tidyup 2012-08-25 12:08:03 +01:00
kingbt dc814793b9 Update templates/shop/breadcrumb.php
When on Shop page, Shop is a link when is paged. I think it is useful for better navigation since the pagination is down.

It is more an idea.

http://i45.tinypic.com/317dr10.jpg
2012-08-25 13:39:00 +03:00
Mike Jolley 25d063a519 put breadcrumb tweak back. #1422. 2012-08-25 11:25:43 +01:00
Mike Jolley 6abcf9d2b4 Revert "Merge pull request #1422 from kingbt/patch-4"
This reverts commit 573e6907a2, reversing
changes made to b450616848.
2012-08-25 11:03:19 +01:00
kingbt da160bb21e Update templates/shop/breadcrumb.php
Last trail Home > Shop (Shop is last trail) should not have a link. Makes no sense.
2012-08-24 16:50:19 +03: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 9f2a5f07e6 pebkak-proofing cart page. Closes #1375. 2012-08-21 17:23:26 +01:00
Mike Jolley 40cc7b997d Scope. Closes #1364. 2012-08-21 16:41:18 +01:00
Mike Jolley 3267de6daa Hooks for #1376. Closes #1376. 2012-08-21 13:06:54 +01:00
Adam Pickering (Mint Themes c42e0c7fcd Fixes issue with coupon field box styling
The coupon box doesn't have the correct input type so theme designers can't apply there custom style to the box field.

It doesn't have input type="text" so this commit fixes the issue.

See screen shot of issue: http://o7.no/NfKtDe
2012-08-20 17:40:05 -03:00
Mike Jolley 5d152f2181 Class docs 2012-08-15 19:15:10 +01:00
Mike Jolley ef7ec98f2e templates 2012-08-14 23:43:54 +01:00
Mike Jolley 7c69f3a431 Fix - Missing grouped product cart buttons 2012-08-11 16:41:28 +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
Mike Jolley cfe1d85ffb Hook 2012-08-09 11:30:37 +01:00
Mike Jolley 244e0d2b08 Archive hooks 2012-08-09 11:25:38 +01:00
Mike Jolley 1217228bda Additonal hooks 2012-08-08 16:57:36 +01:00
kathy f2415b3761 switch get_price() checks to is_purchasable() for displaying Add to Cart button 2012-08-06 19:27:24 -05:00
Mike Jolley cedcca7fe7 is_purchasable. Closes #1331. 2012-08-07 00:33:52 +01:00
Mike Jolley 2e96d554ce has_file() Closes #1275. 2012-07-31 12:58:00 +01:00
Mike Jolley a322a83a7d analytics tracking 2012-07-30 16:01:33 +01:00
Mike Jolley 6d7e06b500 Better caching support + mini-cart template 2012-07-25 18:59:12 +01:00
Mike Jolley ac5fdeb9c4 email tweaks 2012-07-25 11:28:42 +01:00
Mike Jolley ffec3a6036 Shipping calculator state box improvements 2012-07-22 14:44:01 +01:00
Mike Jolley 1f071fd8f4 selected state for variation options 2012-07-22 14:31:31 +01:00
Mike Jolley 6666af8de9 Merge pull request #1281 from maxrice/master
coupons tweaks
2012-07-22 05:53:24 -07:00
Max Rice 28f9c40700 add option to enable / disable coupon form on cart page 2012-07-20 17:19:52 -04:00
Mike Jolley 5ba8d025e6 newline 2012-07-20 13:57:18 +01:00
Mike Jolley 6e41377af1 wp_reset_postdata instead of wp_reset_query in product page loops. #1277. 2012-07-20 13:50:32 +01:00
Mike Jolley 1f61bab915 Put back deprecated loop-shop for older themes until they are updated 2012-07-19 19:34:49 +01:00
Mike Jolley 1be0b9f8f2 Backorder handling. Closes #835. 2012-07-17 19:11:14 +01:00
Mike Jolley 8fc392b34f cart titles 2012-07-17 15:16:22 +01:00
Mike Jolley 1b0a206bd9 Handling for non-JS checkout 2012-07-16 20:21:44 +01:00
Mike Jolley 880e8b6b0f Don't show price when variation prices don't differ. Closes #1199. 2012-07-11 23:19:33 +01:00
Mike Jolley 5cd01f58a0 get_order_item_totals() total_rows have fixed indexes for easier manipulation. Closes #1059. 2012-07-11 19:32:00 +01:00
Mike Jolley 4200f43d52 woocommerce_attribute filter. Closes #768. 2012-07-11 19:11:41 +01:00
Mike Jolley 2b9a03db2c "verified owner" label for customer reviews. Closes #294. 2012-07-11 18:48:22 +01:00
Mike Jolley fac3756e65 killed query posts 2012-07-11 15:13:11 +01:00
Mike Jolley c846906064 loops template rewrite 2012-07-11 13:50:28 +01:00
Mike Jolley 12dc3c033f Template changes - for coen approval 2012-07-11 11:23:31 +01:00
Mike Jolley 54c00bd642 Changed microdata for offers/product so its picked up by google. Closes #1227. 2012-07-10 17:32:56 +01:00
Mike Jolley 183a3e096d Hooks. Closes #1224. 2012-07-10 15:39:54 +01:00
Mike Jolley 746a794f0a Check taxonomies exist. Closes #1207. 2012-07-10 14:05:44 +01:00
Mike Jolley 58f84bb2c1 incl. Closes #1184. 2012-06-29 20:45:09 +01:00
Mike Jolley d85de187f9 Variable product hooks. Closes #1201. 2012-06-29 19:52:06 +01:00
Mike Jolley 3cc8f41b90 get_icon get_title get_description for #1201 2012-06-29 19:44:33 +01:00
Mike Jolley f2f847ad5b Tweaks to #1180. And get_image confusion resolved (it shouldn't echo) 2012-06-29 18:56:42 +01:00
Mike Jolley 127a981f99 Merge pull request #1180 from franticpsyx/master
Disable cart hyperlinks of hidden products & minor cart widget tweak.
2012-06-29 10:10:37 -07:00
Mike Jolley 491c02b35d Tweaks to previous merge 2012-06-29 17:51:15 +01:00
Manos Psychogyiopoulos 123d04f0e5 More meaningful code. 2012-06-29 18:16:43 +03:00
matt 2b54280999 Modify WC_Product::get_image() for return
Function currently only echos. Commit enables function to return product
image. WCP+A replaces the product thumbnail with photo preview
thumbnail. Original function showed two thumbnails directly next to each
other.
2012-06-29 11:08:50 -04:00
Manos Psychogyiopoulos 3e97cc3ef1 Disable cart hyperlinks for hidden products. 2012-06-28 18:41:18 +03:00