Commit Graph

1244 Commits

Author SHA1 Message Date
thenbrent 1f9ec54e76 Add 'woocommerce_cart_totals_fee_html' filter 2014-03-20 09:44:47 +00:00
InoPlugs Webdesign 3e82ea460a Update class-wc-checkout.php
We need this hook to mark the fees our plugin (additional fee based on gateway) adds to the the order. Otherwise we can't tell if a fee was added by the user (Add fee button), by another plugin or by our plugin.
2014-03-20 09:41:45 +00:00
justinstern d11b0e857d Don't trailingslash Order Cancel URLs with a Query String
With non-pretty permalinks enabled, this was producing a URI like
http://example.com/?page_id=7/  That final unnecessary trailing slash
messes up some redirect gateways that are passed the cancel URL
2014-03-20 09:40:26 +00:00
Andrew Benbow b3335d5521 Update class-wc-gateway-paypal.php
modify currency error message to include both sent and returned currencies for comparison
2014-03-20 09:40:14 +00:00
JustinSainton 7e871109e6 Filter JSON search customers query
Because the json_search_customer_name action is in the scope of $this, and there's no instance of it to allow remove_action() to play nicely with, it's really difficult to modify this query.  And, unfortunately, it's quite non-performant on large user tables.

One possible option would be to allow users to filter this query directly.  This PR reflects that approach.

For reference: https://gist.github.com/curtismchale/9470986, #5095
2014-03-20 09:39:29 +00:00
crazyscience 4498395f2a Fix for Issue #3367
Fixed a bug where the application attempts to schedule an event using a function name rather than a hook name
2014-03-20 09:24:41 +00:00
Coen Jacobs 47e8a76488 set_transient calls should have expiration to prevent autoloading 2014-03-19 16:04:03 +00:00
Mike Jolley 9a3b796bf4 Pass args through for deprecated function Closes #5087 2014-03-12 13:17:53 +00:00
Mike Jolley 49b8ad4378 Only append generator tag on HTML pages Closes #5113 2014-03-12 11:54:02 +00:00
Mike Jolley fbeb3bc822 Update LESS compiler and less files #5070 2014-03-06 17:29:52 +01:00
splashingpixels 7a28434ab4 get_related fixed tags OR query not excluding product ID 2014-03-06 16:27:13 +01:00
Mike Jolley a955a5ba5d Fallback for add ons page loading 2014-03-06 16:26:47 +01:00
Mike Jolley 7aac055895 When getting downloadable files, check access_expires too Closes #5060 2014-03-06 16:26:47 +01:00
Mike Jolley e2ea31fc94 pedantic nonce checking 2014-03-06 16:26:47 +01:00
Mike Jolley d303e5d072 When dealing with fixed_product discounts, when doing it for the line, multiple by product qty Closes #5054 2014-03-06 16:26:47 +01:00
Mike Jolley 2c13c5c24e Fix variation price display by checking if a variation is actually stock managed before comparing to stock amount Closes #5059 2014-03-06 16:26:47 +01:00
Mike Jolley 6e466d4fdb Set default for $plain_text variable. Closes #5051 2014-03-06 16:26:47 +01:00
Mike Jolley c3d5111c8d Check existence of nonce Closes #5050 2014-03-06 16:26:47 +01:00
Mike Jolley bfb32b9630 Suppress errors in download handler Closes #5042 2014-03-05 11:04:18 +01:00
Mike Jolley fb20fc87b6 Use woocommerce_notify_no_stock_amount not 0, Closes #5035 2014-03-05 11:04:18 +01:00
Mike Jolley 914308765e Recoded set_stock to only make a variable product out of stock if all variations are stock managed, to to resync prices after stock changes #5035 2014-03-05 11:04:18 +01:00
Mike Jolley 676a67bffb Updated sync logic to exclude hidden and out of stock variations from the price display #5035 2014-03-05 11:04:18 +01:00
Mike Jolley fa7629e8b8 Corrected the "Show Siblings and Children Only" queries Closes #5028 2014-03-05 11:04:18 +01:00
Patrick Rauland b6d54a8ebe returning false instead of array for countries without states 2014-03-05 11:04:18 +01:00
Mike Jolley f44a4bc9d9 Made woocommerce_update_cart_action_cart_updated a filter which can return true or false to recalc totals Closes #4905
Conflicts:
	includes/class-wc-form-handler.php
