Commit Graph

2921 Commits

Author SHA1 Message Date
Mike Jolley d52664d738 Tweak report debug output - add pre 2014-10-07 11:09:12 +01:00
Mike Jolley 98ec3da5ac Merge pull request #6472 from thenbrent/edit_order_currency
Display order & item totals with correct currency on Edit Order screen
2014-10-07 10:16:16 +01:00
thenbrent 66cbf9f3a3 Tabs & spaces 2014-10-07 15:16:59 +10:00
thenbrent 6869403a39 Disable autosave for all order types w/ meta boxes 2014-10-07 15:13:56 +10:00
thenbrent 94355b73dc Display order & item totals with correct currency
If a store changes currency or is using an extension which allows for
purchasing in multiple currencies, the currency symbol displayed on the
Edit Order admin screen may be incorrect for previous orders because
it uses the `wc_price()` fallback, which is the site wide currency
rather than the currency for that specific order. This fixes that.
2014-10-07 09:59:52 +10:00
Mike Jolley 589da28f42 Small tweak on text in #6457 2014-10-06 14:31:32 +01:00
Mike Jolley 83d8eb7fd8 Merge pull request #6457 from bryceadams/master
Re-do coupon free shipping option desc issue #6391
2014-10-06 14:29:16 +01:00
Mike Jolley 46a753cb74 [2.2] Unhook save_meta_boxes after first successful run to prevent race conditions
Fixes #6376
2014-10-06 14:26:22 +01:00
Mike Jolley 700369c386 Refund report changes
1. Ensure refund order_total is negative and reflects the full amount,
not just line items
2. Ensure transients are cleared when doing refunds
3. sales-reports order types so we can exclude refunds from pure
‘sales’ reporting
4. Tweak placement of refunds in legend.

