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
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