2014-03-05 11:04:14 +01:00
Mike Jolley 84a42f16cb Add context to strings #4986 2014-03-05 11:02:53 +01:00
Mike Jolley 630eb61203 Later hook for template redirect and the_post Closes #4984 2014-03-05 11:02:53 +01:00
Mike Jolley bb9299fa0c Change the save order so email data is correct for manual orders Closes #4995 2014-03-05 11:02:53 +01:00
Mike Jolley bf8f45fbc9 Correctly recompile scripts on update. Frontend css option no longer exists Closes #5014 2014-03-05 11:02:53 +01:00
Mike Jolley e81c018e60 wc_get_endpoint_url - added support for permalinks containing a query string Closes #5016 2014-03-05 10:58:36 +01:00
splashingpixels 5d96b666f1 shop order - fixes non object error on comments when order is in the trash 2014-03-05 10:58:36 +01:00
splashingpixels 8b8fe715b6 wc_get_product_ids_on_sale should never return post id of 0 fixes #5002 2014-03-05 10:58:36 +01:00
claudiosmweb 0b08814227 improved the bacs email instructions
Conflicts:
	includes/gateways/bacs/class-wc-gateway-bacs.php
2014-03-05 10:58:30 +01:00
claudiosmweb 1aa9840856 forced end of line in bank_details method to fix the #4999
Conflicts:
	includes/gateways/bacs/class-wc-gateway-bacs.php
2014-03-05 10:57:55 +01:00
Patrick Rauland 74755555f5 adding plain text email flag to cheque 2014-03-05 10:57:02 +01:00
Patrick Rauland d3476b8669 adding plain text email flag to bacs 2014-03-05 10:57:02 +01:00
Patrick Rauland afc1c1e566 adding wordpress php formatting" 2014-03-05 10:57:02 +01:00
Mike Jolley 10190ab177 Ensure attributes exist 2014-03-05 10:57:02 +01:00
Mike Jolley f683c29e66 Fix category widget ordering Closes #4971 2014-03-05 10:57:02 +01:00
Mike Jolley 508854effe Fix reports by using strings - int's have a max. Closes #4904 2014-03-05 10:56:23 +01:00
Mike Jolley f1189f5aac Only show the relevant updates in the notices Closes #4977 2014-03-05 10:56:23 +01:00
Mike Jolley 5448e1bedc Fix strict standards Closes #4980 2014-03-05 10:56:23 +01:00
Mike Jolley 2727b62dec Fix after tax coupon amounts 2014-02-27 15:53:36 +01:00
Mike Jolley 13add49e42 Hide shipping class if variation is virtual Closes #4972 2014-02-27 15:48:39 +01:00
Coen Jacobs 5ddba16f7f Fixing the typo fix :) 2014-02-27 15:48:02 +01:00
tamarazuk 6fe0b461d0 Add Canadian address format
.. as per Canada Post's addressing guidelines: http://www.canadapost.ca/tools/pg/manual/PGaddress-e.asp#1413985
2014-02-27 15:47:43 +01:00
JustinSainton 415dadc59e Copypasta fix in docs. 2014-02-27 15:47:15 +01:00
Mike Jolley 8842f25b0e round mijireh shipping amount 2014-02-27 15:46:51 +01:00
Mike Jolley 967aba149c wc_delete_shop_order_transients functions and trigger when order status updates. Closes #4875 2014-02-27 15:46:23 +01:00
Mike Jolley 4685753e27 Prevent short codes running with no cart class loaded. Closes #4962 2014-02-27 15:46:11 +01:00