Commit Graph

3765 Commits

Author SHA1 Message Date
Claudio Sanches 6ed21bb0cc Removed ilegal brackets from context/msgctxt 2015-01-15 09:22:32 -02:00
Mike Jolley c8699f6f76 Don't fire deprecated notice during ajax events
Closes #7110
2015-01-15 10:47:19 +00:00
matttallan 5265e432b3 Change wc-api-order private methods to protected. 2015-01-15 11:28:07 +10:00
Claudio Sanches b174d7c179 Stopped error when users use the woocommerce_enqueue_styles filter in the wrong way #7104 2015-01-14 12:32:34 -02:00
Claudio Sanches 8928029ecb Updated the docblocks in class-wc-cart.php 2015-01-14 10:40:35 -02:00
Claudio Sanches 0b4074cf22 Merge pull request #7103 from woothemes/cart-undo
Cart undo
2015-01-14 10:38:31 -02:00
Mike Jolley 298ddb19ad Save removed items to session 2015-01-14 12:36:03 +00:00
Claudio Sanches 11150a54c5 Fixed a typo 2015-01-14 10:24:01 -02:00
Claudio Sanches b232e99034 Merge branch 'master' of github.com:woothemes/woocommerce 2015-01-14 10:17:22 -02:00
Mike Jolley e1c54687ac Minor issues with variables 2015-01-14 12:17:19 +00:00
Claudio Sanches 6b8ce0c3fd Merge branch 'master' of github.com:woothemes/woocommerce 2015-01-14 10:17:10 -02:00
Mike Jolley 206a650488 Tidy variation output 2015-01-14 12:17:09 +00:00
Claudio Sanches ebf5763fd6 Added message about WooCommerce Colors plugin, closes #7099 2015-01-14 10:17:03 -02:00
Mike Jolley 8d8e57cbf5 Use @var to define vars passed in 2015-01-14 11:46:03 +00:00
Mike Jolley 32f2a44091 define @global 2015-01-14 11:32:00 +00:00
Mike Jolley d70912c891 Define: $net_order_amounts 2015-01-14 11:28:00 +00:00
Mike Jolley fcebc3b781 Missing Brackets in cart class 2015-01-14 11:16:21 +00:00
Claudio Sanches 9c52a70597 Fixed webhooks status description 2015-01-13 22:09:54 -02:00
Claudio Sanches 8e417f7c0f Merge branch 'master' of github.com:woothemes/woocommerce 2015-01-13 17:55:55 -02:00
Claudio Sanches b55ecea6ba Used wp_unslash() instead of stripslashes_deep()
The WordPress documentation recommends:

