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