Mike Jolley
419b7a4e79
Merge pull request #3890 from tivnet/master
...
class-wc-checkout.php : PHPDoc fixes
2013-10-10 08:44:57 -07:00
Mike Jolley
8f87828a78
Merge pull request #3904 from bernardpeh/woocommerce-master
...
update_status function in class-wc-order.php will cause undesirable post insertion if we don't check if the order id exist
2013-10-10 08:43:34 -07:00
Mike Jolley
ece95e25ce
When handling variations, priority from top to bottom - disabled variations still taking into consideration allow you to exclude certain combinations when using 'all' for variations with lower priority. Message displayed if a variation is unavailable.
...
@coenjacobs please review
2013-10-10 16:34:44 +01:00
Bernard Peh
ad298f9007
need $this->id check in the update_status function to prevent an empty WC_Order object from calling it. If $this->id doesn't exists, update_status will insert another row in wp_posts because line 1226: wp_update_post(array('ID' => $this->id)) triggers it.
2013-10-10 20:52:36 +11:00
Patrick Rauland
99fb5315eb
adding system status report copy text area
2013-10-08 01:02:33 +02:00
Illimar Tambek
2536fbc5e1
Merge branch 'master' into estonian-translation
2013-10-07 20:40:20 +03:00
Leon Rowland
5b018966db
array_search returns false when not found. This causes the first CSS class in the $classes array to be removed ( twice ). This was inadvertently removing some of the custom classes defined in the Menu Builder of WordPress.
2013-10-07 15:47:39 +02:00
Gregory K
da19fed52b
class-wc-checkout.php : PHPDoc fixes
2013-10-06 00:44:04 -04:00
Patrick Rauland
f70ac9ce5a
adding copy report button
2013-10-06 00:22:55 +02:00
Mike Jolley
eaee8e9cf1
Merge pull request #3886 from tivnet/master
...
get_meta_query() - PHPDoc fix
2013-10-04 15:05:30 -07:00
Mike Jolley
40c85ec09a
Merge pull request #3881 from Gator92/tax_totals
...
Add tax_rate_id to objects returned from cart->tax_totals
2013-10-04 15:04:05 -07:00
Gregory K
9a1c571cbc
get_meta_query() - PHPDoc fix
2013-10-04 12:48:50 -04:00
Mike Jolley
9361ef3120
more hooks closes #3860
2013-10-04 16:58:00 +02:00
Mike Jolley
633ead9390
woocommerce_checkout_update_customer_meta hook Closes #3860
2013-10-04 16:40:03 +02:00
Mike Jolley
adaa666c92
Merge pull request #3875 from ragulka/has-shipping-method
...
Add has_shipping_method() convenience function
2013-10-04 07:32:46 -07:00
Mike Jolley
a490f62179
Use correct label for tax classes. Closes #3885 .
2013-10-04 16:21:06 +02:00
Mike Jolley
f81203fc76
Fix tax rate saving #3884
2013-10-04 16:17:18 +02:00
Mike Jolley
4204b25879
Remove accents from taxonomy names + run through filter Closes #3832
2013-10-04 16:10:49 +02:00
Mike Jolley
cabddc4e9f
Maintain line breaks. Closes #3882
2013-10-04 14:31:43 +02:00
Mike Jolley
b7a752ecc1
find_product_in_cart tweak Closes #3863
2013-10-04 12:30:07 +01:00
Mike Jolley
1b91c75039
Tweak add to cart message. Closes #3876 .
2013-10-04 12:26:11 +01:00
Mike Jolley
8f196130ff
Don't show view cart message on cart page. Closes #3877
2013-10-04 12:21:28 +01:00
Schuyler Langdon
7f71fae0a3
Add tax_rate_id to the tax total objects returned from the cart tax_totals method
2013-10-03 21:48:47 -04:00
Illimar Tambek
bf6cb38445
Fix has_shpping_method function
2013-10-03 18:02:26 +03:00
Illimar Tambek
7cf58f920c
Add method to check whether an order has a shipping method or not
2013-10-03 17:59:08 +03:00
Mike Jolley
718093650f
Save fees
2013-10-02 12:58:26 +01:00
Mike Jolley
66c04b0f72
Check values are set before casting as floats
2013-10-02 12:50:03 +01:00
Mike Jolley
47e18b1a13
Print JS after print scripts (at 20) Closes #3865 .
2013-10-02 11:09:30 +01:00
Gregory K
b923eef097
Allow entering sale price as blank string and not convert it to numeric '0' - to avoid "fake" sales events.
2013-10-01 23:21:12 -04:00
Mike Jolley
24a3e3e17b
Format decimals with single function, convert locale to standard form. #3862
2013-10-01 17:54:32 +01:00
Mike Jolley
79bddfd129
Merge pull request #3861 from tivnet/master
...
class-wc-settings-shipping.php : HTML fix (missing TR and typo in TFOOT)
2013-10-01 05:23:06 -07:00
Gregory K
c577e75a6b
class-wc-settings-shipping.php : HTML fix (missing TR and typo in TFOOT)
2013-10-01 08:13:14 -04:00
Mike Jolley
3bedaf5e94
Number format taxes, and allow 'auto' DP (we don't want to round these values) Closes #3703
2013-10-01 13:02:58 +01:00
Mike Jolley
c20a44c423
Coupon usage limits per user (using email + ID). Closes #3314
2013-10-01 11:48:27 +01:00
Mike Jolley
088f565b98
wp_list_pluck #3852
2013-10-01 10:24:29 +01:00
Mike Jolley
79942691ec
Init no longer needed - settings API refreshes settings Closes #3858
2013-10-01 10:12:16 +01:00
Mike Jolley
4798cb8e27
bump_request_timeout closes #3857
2013-10-01 10:12:16 +01:00
Mike Jolley
49656cb250
Notice fix Closes #3859 .
2013-10-01 10:12:15 +01:00
Manos Psychogyiopoulos
c0e2e8bbdf
Add price_filter results to include extended product types with a variable price
2013-09-30 15:58:12 +03:00
Illimar Tambek
ad59947098
Merge branch 'master' into estonian-translation
2013-09-30 11:13:53 +03:00
Mike Jolley
e66fcf5d5d
Fix get_base_country Closes #3851
2013-09-27 20:31:59 +01:00
Mike Jolley
b892815336
Remove html5 number inputs (unreliable at present, locale issues), add JS validation for price inputs. New price input type in settings API to make future changes easier to implement. Closes #3587
...
@coenjacobs hows this look?
2013-09-27 20:28:42 +01:00
Mike Jolley
9dcb70feba
Increment later. Closes #3811 .
...
@coenjacobs .15
2013-09-27 15:29:02 +01:00
Mike Jolley
43337f896c
Merge pull request #3849 from franticpsyx/use_additional_transients
...
Add woocommerce_delete_product_transients action
2013-09-27 07:06:45 -07:00
Mike Jolley
72c00a601a
Standardized, default credit card form for gateways to use if they support 'default_credit_card_form'. Closes #3616
2013-09-27 13:22:08 +01:00
Mike Jolley
82cb89a9a6
Merge pull request #3848 from BFTrick/update-product-page-css-classes
...
Updating Product Page CSS Classes
2013-09-27 02:50:16 -07:00
Manos Psychogyiopoulos
2b8da0ecbe
Add woocommerce_delete_product_transients action
2013-09-27 12:00:42 +03:00
Mike Jolley
081bef7f6b
Layered nav OR logic
2013-09-27 09:55:04 +01:00
Patrick Rauland
61b2290147
updating product page css classes
2013-09-26 22:50:49 -05:00
Mike Jolley
fce70b288d
We should allow failed orders to be resumed, not show a blank page. Closes #3612
...
@coenjacobs might need to go in 15
2013-09-26 17:18:12 +01:00
Mike Jolley
21f48bea99
Re-init settings after saving. Closes #3770 .
2013-09-26 17:01:29 +01:00
Mike Jolley
e3680ef670
Strict standards closes #3842
2013-09-26 16:39:10 +01:00
Mike Jolley
67b50e7eaa
Sortable downloads #3812
2013-09-26 16:35:37 +01:00
Mike Jolley
85f11c682e
Fix upload dir #3812
2013-09-26 16:16:05 +01:00
Mike Jolley
634adc9249
Fix subject + heading Closes #3841
...
@coenjacobs .15 please
2013-09-26 15:45:23 +01:00
Mike Jolley
77be2fc719
Don't need reset_postdata. Closes #3822 .
...
.15 @coenjacobs I think
2013-09-26 15:11:28 +01:00
Mike Jolley
fff92a1f6a
#3846
2013-09-26 14:59:56 +01:00
Mike Jolley
5da34d5a92
Merge pull request #3840 from pelmered/master
...
Allows to pass in cols and rows as custom attributes for textareas in woocommerce_form_field()
2013-09-26 02:32:34 -07:00
Mike Jolley
37d8fa3cee
Merge pull request #3838 from BFTrick/add-category-class-to-product-div
...
Adding Category & Tag Classes to Product Page
2013-09-26 02:32:04 -07:00
Manos Psychogyiopoulos
37b6f98aa0
Display extension template overrides in status reports
2013-09-26 12:02:38 +03:00
Peter Elmered
c676c15990
Allows to pass in cols and rows as custom attributes for textareas in woocommerce_form_field()
2013-09-25 22:45:45 +02:00
Patrick Rauland
3b0a9f728f
adding category & tag classes to product page
2013-09-25 13:04:32 -05: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
479e4b5f89
Merge pull request #3827 from pmgarman/master
...
wp_insert_post should have true as $wp_error parameter
2013-09-25 00:02:52 -07:00
Brent Shepherd
bbcc2441a4
Add new 'woocommerce_pre_payment_complete' action
...
And an action to fire when order status != pending|on-hold|failed
2013-09-24 19:54:04 -07:00
Patrick Garman
1292a9f51a
wp_insert_post should have true as $wp_error parameter
...
Add `true` as $wp_error parameter for wp_insert_post, otherwise it returns zero instead of a WP_Error object and the checkout process is not stopped.
@mikejolley - the messages from WP_Error are not displayed or logged, making debugging this difficult. Maybe we should check WP_DEBUG and display the message if it is set to true? either that or actually use the logger in WooCommerce for the first time?
2013-09-24 16:08:32 -05:00
Mike Jolley
66adf51e67
Filterable get_base_postcode and _city methods used for base taxes. Closes #3810
2013-09-24 16:56:55 +01:00
Mike Jolley
de9bc28b43
Prevent variable products without variations from being posted and show error in admin. Closes #3763
2013-09-24 16:37:51 +01:00
Mike Jolley
b5a798c9af
Fix variation saving and notices
2013-09-24 16:21:12 +01:00
Mike Jolley
51ee4ee2d8
Allow access to admin-post Closes #3814
2013-09-24 15:21:40 +01:00
Mike Jolley
c58d5d5ea4
is_in_stock uses notify_no_stock_amount option. Closes #3446 .
2013-09-24 13:31:15 +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
Remi Corson
493f3bffe3
Added Russian Rubles to PayPal valid currencies list
2013-09-24 12:41:23 +02:00
Mike Jolley
31c34f6552
Wrong checked var
2013-09-24 10:06:41 +01:00
Illimar Tambek
64c09cabd7
Add array to woocommerce_downloadable_file_permission_format
2013-09-24 11:10:46 +03:00
Mike Jolley
7fb49c4b68
Round price adjustments. Closes #3797 .
2013-09-23 16:22:25 +01:00
Mike Jolley
ef1d565f55
standard should be blank. Closes #3799 .
...
@coenjacobs .15
2013-09-23 16:16:33 +01:00
Mike Jolley
622715ec36
Option for itemized vs grouped taxes. Closes #3453 .
2013-09-23 16:10:09 +01:00
Mike Jolley
06ef44c9df
Pass args to variation forms from cart page. Closes #3568
2013-09-23 15:47:47 +01:00
Mike Jolley
5954619e02
Set session when removing last item. Closes #3739
2013-09-23 14:01:17 +01:00
Mike Jolley
97b1e176d2
Merge branch 'downloadable-files-2.1'
...
Conflicts:
assets/css/admin.css
2013-09-23 12:44:35 +01:00
Mike Jolley
71cb94ebfa
Simpler tax rate check which Closes #3813
...
Could do with some more testing @ChromeOrange, and applying to .15 if
ok @coen
2013-09-23 12:44:15 +01: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
Coen Jacobs
f0fe86a8ac
Merge branch 'master' of https://github.com/woothemes/woocommerce
2013-09-20 15:51:50 +02:00
Coen Jacobs
e035864c8a
Check for existing array before using key. Closes #3807
2013-09-20 15:51:06 +02:00
Mike Jolley
b93df4e706
Excl and incl. display options for prices, and suffix to add additonal info and prices. Closes #1506 .
2013-09-19 16:31:54 +01:00
Mike Jolley
4ef07f6a66
Cleanup defaults. Closes #3778
2013-09-19 15:02:17 +01:00
Mike Jolley
512f2caac4
Merge pull request #3784 from karennaylor/master
...
add pattern matching to local delivery postcodes
2013-09-19 06:43:53 -07:00
Mike Jolley
3ee6e2fa22
Validate rules, instead of doing it by key. Closes #3792 .
2013-09-19 14:39:53 +01:00
Mike Jolley
87d7fce7c3
Merge pull request #3800 from BFTrick/tweak-new-order-email-copy
...
Tweaking New Order Email Description
2013-09-19 04:35:07 -07:00
thenbrent
fb548d145e
Fix logic on coupon check
2013-09-18 17:02:56 -07:00
thenbrent
13e337b82d
Fix coupon checks in cart
2013-09-18 16:49:29 -07:00
Patrick Rauland
885a95b21d
*sigh* forgot a period in the new order description
2013-09-18 14:23:14 -05:00
Patrick Rauland
af8919f1de
tweaking new order email description
2013-09-18 14:18:40 -05: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
23c59a4d08
Merge pull request #3783 from greguly/patch-1
...
Fixes blank page error
2013-09-16 04:48:06 -07:00
Mike Jolley
b377217d1b
Compat with brands - filters should be prepended with filter_
...
@coenjacobs can this be applied to .15?
2013-09-16 12:43:16 +01:00
Karen Naylor
5c40d863e1
add pattern matching to local delivery postcodes
2013-09-14 16:08:17 +01:00
Gabriel Reguly
a5f2b01219
Fixes blank page error
...
Fix to avoid blank page error, apparently prevents a memory exausted condition.
Error source:
http://wordpress.org/support/topic/blank-page-after-return-form-cielo-buypage?replies=15
Some info:
http://stackoverflow.com/questions/8379829/domdocument-php-memory-leak
Another people using the same code: http://nathanstaines.com/articles/wordpress-word-count/
Cheers,
Gabriel
2013-09-14 00:42:03 -03:00
Mike Jolley
edbe9b5fa2
Redirect to myaccount. Closes #3740
...
@coenjacobs .15
2013-09-13 16:37:26 +01: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
5b2ed3f243
Fix search_post_excerpt when quotes are searched. Closes #3767
...
@coenjacobs for .15 too
2013-09-13 15:14:19 +01:00
Mike Jolley
f0d255ac9c
Remove private methods from session handler. Closes #3759
2013-09-13 13:39:46 +01:00
Mike Jolley
759e74c860
Safari doesn't support the 'download' attribute. At least get it to open. Closes #3754
2013-09-13 13:38:36 +01:00
Mike Jolley
9f323af118
Fix paging total closes #3774
2013-09-13 12:28:20 +01:00
Mike Jolley
34478b3faf
Merge pull request #3756 from ragulka/download-hooks
...
Add product download access grant/revoke hooks.
2013-09-13 04:20:56 -07:00
Mike Jolley
e90efe1c28
Merge pull request #3776 from crazyscience/patch-1
...
Removed 'widget_text' from array of force_ssl filtered objects.
2013-09-13 04:11:11 -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
7e01086ad3
Merge pull request #3679 from dimitrov-adrian/patch-6
...
Adding support for percentage factor of additional costs.
2013-09-13 03:20:17 -07:00
Mike Jolley
519c24a540
Merge pull request #3653 from pixeltrix/add-email-style-inline-filters
...
Add hooks for overriding default email inline styles
2013-09-13 03:15:55 -07:00
crazyscience
feaf8ed0cb
Removed 'widget_text' from array of force_ssl filtered objects.
...
Forcing SSL for all content in the text widget prevents adding links third party sites that do not support SSL. (ie. Partner sites). Furthermore, it's the assumed responsibility of the individual entering HTML into the text widget to ensure site security when referencing to outside sites.
2013-09-12 10:34:48 -07:00
Mike Jolley
7d20a51beb
Moved template part functions to core functions Closes #3715
2013-09-12 14:42:57 +01:00
Mike Jolley
355dd16962
Removed @coenjacobs helpers and cleaned up main clas
2013-09-12 14:41:02 +01:00
Illimar Tambek
41296943a6
Add woocommerce_checkout_get_value filter.
2013-09-10 17:23:26 +03:00
Illimar Tambek
b794d183b1
Remove trailing leftover bracket
2013-09-10 17:08:20 +03:00
Illimar Tambek
e4147bf1b7
Fix missing question mark
2013-09-10 16:35:34 +03:00
Illimar Tambek
d6ba711f56
Allow saving custom address types. Add address type to woocommerce_customer_save_address action
2013-09-10 16:31:13 +03:00
Illimar Tambek
e285042012
Allow editing custom address types
2013-09-10 16:04:07 +03:00
Illimar Tambek
3edc3dea29
Add estonian address format
2013-09-10 15:41:40 +03: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
Illimar Tambek
f138007f1a
Add product download access grant/revoke hooks.
2013-09-10 14:26:31 +03:00
Mike Jolley
c501b1b59a
Remove taxes from cart with a zero-rate.
2013-09-10 11:04:29 +01:00
Mike Jolley
85175ec849
Merge pull request #3744 from BFTrick/fix-escaping-date
...
Fixing Unescaped Character in Date Function
2013-09-09 09:16:54 -07:00
Mike Jolley
b6e7eeb241
Support no default and make the gateway/shipping tables more streamlined. Closes #3472
2013-09-09 17:16:02 +01:00
Coen Jacobs
c04ce23716
Revert "View logs from System Status"
...
This reverts commit e70cf686f5
.
2013-09-09 13:20:22 +02:00
Andrew Benbow
e70cf686f5
View logs from System Status
2013-09-08 21:06:23 +01:00
Andrew Benbow
7012c9e4fd
Update html-admin-page-status-report.php
...
Add update notification if theme is a WooTheme
2013-09-08 03:26:26 +01:00
Patrick Rauland
b6fa3e913b
fixing unescaped character in date function
2013-09-06 15:35:21 -05:00
Illimar Tambek
8e942c2e9e
Fix missing semicolon
2013-09-06 22:06:26 +03:00
Illimar Tambek
3c22c486f8
Add download_file capability and security check
2013-09-06 19:38:06 +03:00
Illimar Tambek
0a7137e747
Use default priority for user_has_cap filter
2013-09-06 17:53:25 +03:00
Illimar Tambek
7ec8a687f6
Check if user is allowed to cancel and order an order again. Use current_user_can() checks instead of hardcoded user_id comparisons to determine if user can view, pay, order again or cancel an order.
2013-09-06 17:39:45 +03:00
Illimar Tambek
e432f72ae9
Filter user_has_cap with woocommerce_customer_has_capability
2013-09-06 17:37:38 +03:00
Mike Jolley
3c8c620c5d
Bulk/quick edit backorders Closes #3729
2013-09-06 11:17:41 +01:00
Luke Stevenson
fcfdee8ec7
Added "Demo Store" Class to Body
...
Adding "woocommerce-demo-store" class to body when option
"woocommerce_demo_store" is enabled.
(Handy to push down content to allow for banner, etc.)
2013-09-06 02:13:57 +10:00
Mike Jolley
b883e92ba1
Fix from .14
2013-09-05 14:52:34 +01:00
Mike Jolley
4cf8e9ebde
Remove echo
2013-09-04 18:13:09 +01:00
Mike Jolley
0405fabf69
Alt changes from .14
2013-09-04 17:22:35 +01:00
Mike Jolley
ffa53754ac
get_categories returns string Closes #3720
2013-09-04 14:57:12 +01:00
Mike Jolley
02af8a00a5
woocommerce_address_to_edit #3690
2013-09-04 14:57:12 +01:00
Mike Jolley
aef58e8bf3
Merge pull request #3697 from BFTrick/fix-email-html-encoding
...
Removing HTML Decoding From Email From Name
2013-09-04 06:50:20 -07:00
Mike Jolley
402544afdb
Merge pull request #3724 from corsonr/master
...
Added woocommerce_get_featured_product_ids() to get featured products IDs
2013-09-04 06:49:57 -07:00
Mike Jolley
14e27bb073
Fixes from .14
2013-09-04 14:32:16 +01:00
Remi Corson
dcf34ed51b
Merge branch 'master' of https://github.com/woothemes/woocommerce
2013-09-04 15:17:21 +02:00
Patrick Rauland
793303d2ad
adding esc_html back in to properly escape html from email from name
2013-09-04 07:24:01 -05:00
Mike Jolley
e1631bd084
Reloads checkout after registration which fixes #3612 , removes some notices preventing login cookie being set, moves cart check for #3162
...
No perfect solution for #3162 . DB locking would probably cause more
issues that its worth, we cannot reliably use transactions as some
clients still use MyIsam. Best to accept orders and deal with stock
conflicts after the fact.
2013-09-04 11:26:19 +01:00
Remi Corson
3499e6fd73
Added woocommerce_get_featured_product_ids() to retrieve featured products IDs within an array
2013-09-04 11:17:13 +02:00
Patrick Rauland
80fc4ab0a7
allowing quotes in store name
2013-09-03 17:11:03 -05:00