"This should be used to remove slashes from data passed to core API that expects data to be unslashed. Use this instead of stripslashes_deep()."
2015-01-13 17:54:10 -02:00
MindyPostoff 72118fb28e Update class-wc-email-customer-completed-order.php 2015-01-13 13:44:35 -05:00
Claudio Sanches 3ddcc68a19 includes/admin/meta-boxes/class-wc-meta-box-webhook-data.php
Removed old webhook file
2015-01-13 16:32:54 -02:00
Claudio Sanches 64f1f7f919 Fixed textdomains 2015-01-13 15:39:26 -02:00
Mike Jolley 04cb8c90c8 contributors 2015-01-13 16:16:01 +00:00
Mike Jolley 45b4364d90 Welcome page update Closes #7089 2015-01-13 16:12:54 +00:00
Mike Jolley 147258d5b8 Fix cart coupon on-sale checks for variations.
Closes #7078
2015-01-13 16:12:54 +00:00
Claudio Sanches 46769e89e2 Fixed doc comments for products api class 2015-01-13 13:44:30 -02:00
Claudio Sanches 22da603567 Simplify commerce hosted payments feature 2015-01-13 13:40:43 -02:00
Claudio Sanches ecf7bd9f9a [API] Show and use slug for attributes in products endpoint, closes #6537 2015-01-13 13:24:28 -02:00
Claudio Sanches 2d768f9553 Stop "Undefined variable: thepostid" error when add a new attribute 2015-01-13 13:09:43 -02:00
Sergey b3e9b1e6d8 add do_action in wc_price function and filters in admin reports 2015-01-13 15:34:48 +02:00
Mike Jolley 4785684b92 Prices include tax require taxes enabled. 2015-01-13 12:54:31 +00:00
Mike Jolley 03043a7c02 Expiry date along with download details
Closes #7096
2015-01-13 12:29:37 +00:00
Mike Jolley 550e569a29 Tweak placement and styling of view link. #7065 2015-01-13 12:27:07 +00:00
Mike Jolley 9b8c23e2bd Merge pull request #7065 from pagelines/master
Link to find all customers orders from order page.
2015-01-13 12:16:51 +00:00
Bryce f3328ac601 Shows VN postcode field and moves before city
Closes #7094
2015-01-13 10:18:48 +07:00
Claudio Sanches 20470db763 Add select2 to State/Country user meta fields in admin profile #6359 2015-01-12 17:15:37 -02:00
Claudio Sanches 3cddfb44e9 Improved the woocommerce_api_query_args filter #7081 2015-01-12 16:46:30 -02:00
Claudio Sanches 695b04be61 Fixed conflits 2015-01-12 16:02:46 -02:00
Claudio Sanches 8e28c17c66 Merge pull request #7091 from woothemes/chosen-to-select2
Chosen to select2
2015-01-12 15:47:31 -02:00
Claudio Sanches 9a6dc0bf41 Added select2 for all settings fields 2015-01-12 15:45:47 -02:00
Mike Jolley 4769d27415 Added missing global $wpdb; 2015-01-12 17:18:17 +00:00
Claudio Sanches 017831f1c6 Fixed the backbone modal 2015-01-12 15:11:01 -02:00
Mike Jolley 2c32f6cdd0 Add functions to get money spent/order count for customers and fix in API Closes #7083 2015-01-12 17:09:46 +00:00
Mike Jolley 643892bd33 modify_user_query use 24 hour date format.
Closes #7082
2015-01-12 17:09:46 +00:00
Mike Jolley 2a5fdb0eac Merge pull request #7086 from ChromeOrange/master
Update abstract-wc-order.php
2015-01-12 16:46:08 +00:00
Mike Jolley 8110a8376b Upsells and cross sells select2 2015-01-12 16:39:49 +00:00
Mike Jolley 50c6e1e4a0 select2 settings 2015-01-12 16:29:01 +00:00
Mike Jolley 0fdd24c526 Select2 frontend 2015-01-12 16:16:13 +00:00
Claudio Sanches 4be3c9831e Added the woocommerce_api_query_args filter, closes #7081 2015-01-12 13:59:27 -02:00
Claudio Sanches 60b23e6f6f Merge branch 'chosen-to-select2' of github.com:woothemes/woocommerce into chosen-to-select2 2015-01-12 13:48:43 -02:00
Mike Jolley 9852d9c6ec Order data JS select2 + refactor 2015-01-12 15:43:13 +00:00
Claudio Sanches 0376da2ea9 Added hosted payments support for pre-orders and subscriptions 2015-01-12 11:43:27 -02:00
Mike Jolley 2e82cbb311 Customer ajax searches 2015-01-12 13:04:19 +00:00
Andrew Benbow fa8aeb605c Update abstract-wc-order.php 2015-01-12 12:34:53 +00:00
Mike Jolley 1fa26f1f6e Product searches select2 2015-01-12 11:56:44 +00:00
Claudio Sanches b7eafa1c49 Added the new redirect-url param in the simplify commerce button 2015-01-12 09:53:19 -02:00
Nicola Mustone f00cd875f1 Typo 2015-01-12 12:31:42 +01:00
Claudio Sanches f3e5c03b38 Repositioned the "move to trash" and "save" buttons 2015-01-12 09:27:09 -02:00
Claudio Sanches 56c49daea8 Added empty trash action 2015-01-09 23:03:22 -02:00
Claudio Sanches 052380e191 Added webhooks search field 2015-01-09 22:41:33 -02:00
Claudio Sanches 9fa5ad756e Fixed a typo 2015-01-09 22:25:04 -02:00
Claudio Sanches 572d451aa6 Created webhooks bulk actions 2015-01-09 22:08:45 -02:00
Claudio Sanches c71869cd6e Added method to create webhooks on settings page 2015-01-09 16:21:19 -02:00
Claudio Sanches 2626275782 Edit and deleted webhooks 2015-01-09 15:42:01 -02:00
Mike Jolley 4b7f97c1de Attributes 2015-01-09 16:53:47 +00:00
Mike Jolley 5f5d8076d4 sales by cat select2 2015-01-09 16:43:35 +00:00
Mike Jolley f18b2c6c93 Added and enqueued select2 to admin 2015-01-09 16:39:10 +00:00
pilyounghur b97453b4a1 wc API - enable html tags for description
use API , enable html tags description and short_description
before : strip all tags , change : user selectable html tags.
2015-01-09 21:12:47 +09:00
Simon 42c570114c Add some spaces. 2015-01-08 18:55:26 +00:00
Claudio Sanches ba538ec36c Disabled the shop_webhook show_ui option 2015-01-08 16:38:30 -02:00
Claudio Sanches 03193b867b Creted new webhooks edit interface 2015-01-08 16:34:30 -02:00
Simon 4003acd1e6 Link to find all customers orders from order page.
Moved to master branch as instructed.
Added check to only display if valid customer.
Removed pointless ?><?php
2015-01-08 16:57:40 +00:00
Mike Jolley 64901d82e5 Clear order transients when trashing posts. Closes #7052 2015-01-08 15:48:01 +00:00
justinstern 072e722406 Support gateway objects in the $load_gateways array
Rather than requiring $load_gateways to be the string class names of the
payment gateways to load, support client code returning the actual
gateway instance from the 'woocommerce_payment_gateways' filter.  This
affords much more fine grained control over how, when, and how often, a
payment gateway is instantiated
2015-01-07 21:11:24 -05:00
Claudio Sanches 3228fc0e67 Initial remove and restore cart methods 2015-01-07 16:52:17 -02:00
James Koster 9cf1a8e7e8 is_sold_individually() tweak. closes #7041 2015-01-07 10:03:49 +00:00
Hector Tolmo 6f4f289c7e Update class-wc-countries.php
State = Region validate Chile line 667 and postcode null
2015-01-06 22:24:23 -03:00
Claudio Sanches a4dcc9261e Hide the old webhooks menu 2015-01-06 22:08:24 -02:00
Claudio Sanches baca07f9d2 Added webhooks table list views 2015-01-06 22:02:33 -02:00
Claudio Sanches 22ac725ec1 Removed not useful global vars 2015-01-06 17:39:34 -02:00
Claudio Sanches 842d26bc24 Removed old webhook post type actions 2015-01-06 17:29:49 -02:00
Claudio Sanches 3c038e613f Created initial webhooks table list in settings page 2015-01-06 17:24:32 -02:00
Mike Jolley 054d499636 Made checkout JS more modular 2015-01-06 17:49:22 +00:00
Mike Jolley d663a7a72e If using multisite, check user resetting password belongs to the current site
Closes #6725
2015-01-06 14:08:43 +00:00
Mike Jolley 06ab96f39e Added net sales to sales by date report
Closes #7039
2015-01-06 13:27:44 +00:00
Mike Jolley 00238bc25b has_notice should return bool 2015-01-06 11:29:40 +00:00
Mike Jolley 744b667ff5 Warnings if notice functions called too early Closes #7050 2015-01-06 11:11:13 +00:00
Mike Jolley fb8f5fc750 Add notice when calling get_cart() before wp_loaded with fallback
#6873
2015-01-06 11:11:13 +00:00
Claudio Sanches 60694ff30d Merge pull request #7051 from corsonr/report_status_docs_link
Add link to docs in status report
2015-01-06 09:08:47 -02:00
Mike Jolley 2fe06c6cb1 Merge branch 'upgrade-routine'
Closes #6918
2015-01-06 10:54:07 +00:00
Remi Corson ecfb86a3f2 added link to docs in status report 2015-01-06 11:39:16 +01:00
Claudio Sanches 4f3326fe86 [API] Refactored the products endpoint to use the WC_API_Exception class #6138 2015-01-05 17:26:24 -02:00
Claudio Sanches d71e135c27 [API] Refactored the webhooks endpoint to use the WC_API_Exception class #6138 2015-01-05 16:52:52 -02:00
Claudio Sanches e14a5b0624 [API] Refactored the orders endpoint to use the WC_API_Exception class #6138 2015-01-05 16:40:38 -02:00
Claudio Sanches a74efe61a9 [API] dont count coupons if the user dont have permissions 2015-01-05 16:40:27 -02:00
Claudio Sanches 678f5e67a0 [API] Refactored the customers endpoint to use the WC_API_Exception class #6138 2015-01-05 16:06:52 -02:00
Claudio Sanches 466158a0b9 Merge branch 'master' of github.com:woothemes/woocommerce 2015-01-05 15:42:37 -02:00
Claudio Sanches a96815ced9 [API] Refactored the coupons endpoint to use the WC_API_Exception class #6138 2015-01-05 15:42:25 -02:00
Claudio Sanches d880ee390b Fixed some coding standards in orders api class 2015-01-05 15:41:14 -02:00
Mike Jolley 6e5ec55374 Option for get_european_union_countries() to return eu_vat countries 2015-01-05 17:29:01 +00:00
Mike Jolley 5c86e962e8 Hide restock checkbox until qty is input Closes #6937 2015-01-05 17:19:18 +00:00
Claudio Sanches 010e8ff763 Fixed the breadcrumbs class to works with attachments 2015-01-05 14:19:00 -02:00
Mike Jolley ca29deead9 Error codes for create order function
Closes #6952
2015-01-05 15:45:11 +00:00
Claudio Sanches d1f9cbfcf2 Merge pull request #6954 from SiR-DanieL/patch-2
Introduced woocommerce_get_product_attributes filter
2015-01-05 13:39:25 -02:00
Claudio Sanches 85d2e60767 Merge pull request #7042 from krautnerds/rest-fix-pagination-headers-customers
Rest 1.0/2.0 Customers - Fix missing output of pagination headers
2015-01-05 13:27:38 -02:00
Mike Jolley d1fd2b3612 Fix zero-rated tax display and ensure tax_id is not empty when saving taxes
Closes #7040
2015-01-05 15:13:49 +00:00
Mike Jolley 1c696a10d3 Dev - Moved WC_Cart::get_cart_from_session() to a later hook (was init, now wp_loaded).
Closes #6873
2015-01-05 14:43:04 +00:00
Claudio Sanches 116e1130ae [API] Fixed "Undefined index: limit" in customers endpoint 2015-01-05 12:36:50 -02:00
Claudio Sanches 1206e72504 Merge pull request #7012 from bhubbard/master
Added support for several Jetpack Features
2015-01-05 12:17:30 -02:00
Mike Jolley cab9e14fcd Use number format instead of round in get_item_subtotal()
Closes #6913
2015-01-05 11:42:10 +00:00
Mike Jolley 9299f3e0b2 Check remote_addr is set 2015-01-05 10:57:21 +00:00
Mike Jolley f847b92a0f Merge branch 'wc-geolocation' 2015-01-05 10:18:25 +00:00
Claudio Sanches fc967d38f9 Merge pull request #7037 from maxrice/fix-issue-6910
Fix updating order paid status via REST API
2015-01-04 11:33:43 -02:00
Florian Ludwig 436570091b REST 1.0: Fix pagination headers for Customers 2015-01-04 02:07:11 +01:00
Florian Ludwig 9bbc9789ce REST: Fix pagination headers for Customers response 2015-01-04 02:05:23 +01:00
Mike Jolley b26ba4b9e4 Made system status export useful for English support people
Closes #7020
2015-01-03 17:45:02 +00:00
Mike Jolley 395107fc72 MC (monaco) and IM (isle of man, part of UK) also use VAT.
Closes #7013
2015-01-03 16:48:29 +00:00
Max Rice 641a3aae42 [#6910] Fix strict check for boolean 2015-01-02 14:30:47 -05:00
Claudio Sanches e53a6f5e57 Fixed variation fields when use "Link all variations" button 2015-01-02 15:07:31 -02:00
shivapoudel 39bf306f1a Fix add tax backbone modal backdrop issue 2015-01-02 20:00:21 +05:45
shivapoudel eab3a23b14 Fix missing icon for add tax backbone modal 2015-01-02 19:56:59 +05:45
Claudio Sanches 794621e3ba Improved the close button in backbone modal #7016 2015-01-02 11:58:57 -02:00
Claudio Sanches 157dde6695 Improved the description of count option of product categories widget 2015-01-02 11:08:38 -02:00
Claudio Sanches b4cc3cfcd5 Improved the widget title 2015-01-02 11:05:06 -02:00
Claudio Sanches 37ea5ee65a Fixed email styles for multipart emails, closes #7033 2015-01-02 10:55:47 -02:00
Claudio Sanches 0accdf6f10 Set order status to refunded when completely refunded, closes #6981 2015-01-02 10:43:47 -02:00
splashingpixels 0923d31de2 use proper label tags for generate api key setting field 2015-01-01 13:33:08 -08:00
Mike Jolley 5ee068071f Support HTTP_CF_IPCOUNTRY 2015-01-01 12:43:49 +00:00
Mike Jolley 932263cf0a Check for geoiprecord class 2015-01-01 12:41:04 +00:00
Mike Jolley 7ef8f4d156 Invalidate unknown product transients Closes #6815 2014-12-30 15:27:08 +00:00
Mike Jolley 4a57cd3f7d 'Free' for variable products without a range of prices. Closes #6929 2014-12-30 15:13:34 +00:00
Mike Jolley 3698eab0ae Made dashboard sales report match monthly sales report Closes #6871 2014-12-30 15:08:06 +00:00
Mike Jolley bee8b1fbfa Merge pull request #6985 from theportlandcompany/master
Using post_status of 'any' causes a conflict with the WP Invoice Plugin ...
2014-12-30 14:48:28 +00:00
Mike Jolley d09353c689 Merge pull request #7021 from bryceadams/patch-7019
Add filter 'woocommerce_grouped_children_args'
2014-12-30 14:47:39 +00:00
Mike Jolley caac9768a7 Added more fallbacks for API geoIP 2014-12-30 11:11:17 +00:00
Bryce d8c49cb988 Fix brackets 2014-12-29 21:48:26 +07:00
Bryce ca5416217c Add check for my account page too 2014-12-29 21:46:03 +07:00
Bryce ebf3ab5cc6 New `is_view_order_page` conditional function
Returns true when on the `my-account/view-order/` page
2014-12-29 15:31:18 +07:00
Bryce 7670a08ff4 Add filter 'woocommerce_grouped_children_args'
Allows people to filter the grouped product children, like changing the
order that the children products are displayed in, etc.
2014-12-29 13:13:26 +07:00
James Koster 773c87d254 Merge pull request #7006 from corsonr/welcome_screen_fix
Fix cart icon alignment on welcome page
2014-12-27 12:42:01 +00:00
Brandon Hubbard 018e56e957 Fixed Comment 2014-12-26 11:43:12 -08:00
Brandon Hubbard 79ba6bc31e Added support for several Jetpack Features
* Added support for publicize and markdown editor for products
* Added support for product results in Omniseaarch
https://www.evernote.com/shard/s1/sh/f47adc63-2aa5-4f5e-9f0d-71a34dd145f
6/03b99171ff6e6fddabcea387f2db02f6
2014-12-26 09:44:38 -08:00
Mike Jolley 896ccb1b88 Force taxes to display/calculate for customer location 2014-12-23 22:07:27 +00:00
Mike Jolley 4e8e90a8de Support dev environment 2014-12-23 22:03:10 +00:00
Mike Jolley f820905327 Handle geolocation option 2014-12-23 18:50:05 +00:00
Mike Jolley bba6ca2007 Maxmind Geolocation library 2014-12-23 18:49:55 +00:00
Mike Jolley ef3ad7d99f Setup cron jobs 2014-12-23 18:49:43 +00:00
Mike Jolley f561aa4224 Geolocation class 2014-12-23 18:49:37 +00:00
Mike Jolley 6800ee0ec3 Base vs default 2014-12-23 17:34:05 +00:00