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
Mike Jolley
34413a1dd7
Core methods for getting locations
2014-12-23 17:33:51 +00:00
Mike Jolley
d908093eac
Made function names make more sense (customer location vs base locations)
2014-12-23 17:33:33 +00:00
Mike Jolley
5b31745061
Add geolocation option for default address
2014-12-23 17:33:10 +00:00
Claudio Sanches
5ce07351a1
Merge branch 'master' of github.com:woothemes/woocommerce
2014-12-23 14:12:22 -02:00
Claudio Sanches
28d960d5bb
Added variable_pricing class/wrap for variable price fields, closes #7008
2014-12-23 14:12:12 -02:00
Remi Corson
3f882480e8
fix cart icon alignment
2014-12-23 16:04:46 +01:00
Nicola Mustone
d6bf1e81f9
added variation ID in order stock notes
2014-12-23 12:01:11 +01:00
boohoogal
d3cdc5d795
Fixed parse error #6998
2014-12-22 23:40:27 +00:00
Mike Jolley
22cc1fb0c7
Add attributes with ajax and don't load all attributes at once.
...
Significantly improves performance with many attributes in admin.
Closes #6852 cc @claudiosmweb
2014-12-22 14:16:15 +00:00
Mike Jolley
8df8c9b482
Make 'public', and rewrite, optional for attributes
...
#6852
2014-12-22 14:16:15 +00:00
Claudio Sanches
e7f0233c8e
Merge pull request #6992 from bryceadams/patch-6991
...
Check we're on the correct post type before editing columns
2014-12-22 00:01:39 -02:00
Mike Jolley
e6fd9f2288
Merge pull request #6990 from boohoogal/page_breadcrumbs_fix
...
Fix for breadcrumbs for pages #6989
2014-12-22 00:55:52 +00:00
Bryce
75c40366bc
destroy the global!
2014-12-21 22:43:38 +07:00
Claudio Sanches
389a829474
Fixed meta_query for shortcodes, closes #6960
2014-12-21 13:31:27 -02:00
Bryce
41de9936fe
Check we're on the correct post type before editing columns
...
Closes #6991
2014-12-21 12:48:30 +07:00
boohoogal
efee85557c
Fix for breadcrumbs for pages #6989
2014-12-21 05:21:19 +00:00
Mike Jolley
a79bedc945
Merge pull request #6947 from juangadiel/master
...
Update class-wc-checkout.php fixes issue #6940
2014-12-21 00:36:04 +00:00
Juan Gadiel Rosado Colon
de1466779b
Fixes issue #6940
...
Check if the cart needs shipping before updating the user shipping address. This fixes the issue (#6940 ) of the shipping address being updated with the user billing address when purchasing a virtual product.
2014-12-20 20:29:09 -04:00
Mike Jolley
bb6b7c5489
Merge pull request #6967 from BFTrick/issue-6965
...
Adding Email Styles Back to Email Preview. Fixes #6965
2014-12-21 00:20:46 +00:00
Spencer Hill
d8c8d37fd6
Using post_status of 'any' causes a conflict with the WP Invoice Plugin by Usability Dynamics resulting in the Select Box for Variable Subscriptions - when the WooCommerce Variable Subscriptons Plugin is installed and activated - not functioning and returning an error to the user on the front end. Since it's filtering out the Trash status, and others, anyway when being displayed on the front end we found that setting the post_status to publish resolved the issue and doesn't appear to have adverse affects elsewhere.
2014-12-19 13:21:15 -08:00
Rtransat
d53210dfbf
Fix label "for" attribute for products_categories
2014-12-19 17:15:24 +01:00
Claudio Sanches
7e780a64b1
Introduces the woocommerce_restock_refunded_item and woocommerce_order_refunded actions, closes #6922
2014-12-19 10:29:47 -02:00
tc33
fb51984a6b
Fixes #6979 by fetching attribute slugs instead of names.
2014-12-18 20:09:07 +00:00
Claudio Sanches
d821dbf88e
[API] Fixed the individual_use, enable_free_shipping and exclude_sale_items params for coupons endpoint
2014-12-18 15:01:54 -02:00
Claudio Sanches
c32b40ac10
Changed the position of the webhook menu
2014-12-17 16:33:51 -02:00
Claudio Sanches
690b04b29a
Improved the webhook meta boxes
2014-12-17 16:20:37 -02:00
Claudio Sanches
d84e1bae10
Merge pull request #6970 from woothemes/webhooks-ui
...
Webhooks ui, closes #6912
2014-12-17 16:08:43 -02:00
Claudio Sanches
67f90fbb87
Created webhook logs meta box
2014-12-17 15:50:19 -02:00
Claudio Sanches
9b9243fb92
Validated webhook delivery_url and topic
2014-12-17 10:45:20 -02:00
Claudio Sanches
6ccf391168
Improved the webhook data class and send a webhook ping when create a new
2014-12-17 10:42:39 -02:00
Claudio Sanches
5b318b1d2a
Added the wc_is_webhook_valid_topic() and wc_is_valid_url() conditional functions
2014-12-17 10:16:14 -02:00
Claudio Sanches
d1bed7bef9
Changed the shop_webhook postupdated messages
2014-12-17 09:45:59 -02:00
Claudio Sanches
429c91708b
Improved the WC_Meta_Box_Webhook_Data:save() method
2014-12-17 09:29:43 -02:00
Claudio Sanches
b8e842d2ee
Fixed WC_Webhook::enqueue() [2]
2014-12-17 01:48:29 -02:00
Claudio Sanches
e0ad955afe
Fixed WC_Webhook::enqueue()
2014-12-17 01:44:35 -02:00
Claudio Sanches
509147b105
Created webhook actions meta box
2014-12-16 20:18:06 -02:00
Claudio Sanches
4c47def638
Stop hook webhooks when is not configured the hooks and delivery URL
2014-12-16 20:16:38 -02:00
Claudio Sanches
9f83541d9f
Added webhook meta box js
2014-12-16 19:07:48 -02:00
Claudio Sanches
1fae690e68
Added methods to save and display the webhook data meta box
2014-12-16 19:07:28 -02:00
Claudio Sanches
802ebdee38
Added URL data_type for woocommerce_wp_text_input()
2014-12-16 19:06:47 -02:00
Claudio Sanches
10b2b6bccc
Removed support for title in webhooks
2014-12-16 19:05:53 -02:00
Claudio Sanches
4d3673c4c2
Created webhook data meta box class
2014-12-16 19:05:03 -02:00
Claudio Sanches
b247997bd2
Created method to get the webhook statuses
2014-12-16 18:54:48 -02:00
Patrick Rauland
d8ff34710d
adding email styles back to email preview. closes #6965
2014-12-16 11:32:54 -07:00
Claudio Sanches
8180de7fec
Created the WC_Webhook::get_i18n_status() method
2014-12-16 15:29:37 -02:00
Claudio Sanches
481aee3969
Fixed dead variable in my account shortcode class
2014-12-16 10:10:25 -02:00
Claudio Sanches
5a14f0f3fe
Merge pull request #6963 from bryceadams/patch-6962
...
Removal of old PHP class var use
2014-12-16 09:49:14 -02:00
Bryce
19d06c3d5b
remove var keyword in WC_Product_Cat_List_Walker
2014-12-16 18:45:02 +07:00
Bryce
ee8125d97c
remove var keyword in WC_Product_Cat_Dropdown_Walker
2014-12-16 18:43:58 +07:00
James Koster
0c95d76c45
Storefront banner on add-ons. closes #6923
2014-12-16 11:43:26 +00:00
Bryce
a5d51d040e
remove var keyword in WC_Shipping_International_Delivery
2014-12-16 18:43:05 +07:00
Bryce
96ba418d5c
remove var keyword in WC_Email_Customer_Reset_Password
2014-12-16 18:40:51 +07:00
Bryce
6af72ecb3d
remove var keyword in some email classes
2014-12-16 18:40:21 +07:00
Bryce
f428da3a01
remove var keyword in WC_Email_Customer_Invoice
2014-12-16 18:39:23 +07:00
Bryce
1c31af94f5
remove var keyword in WC_Shipping_Method
2014-12-16 18:38:58 +07:00
Bryce
e2443c9d4c
remove var keyword in WC_Shipping
2014-12-16 18:37:58 +07:00
Bryce
40b0d8d003
remove var keyword in WC_Integrations
2014-12-16 18:36:26 +07:00
Claudio Sanches
4150b03ea0
Fixed the stock status in quick and bulk edit
2014-12-15 20:03:50 -02:00
Claudio Sanches
1198a1dba2
Improved the Webhooks columns/table list
2014-12-15 18:49:18 -02:00
Claudio Sanches
2aeee0169a
Display Webhooks menu when the WC API is activated
2014-12-15 17:28:58 -02:00
Nicola Mustone
7cec3c9f0b
introduced woocommerce_get_product_attributes filter
2014-12-15 14:40:23 +01:00
thenbrent
e1560bc9c6
Remove mention of after tax discounts in comments
...
Related to #6830
2014-12-15 15:27:10 +10:00
thenbrent
a94cf06e4b
Deprecated notice for WC_Cart->discount_total
...
Related to #6830
2014-12-15 15:25:53 +10:00
juangadiel
ca1b9c334c
Update class-wc-checkout.php fixes issue #6940
...
Check if the cart needs shipping before updating the user shipping address. This fixes the issue (#6940 ) of the shipping address being updated with the user billing address when purchasing a virtual product.
2014-12-12 17:18:16 -04:00
Mike Jolley
8434463694
Tweak skip button to make it less clickable
2014-12-12 17:03:11 +00:00
Mike Jolley
c929b35f4f
$discount_total deprecated to prevent errors.
2014-12-12 16:39:24 +00:00
Claudio Sanches
c0e01e88dc
Fixed the force http option on customizer screen, closes #6809
2014-12-12 11:15:38 -02:00
Claudio Sanches
24cfef046e
Fixed the email settings save method
2014-12-12 10:48:55 -02:00
Claudio Sanches
32e30ed877
Improved the purchased items on order screen
2014-12-12 10:03:11 -02:00
Claudio Sanches
264a347fb5
Registre support for twenty fifteen
2014-12-12 09:49:54 -02:00
Claudio Sanches
7cf69a337b
Updated the hosted payments option description on simplify commerce gateway
2014-12-12 01:56:28 -02:00
Claudio Sanches
48bf608120
[API] Improved the params in orders api actions
2014-12-12 01:22:42 -02:00
Mike Jolley
100b95ae4f
Tweak the get magic method in product class
2014-12-11 14:54:56 +00:00
Claudio Sanches
051d3078ad
[API] Prevented errors with deleted products in the orders endpoint, closes #6813
2014-12-11 10:54:07 -02:00
Barry Kooij
3f0a8be3d2
Merge branch 'master' into enhancement/checkout-order-review-error-handling
2014-12-11 12:10:53 +01:00
Mike Jolley
65dbab486c
[2.2] Don't force tax_rate_id to an integer. Allow strings.
...
Used in Taxamo extension.
2014-12-11 11:06:01 +00:00
Brent Shepherd
1e8f25defa
Use wc_get_order() not new WC_Order()
...
Because an order might be a custom order type
2014-12-10 18:46:32 -08:00
Brent Shepherd
40de60ea3e
Give child class access to billing/shipping fields
...
So that custom order types can extend `WC_Meta_Box_Order_Data` for their
own purposes without having to redefine all the billing/shipping fields
2014-12-10 18:46:32 -08:00
thenbrent
e4b104d153
Use order type's singular label for meta box names
2014-12-10 18:46:32 -08:00
Brent Shepherd
1f2375f7e4
Make no order notes label more generic
...
To account for it being displayed on custom order type Add/Edit screens
where the order type is not referred to as an 'Order' (e.g. a 'Subscription',
'Refund' or 'Pre-order').
2014-12-10 18:46:32 -08:00
Brent Shepherd
ac42a29520
Delete order items for custom order types
2014-12-10 18:46:32 -08:00
Brent Shepherd
2eca3fd765
Apply request filters for custom order types
2014-12-10 18:46:32 -08:00
Brent Shepherd
a141c79d10
Change insert button label for custom order types
2014-12-10 18:46:32 -08:00
Brent Shepherd
3fd9bc9027
Display order filters for custom order types
...
That declare they are using order-meta-boxes (and therefore, are assumed
to be exposing the Edit Order interface and a list table)
2014-12-10 18:46:32 -08:00
Brent Shepherd
b0c2f05a6a
Use post type label for "Save Order" button
...
To improve compatibility with custom order types
Conflicts:
includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
2014-12-10 18:46:15 -08:00
Claudio Sanches
53b1c66427
[API] Added parent_id in products endpoint, closes #6786
2014-12-10 16:28:30 -02:00
Claudio Sanches
a579ce4578
Merge pull request #6894 from franticpsyx/add_shop_prices_in_variation_data_array
...
Add display_prices in available_variations array
2014-12-10 15:52:57 -02:00
Claudio Sanches
a5d70fa24c
Fixed API products when save multiple images from the media library, closes #6792
2014-12-10 15:23:36 -02:00
Claudio Sanches
cb7cd8f765
Fixed the process order status method in simplify commerce
2014-12-10 15:04:57 -02:00
Mike Jolley
fd15ac4c64
Allow a cancelled order to be marked paid, if there is a payment delay
...
Closes #6810
2014-12-10 16:54:08 +00:00
Mike Jolley
0e3cb2498e
set timezone_name_from_abbr 3rd arg to 0
...
Closes #6897
2014-12-10 16:46:25 +00:00
Claudio Sanches
e8a347ed18
Created the simplify commerce hosted payments return handler
2014-12-10 10:07:45 -02:00
Claudio Sanches
1da03a170c
Created initial simplify commerce hosted payments flow and options
2014-12-09 17:11:55 -02:00
Mike Jolley
5aa058249c
Allow plugins to filter the taxable location
...
Passes tax_class so we can workaround mixed carts and EU VAT.
cc @barrykooij
2014-12-09 16:41:30 +00:00
James Koster
316b43f770
coupons. closes #6836
2014-12-09 16:06:34 +00:00
Gerhard
af1e4d794f
Alignment.
2014-12-09 15:09:39 +02:00
Gerhard
20ad987274
Define WooCommerce core settings to track.
2014-12-09 15:05:32 +02:00
Gerhard
9fff6eb8c2
Update some docblocks
2014-12-09 15:02:02 +02:00
Mike Jolley
317808a219
[2.2] If order_item_type is not set, don't query it in reports class
2014-12-09 12:59:01 +00:00
Mike Jolley
76ec750dbb
[2.2] remove_taxes needs to clear line_tax_data
2014-12-09 12:58:25 +00:00
Claudio Sanches
ec30dab6c4
Improved the colorpicker field
2014-12-09 10:10:59 -02:00
Claudio Sanches
5ea4e1b0a7
Created new colorpicker settings api field
2014-12-09 10:07:29 -02:00
Mike Jolley
76898699cd
Clarify variable comment #6830
2014-12-09 11:00:41 +00:00
Mike Jolley
caec42dc13
Merge pull request #6917 from webaware/cleanup-sessions-escape-for-like
...
Escape `_` in LIKE to allow index search
2014-12-09 10:47:19 +00:00
Mike Jolley
ba4fc09eeb
Merge pull request #6920 from SiR-DanieL/patch-2
...
Fix possible notice with taxes
2014-12-09 10:44:48 +00:00
Mike Jolley
56e0e0dc55
Add special wc_query variable when querying products. #6444
2014-12-09 10:21:50 +00:00
Mike Jolley
95a504cf84
Fix admin term output
...
Resolves an issue decoding foreign chars caused by #6555
Fixes #6550
2014-12-09 09:54:42 +00:00
Nicola Mustone
7ebd7399cb
Fix possible notice
2014-12-09 10:14:25 +01:00
Mike Jolley
e6b94e486b
Leave postcode before city swapping to JS
...
Fixes #6842
2014-12-09 09:07:28 +00:00
Mike Jolley
2f66bbd8c0
woocommerce_price_filter_meta_keys filter to allow plugins to define min/max meta keys that require searching
...
Closes #6492
2014-12-09 08:33:33 +00:00
Ross McKay
648040d458
Don't return option_value from cleanup_sessions() query, no longer required
2014-12-09 08:16:40 +11:00
Ross McKay
d37d58d19f
Escape `_` in LIKE to allow index search
...
Also filters for expired sessions in DB, not PHP.
Fixes #6916
2014-12-09 08:07:12 +11:00
Mike Jolley
b470e64b61
Error in previous commit.
2014-12-08 12:34:42 +00:00
Mike Jolley
80d08787a8
Correctly save custom address fields in admin
2014-12-08 12:30:11 +00:00
Mike Jolley
2874ef9947
Merge pull request #6909 from webaware/cleanup-sessions-cached
...
Delete cached sessions when clearing expired sessions
2014-12-08 07:47:10 +00:00
splashingpixels
25b6377298
ajaxified coupon removal on checkout page for better UX closes #6881
2014-12-07 22:15:03 -08:00
Ross McKay
ee0cbb27c6
only delete sessions from object cache if using persistent object cache
2014-12-08 09:04:55 +11:00
Ross McKay
95a25d3023
Delete cached sessions when clearing expired sessions
...
Fixes #6907
2014-12-06 18:43:56 +11:00
Mike Jolley
caee0cd679
Fix timezone_name_from_abbr unit test
2014-12-05 14:21:05 +00:00
Mike Jolley
cf694bcae6
Merge pull request #6875 from tamarazuk/limit-order-action
...
Execute `woocommerce_order_action_{$action}` only once
2014-12-05 14:04:47 +00:00
Mike Jolley
6da8be66a6
Merge pull request #6905 from SiR-DanieL/patch-2
...
Clickable item name in orders table
2014-12-05 14:04:16 +00:00
Mike Jolley
e13c01e7f4
Adjust wc_timezone_string to use is_dst and return the timezone when not false. Only fallback to UTC when needed.
...
Fixes #6897
2014-12-05 14:01:08 +00:00
Mike Jolley
508bfd5c06
Merge branch 'breadcrumbs-class'
...
Adds endpoint page titles for #5522
Fixes link back to endpoint pages and closes #6638
Avoids need for breadcrumb fix which closes #6834
Removes the need and closes #6834
Fixes #6840
2014-12-05 13:42:19 +00:00
Nicola Mustone
e59070ab01
clickable item name in orders table
2014-12-04 16:57:12 +01:00
Claudio Sanches
256216e13d
Fixed the wc_update_new_customer_past_orders() function, closes #6903
...
get_post_status() returns post status (string) or false (bool) on failure.
2014-12-04 11:09:37 -02:00
Barry Kooij
438988d9c7
Added the possibility to display notices and/or force reload on order review.
2014-12-04 09:40:49 +01:00
Mike Jolley
6a45f8f196
Merge branch 'master' of https://github.com/woothemes/woocommerce
2014-12-03 12:33:19 +00:00
Mike Jolley
eba8206540
Merge branch 'tax-coupon-handling' Closes #6830
...
Conflicts:
assets/js/admin/meta-boxes-order.min.js
includes/api/class-wc-api-coupons.php
includes/class-wc-cart.php
templates/checkout/review-order.php
2014-12-03 12:33:15 +00:00
Claudio Sanches
8fac703f97
Added missing textdomain
...
cc @bryceadams #fail
2014-12-03 10:30:32 -02:00
Manos Psychogyiopoulos
4b04701cc8
add display_prices in variation data
...
The commit introduces 3 changes:
1. It adds 2 extra fields to the available_variations array,
display_price and display_regular_price, to be used by extensions in
cases like
https://github.com/woothemes/woocommerce-product-addons/issues/19
2. Introduces a get_display_price() function in WC_Product to retrieve
product prices incl or excl tax relative to the
woocommerce_tax_display_shop setting.
3. Fixes a minor issue where passing a 0 price to
get_price_including_tax() or get_price_excluding_tax() results in a
wrong output.
2014-12-03 11:28:04 +02:00
Bryce
80ccc7b09d
Add help tip for schedule sales info
...
Closes #6863
2014-12-03 13:20:24 +07:00
Claudio Sanches
951c70de7e
Allows custom directory for email templates
...
cc @SiR-DanieL
2014-12-03 01:30:28 -02:00
Nicola Mustone
6b03da033d
Introduced woocommerce_delete_from_theme_folder filter
2014-12-03 00:52:08 +01:00
Nicola Mustone
fcc072abcc
Added trim to avoid errors
2014-12-03 00:40:44 +01:00
Nicola Mustone
d1ce8c00ac
Introduced filter woocommerce_copy_to_theme_folder
2014-12-03 00:36:26 +01:00
James Koster
7bd6b7d009
remove frontend dashicons, tweak loader
2014-12-02 21:19:03 +00:00
Barry Kooij
36c98dae6d
Merge branch 'master' of github.com:woothemes/woocommerce
2014-12-02 12:58:00 +01:00
Barry Kooij
f105664805
Introduced 'woocommerce_ajax_calc_line_taxes' filter.
2014-12-02 12:57:53 +01:00
Barry Kooij
b79a98bc87
Introduced 'woocommerce_find_rates' filter.
2014-12-02 12:57:01 +01:00
Mike Jolley
11af24902b
[2.2] Ensure float is safely converted to string
2014-12-02 11:20:07 +00:00
Mike Jolley
b852904e37
Merge pull request #6890 from bryceadams/patch-6888
...
Add style field to woocommerce_wp_xxxxx_input
2014-12-02 10:06:23 +00:00
antoscarface
78047959f4
Moved do action of 'woocommerce_admin_css' to avoid possible add action from debug plugin as "Debug Bar" and "Debug Bar Slow Actions"
...
See screen: http://d.pr/i/1fYX1/7ZiItezr
2014-12-02 10:26:17 +01:00
Bryce
f8d4fe64ad
Fix annoying white space
2014-12-02 13:50:17 +07:00
Bryce
cd76ae82e7
Add style field to woocommerce_wp_xxxxx_input
...
Closes #6888
2014-12-02 13:48:06 +07:00
claudiosmweb
676549b4ab
Fixed docblock for WC_Product::get_categories()
2014-12-01 22:09:42 -02:00
claudiosmweb
5d9a1ad908
Merge branch 'master' of github.com:woothemes/woocommerce
2014-12-01 21:56:45 -02:00
claudiosmweb
3ce620e4f3
Removed eXtremeGoHorse practices from WC_AJAX::calc_line_taxes() and wc_save_order_items()
...
cc @barrykooij
2014-12-01 21:55:48 -02:00
Barry Kooij
e1b81b3a23
Introduced 'woocommerce_reports_taxes_tax_rate' and 'woocommerce_reports_taxes_rate' filters.
2014-12-01 13:36:50 +01:00
claudiosmweb
780aca38a6
Fixed checkbox label in woocommerce_form_field() function, closes #6880
2014-12-01 10:13:41 -02:00
Gerhard
6f62e17fd0
Use get_bloginfo so it does not output.
2014-12-01 13:50:18 +02:00
Gerhard
f90cf15adf
Use correct theme_data variable.
2014-12-01 13:43:48 +02:00
Gerhard
77a09e3f85
Update to new tracker domain.
2014-12-01 13:28:18 +02:00
Claudio Sanches
8de9492199
Merge pull request #6876 from tamarazuk/coding-standards-part-2
...
Code Standards Part 2
2014-11-30 12:14:33 -02:00
Barry Kooij
4c2adfda62
Doc return type update.
2014-11-30 14:16:40 +01:00
Tamara Zuk
af442599b1
Code Standards: Finish up admin includes
...
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
@see http://make.wordpress.org/core/handbook/coding-standards/php/
@see part 1: #6157
2014-11-30 01:52:32 -05:00
Tamara Zuk
f63c5e8c8f
Execute `woocommerce_order_action_{$action}` only once
...
Prevents a “Maximum function nesting level reached” fatal error in
certain cases.
Since this ends up running on `’save_post’`, updating something like
the order status while hooked onto to
`woocommerce_order_action_{$action}` causes a fun recursion :)
2014-11-30 00:14:22 -05:00
Barry Kooij
23b38f9490
Typos
2014-11-29 12:35:36 +01:00
Barry Kooij
0ccf153227
Merge branch 'master' of github.com:woothemes/woocommerce
2014-11-29 12:33:43 +01:00