Closes #6411
2014-10-06 13:39:53 +01:00
James Koster ef28c43862 move proceed to checkout button. closes #5496 2014-10-06 12:33:39 +01:00
Mike Jolley 90297a09af [2.2] When formatting meta data for display, suffix items to prevent issues when there are multiple values for the same meta key
Fixes #6404
2014-10-06 12:17:07 +01:00
Mike Jolley 7d9598d0a8 [2.2] Core still has issues dealing with pad_counts + parent when getting categories.
Workaround by not hiding empty cats, then filter the returned list
using wp_list_filter. Fixes #6459
2014-10-06 11:41:33 +01:00
Gustavo Bordoni c335d223d8 Remove all calls to get_page(), as it was deprecated on WordPress 3.5.0 2014-10-06 06:55:45 -03:00
Mike Jolley 9947c22cfe Prevent order statuses affecting other queries.
Closes #6437
2014-10-03 14:35:45 +01:00
Mike Jolley d1de7f42b9 Made template debug mode set WC_TEMPLATE_DEBUG_MODE constant and remove all overrides for all template loading functions.
Closes #6436
2014-10-03 10:52:11 +01:00
Bryce 5a6f0b1529 Re-do coupon free shipping option desc issue #6391
I didn’t update the POT as was having some poedit issues
2014-10-03 16:44:57 +07:00
Mike Jolley c8ffee57ff [2.2] Ensure rate is double
Fixes #6442
2014-10-03 10:11:14 +01:00
Mike Jolley 3d36f446d3 Deprecate woocommerce_admin_css action - it's pointless
Will be removed in 2.4. Closes #6456
2014-10-03 10:07:28 +01:00
Mike Jolley 2b55643460 Notices from earlier cache helper change 2014-10-02 17:18:04 +01:00
Mike Jolley b6835a009c wc_paying_customer to only increase for 'simple' orders and added tool to refresh stats to customer list.
Closes #6395
2014-10-02 16:44:36 +01:00
Mike Jolley 973112d132 When user tries to download a file and isn't logged in, send them to the account page with a notice.
Closes #6397
2014-10-02 15:21:39 +01:00
Mike Jolley 67e47ab682 Updated prevent_caching() method to work if a cart/checkout page isn't set.
Closes #6396
2014-10-02 14:52:09 +01:00
Mike Jolley 819436f0a3 Merge pull request #6388 from quadshot/action-buttons
Allow adding custom 'action buttons' in order item metabox
2014-10-02 14:06:11 +01:00
Mike Jolley 0512a114ec Merge pull request #6386 from justinstern/master
Adds a woocommerce_add_to_cart_sold_individually_quantity filter
2014-10-02 14:05:41 +01:00
Mike Jolley e5ebeff99c Merge pull request #6383 from BFTrick/iss-6358
Refactoring Email Classes to Use One Send Method
2014-10-02 14:00:18 +01:00
Mike Jolley 5f407f9830 Merge pull request #6401 from SiR-DanieL/patch-1
woocommerce_found_customer_details filter improvement
2014-10-02 13:58:10 +01:00
Mike Jolley 3964d3fc3c Merge pull request #6417 from corvannoorloos/attachment-thumbnail-url
category and product (-column) image(s) should be inserted as a thumbnail
2014-10-02 13:52:12 +01:00
Mike Jolley 3e20b113d6 Add hook to refund html
Closes #6406
2014-10-02 13:40:34 +01:00
Mike Jolley b519eb09d4 Merge pull request #6426 from ChuckMac/Checkbox_Tooltip
Enable tooltip for woocommerce_wp_checkbox in metabox
2014-10-02 13:32:36 +01:00
Mike Jolley a8d5ca561d Merge pull request #6405 from tamarazuk/master
[#6337] Return variation meta if it exists
2014-10-02 12:42:45 +01:00
Mike Jolley 61cb9814e6 Merge pull request #6446 from ragulka/unescape-redirect
Do not escape redirect url in form handler
2014-10-02 10:34:48 +01:00
Mike Jolley c9bb3cab87 Merge pull request #6423 from mgiulio/wc-gateway-paypal
[2.2] Use 'no' to disable the gateway
2014-10-02 10:11:16 +01:00
Mike Jolley 4f8735a86f Merge pull request #6443 from franticpsyx/master-filter-get_children
Port 'woocommerce_get_children' filter from 2.2-bleeding
2014-10-02 10:10:11 +01:00
Mike Jolley f652a17d6d Merge pull request #6448 from bekarice/textarea-maxlength
Add maxlength attribute to textarea fields
2014-10-02 10:09:12 +01:00
Chuck Mac ec83e932ed Adding refunds to Sales by Date report
Create a new axis for "in refunds" on the sales by date report.  Include
the refunds in the included time period.  Refunds do not reduce the sales
total in the report.
2014-10-01 23:35:34 -04:00
Beka Rice fa686eb9a7 Add maxlength attribute to textarea fields 2014-10-01 16:35:03 -04:00
Illimar Tambek 97ccd7c50f Do not escape redirect url in form handler 2014-10-01 21:26:35 +03:00
Manos Psychogyiopoulos 0966519adc woocommerce_get_children filter from 2.2 2014-10-01 19:42:20 +03:00
Mike Jolley 0a7a72c3ca Merge pull request #6419 from niravmehta/master
Minor improvement
2014-10-01 19:16:50 +03:00
Mike Jolley 2de218b803 Merge pull request #6424 from mgiulio/fix-abstract-wc-order-comment
Fix get_cart_tax() comment
2014-10-01 18:52:03 +03:00
Mike Jolley 3f0271e46a Additional args for woocommerce_get_endpoint_url
Closes #6439
2014-10-01 16:50:25 +01:00
Chuck Mac d8a8970bd4 Enable tooltip for woocommerce_wp_checkbox in metabox
Allow the use of the `desc_tip` value to add a tooltip to the checkbox
field as allowed by other metabox fields.
2014-09-29 12:15:26 -04:00
mgiulio 56c2e5838d Fix get_cart_tax() comment 2014-09-29 17:11:34 +02:00
mgiulio da0a42be28 Use 'no' to disable the gateway 2014-09-29 12:08:19 +02:00
Nicola Mustone 1337c9cd7b Added $user_id 2014-09-29 09:13:56 +02:00
Ratnakar ad1b2afb4a Use of WordPress Insert instead of direct query 2014-09-29 10:56:03 +05:30
Cor van Noorloos e4bc36fcec category meta box and category column thumbnail 2014-09-28 17:23:58 +02:00
Cor van Noorloos ed1d64fc63 product column thumbnail 2014-09-28 17:23:27 +02:00
Mike Jolley 878cae2c7a Merge pull request #6403 from Necrotex/master
New filter for Shipping Tax
2014-09-27 19:55:39 +03:00
James Koster e92be69c9c Increase default product image sizes. closes #5480 2014-09-26 17:49:27 +01:00