Commit Graph

4639 Commits

Author SHA1 Message Date
Claudio Sanches fd3c802516 Merge branch 'master' of github.com:woothemes/woocommerce 2015-05-06 18:18:22 -03:00
Claudio Sanches 431768df61 Improved the paypal logo for JP, closes #8119 2015-05-06 18:17:19 -03:00
Claudio Sanches 67fdba87eb Merge pull request #8121 from helgatheviking/master
change priority on custom email addresses in emails
2015-05-06 17:58:23 -03:00
Claudio Sanches 41e1ba2811 [2.3] [API] Fixed enable_html_description and enable_html_short_description for products endpoint, closes #8090 2015-05-06 14:28:57 -03:00
Claudio Sanches 08f8317554 [2.3] [API] Fixed start and end date for products, closes #8063 2015-05-06 13:55:40 -03:00
Kathy Darling bbf928ea9e change priority on custom email addresses in emails, so plugins can insert data between customer_details and addresses 2015-05-06 14:10:06 +02:00
Nicola Mustone fe6f680e44 replace get_product_url with add_to_cart_url 2015-05-05 16:18:01 +02:00
Mike Jolley af6998fe4d [2.3] Correct coupon % calc. Added inline note to prevent regression.
Closes #8074
2015-05-05 14:33:35 +01:00
Mike Jolley 48d071731a Set date after status
Closes #8078
2015-05-05 14:19:22 +01:00
Mike Jolley d1d5a489fc [2.3] Fix round_chart_totals to deal with arrays
Closes #8077
2015-05-05 13:55:56 +01:00
Mike Jolley 5a92126a39 Remove all sslverify false
Closes #8058 cc @claudiosmweb @roykho @barrykooij
2015-05-05 13:39:34 +01:00
Mike Jolley 7254e45edc Remove notice fade class Closes #8096 2015-05-05 13:28:08 +01:00
Claudio Sanches 31558ba8c8 Merge branch 'master' of github.com:woothemes/woocommerce 2015-05-05 09:01:55 -03:00
Claudio Sanches 8a9ab7ffea Fixed get_woocommerce_api_url() for the new API versions numbers and
fixed the tests

@mikejolley
2015-05-05 09:01:34 -03:00
Claudio Sanches e3782efbf5 Merge pull request #8001 from bordoni/feature/add_context_to_woocommerce_admin_order_item_headers_action
Admin Order Header lacks Variable for context
2015-05-05 08:56:39 -03:00
Claudio Sanches 89cd5ac32d Added esc_html() for #8075 2015-05-05 08:53:43 -03:00
Claudio Sanches 2c52e0e973 Fixed conflicts for #8075 2015-05-05 08:52:28 -03:00
Mike Jolley 5f67a63b43 woocommerce_paypal_refund_request filter
Closes #8111
2015-05-05 12:29:07 +01:00
Nicola Mustone 3288997f72 fix coupons amount 2015-05-04 17:19:34 +02:00
Gabor Javorszky fc66b8581a Adds a filter to webhook topic dropdown values
Fixes #8098
2015-05-02 02:31:24 +01:00
Mike Jolley 3e8ba7d591 Merge pull request #8062 from Victoor/master
Add order to woocommerce_get_return_url filter
2015-05-01 15:36:16 +01:00
Mike Jolley 1a2afc0bca Merge pull request #8083 from woothemes/avoid-multi-get-default-calls
Avoid making multiple get_default_* calls
2015-05-01 15:35:40 +01:00
Mike Jolley 0e66f85efe Merge pull request #8092 from roykho/paypal
log paypal standard transaction fees closes #8091
2015-05-01 15:34:32 +01:00
Mike Jolley 8bb7a8c934 [2.3] Move action to prevent infinite recursion on login/restoring saved cart
Thanks @roykho. Follow up to #7852
2015-05-01 15:33:24 +01:00
Mike Jolley 906940791a Merge branch 'variation-prices-sync' 2015-05-01 15:01:14 +01:00
Mike Jolley efb8be72c2 Round tax total 2015-05-01 14:57:56 +01:00
Mike Jolley 3b3845872f Change deprecated args
Closes #7210
2015-05-01 14:52:51 +01:00
Mike Jolley d6604cb668 Split order details into customer + item templates. Tidied up codebase/template based logic.
cc @jameskoster
2015-05-01 14:50:18 +01:00
Mike Jolley 77941a57c5 New way to gather item meta with bw compatibility on item meta class
#7210

This also includes a new template file for order item details.
@jameskoster Version bumping the order details template. Splitting it
up some more in next commit.
2015-05-01 12:42:29 +01:00
roykho c23b68dc93 revised to not hide meta and sanitize 2015-04-30 21:05:46 -07:00
roykho 7c074c75e2 log paypal standard transaction fees closes #8091 2015-04-30 20:29:02 -07:00
roykho 7eb7f7df30 fixed issue with bulk edit sale price saving as 0 when not entering any value fixes #8076 2015-04-30 15:49:22 -07:00
Gerhard 072b52c520 Avoid making multiple get_default_* calls after each other, just reuse the first calls data 2015-04-30 14:29:25 +02:00
roykho a23142423c fixed on password change, password 1 field can be skipped closes #8079 2015-04-29 22:07:34 -07:00
Peter d94b2c95fc Update class-wc-meta-box-order-data.php 2015-04-29 16:47:17 -04:00
Peter c8707a68c1 Update class-wc-meta-box-order-data.php
Set "Order" string to be retrieved from post type object singular name rather than being hard coded. Similar to side bar meta box titles.
2015-04-29 16:01:34 -04:00
roykho ae678b538c add filter for products widget args 2015-04-29 07:36:27 -07:00
Illimar Tambek 3e9c56a5ca Pass current variation to woocommerce_hide_invisible_variations filter 2015-04-29 12:16:58 +03:00
Claudio Sanches 0a3fc7673e [API] Fixed the returned status when delete a product attribute 2015-04-28 15:56:28 -03:00
Claudio Sanches 8d339a7022 Stop yoda! 2015-04-28 15:10:29 -03:00
Claudio Sanches c0a8e4d87e [2.3] Error prevention for WC_Admin::admin_footer_text(), closes #8057 2015-04-28 11:06:40 -03:00
Víctor Falcón 226d940e72 Add order to woocommerce_get_return_url filter 2015-04-28 14:48:39 +02:00
Claudio Sanches 679a548bc1 Merge branch 'master' of github.com:woothemes/woocommerce 2015-04-27 18:13:19 -03:00
Claudio Sanches 4441436618 [2.3] Fixed system report in WordPress 2.4 with emojis
@mikejolley
2015-04-27 18:12:46 -03:00
Claudio Sanches 62c58360c2 Merge pull request #8054 from slobodan/wc-checkout-doc
Fixes WC_Checkout class name in header comment block
2015-04-27 17:50:54 -03:00
Claudio Sanches dd8b2f6007 [API] Deprecated the products/sku/<sku> endpoint, closes #7592 2015-04-27 17:49:35 -03:00
Claudio Sanches e1f7f5bb01 Improved the system status to have a section only for API 2015-04-27 17:00:55 -03:00
Slobodan Manic f1927c8c40 Fixes WC_Checkout class name in header comment block 2015-04-27 21:57:16 +02:00
Claudio Sanches c37c1bd9fa [API] Updated the version to 2.1.0 2015-04-27 16:50:07 -03:00
Claudio Sanches fcf03a4ac1 Merge pull request #8053 from woothemes/api-product-attributes
[API] Product attributes endpoints, closes #8031
2015-04-27 16:35:09 -03:00
Claudio Sanches 83b570e3e1 [API] Created method to delete product attributes 2015-04-27 16:33:47 -03:00
Claudio Sanches bda53f75af [API] Created method to edit product attributes 2015-04-27 16:14:31 -03:00
Ninos Ego 4bdaff52cb Remove unnecessary global variable
`$post` is not needed there.
2015-04-27 18:41:15 +02:00
Claudio Sanches 2e56790122 [2.3] Fixed the sort order dropdown items when create new product attributes 2015-04-27 13:08:53 -03:00
Claudio Sanches 212ebe486d [API] Created method to create product attributes 2015-04-27 13:06:42 -03:00
Claudio Sanches 1b176c73e3 Created wc_check_if_attribute_name_is_reserved() function 2015-04-27 13:06:28 -03:00
Claudio Sanches 611ffff0a5 Created wc_get_attribute_types() and deprecated the woocommerce_admin_attribute_types action 2015-04-27 12:31:34 -03:00
Claudio Sanches 00f9c6f1ca [API] Created WC_API_Products::get_product_attribute() method 2015-04-27 11:58:58 -03:00
Claudio Sanches aa2d5835e4 [API] Created WC_API_Products::get_product_attributes() method 2015-04-27 11:47:17 -03:00
Claudio Sanches 298d5e90ed [2.3] Fixed paypal about URL for Switzerland #8030 2015-04-27 10:37:35 -03:00
Mike Jolley 17f1536ed3 Merge pull request #8035 from bdokimakis/master
Fix for #8034
2015-04-27 11:21:58 +01:00
Mike Jolley d3415f2414 [2.3] Remove submitdiv and fix post status
Closes #8039
2015-04-27 11:13:49 +01:00
Ibrahim 7b513ec35c Error message not formatted
The error message that is displayed when adding a reserved term for attribute is not formatted. Hence the user sees %s in his error message.
2015-04-26 11:24:25 +05:30
Claudio Sanches 98b1845b68 [2.3] [API] Fixed save downloadable files for product variations, closes #8037 2015-04-25 12:19:30 -03:00
Byron Dokimakis 17af14ef9a Fix for #8034 2015-04-25 02:14:44 +03:00
Claudio Sanches bcfdbcdd0a [API] Improved WC_API_Products::bulk() #7915 2015-04-24 18:43:33 -03:00
Claudio Sanches abf1d90d9b Merge pull request #7922 from Nils-Fredrik/master
Allow bulk updates / inserts of products according to #7915
2015-04-24 17:12:53 -03:00
Claudio Sanches af9c5f948b [API] Improved the WC_API_Products::get_product_orders() method #8019 2015-04-24 17:04:13 -03:00
Claudio Sanches cccc7b9b98 Merge pull request #8019 from cklosowski/issue/7285
Product's Orders API Endpoint, closes #7285
2015-04-24 16:42:24 -03:00
Claudio Sanches 4a83200a81 Fixed coding standards 2015-04-24 15:53:54 -03:00
Claudio Sanches d5524a62bf [API] Removed test in WC_API_Orders::set_line_item() 2015-04-24 15:53:39 -03:00
Claudio Sanches ed919ae2f5 [2.3] Fixed paypal about URL for Malta, closes #8030 2015-04-24 10:41:13 -03:00
Mike Jolley 4ab4865ac6 [2.3] Fix stock report pagination. Closes #8023 2015-04-24 12:01:49 +01:00
Mike Jolley 5beeb578a2 Select 'parent' tax class as default for new variations
Closes #8017
2015-04-24 11:05:14 +01:00
Claudio Sanches e7d6cf22d0 Fixed the auth validation 2015-04-23 17:51:49 -03:00
Claudio Sanches 75ee806a00 Created WC_Auth::auth_endpoint() method 2015-04-23 17:48:56 -03:00
Claudio Sanches e79dfec3b0 Improved the auth urls validation 2015-04-23 17:45:38 -03:00
Claudio Sanches d0d3aae8c1 Improved the WC_Auth::make_validation() method 2015-04-23 17:43:38 -03:00
Claudio Sanches 5d90975392 Allow versions in the URL 2015-04-23 16:58:15 -03:00
Claudio Sanches a1a929757b Improved the wc-auth/authorize endpoint 2015-04-23 16:46:28 -03:00
Claudio Sanches 3df93e7004 Created final authentication flow 2015-04-23 16:37:59 -03:00
Mike Jolley 7e304fd4f9 [2.3][api] Prevent variable overwrite in save_product_meta
Closes #8011
2015-04-23 16:45:51 +01:00
investonline_joost eed9332adf Bugfix: The old regex rule selects more then the unknown/unhandled entities. Plain-text email are missing content because the text is stripped out. 2015-04-23 15:55:29 +02:00
Mike Jolley 8731c5b0d2 [2.3] Send back to same status when bulk editing
Fixes #7998
2015-04-23 13:50:40 +01:00
Mike Jolley 30d2ab8af8 Avoid setting is_customer_note when 0
Closes #7995
2015-04-23 11:50:09 +01:00
Mike Jolley 9f57025a1e Remove unnecessary stock notice
Closes #7990
2015-04-23 11:04:16 +01:00
Mike Jolley f5aac69b17 Merge pull request #8007 from MindyPostoff/master
Clarify "Enable COD for virtual orders"
2015-04-23 10:56:27 +01:00
Mike Jolley a2a0e6f10d [2.3] Refund reporting Fixes #8010
- Prevents the refund amount being SUMed and multiplied by the number
of items
- Does LEFT join on qty, so refunds are reported if not done directly
on the line
2015-04-23 10:19:43 +01:00
Claudio Sanches eb3366dc08 Added callback_url and create validation method 2015-04-22 18:12:40 -03:00
Claudio Sanches c972c0029d Created authentication flow 2015-04-22 17:48:39 -03:00
MindyPostoff 7418fd6c8d Update class-wc-gateway-cod.php
Prevent confusion that "Enable COD for virtual orders" will actually enable the payment method
2015-04-22 16:41:51 -04:00
Claudio Sanches a6afac4516 Added content to grant access template 2015-04-22 17:21:42 -03:00
Claudio Sanches 8cfa3eed75 Added validation for the auth params 2015-04-22 17:02:15 -03:00
Claudio Sanches a989184135 Created initial auth templates 2015-04-22 12:27:12 -03:00
Gustavo Bordoni 22393df867 The woocommerce_admin_order_item_headers action lacks a variable for context 2015-04-21 23:13:55 -03:00
Mike Jolley 4119ae0d7f Tweak wc_add_to_cart_message #7976 2015-04-20 12:29:04 +01:00
Mike Jolley 31104f6903 Change how wc_format_list_of_items is translated and contructed
Closes #7976
2015-04-20 12:29:04 +01:00
Mike Jolley 9debd84a7f Merge pull request #7978 from InoPlugs/patch-3
[2.3] Update abstract-wc-order.php
2015-04-20 11:12:25 +01:00
Mike Jolley a74b1a3103 Merge pull request #7971 from Spreeuw/master
Make get_shipping_to_display compatible with refunds
2015-04-20 11:10:40 +01:00
roykho 30111dd988 check to make sure wp_query object is not null before calling function that depends on it fixes #7981 2015-04-19 16:46:04 -07:00
InoPlugs Webdesign 520282ff16 Update abstract-wc-order.php
Using a wrong key name -> 'cart_discount_tax' is calculated wrong a few lines below (= $cart_subtotal_tax)
2015-04-18 14:44:39 +02:00
Claudio Sanches db23f5faa0 Create initial WC_Auth class and endpoint 2015-04-17 17:41:25 -03:00
Mike Jolley c8467b143a [2.3] Use exclusive price and exclusive subtotal to work out % of discount 2015-04-17 20:42:18 +01:00
Claudio Sanches 3e99768047 [API] Added product_url and button_text for external products, closes #7974 2015-04-17 15:50:18 -03:00
Spreeuw 1e2d0775c4 tax text for negative shipping (refunds) 2015-04-17 12:45:32 +02:00
Spreeuw 3f0b589797 Make get_shipping_to_display compatible with refunds 2015-04-17 12:38:08 +02:00
Mike Jolley 467a269175 Only set author for user added notes so system notes can be distinguished 2015-04-17 11:23:09 +01:00
Chris Klosowski d26265f885 Allowing filters to be applied #7285 2015-04-16 13:32:35 -07:00
Claudio Sanches 7ab0d01aa2 [API] Fixed create order method 2015-04-16 15:26:54 -03:00
Claudio Sanches a344fae67f Improved simplify commerce for free subscriptions 2015-04-15 09:55:35 -03:00
Claudio Sanches 8914594534 Fixed the simplify subscription payment when is a free trial 2015-04-15 09:48:56 -03:00
Gregory Karpinsky 91246f86b1 Check for non-existing attribute ID
If get_row returns `null`, should not continue. Avoid "not an object" errors on the following lines, and potential data corruption after submitting form with non-existing ID.
2015-04-14 23:59:53 -04:00
nickrouty 0f88f6386b Verify order was found
Verify the order was found before evaluating the user_id on the $order object. Would previously throw an error if attempting to view an invalid order number.
2015-04-14 15:16:34 -07:00
Mike Jolley 1e06f82f59 Merge pull request #7948 from dangh/master
Cannot remove shipping class at quick edit
2015-04-14 12:02:17 +01:00
Mike Jolley d133d35e27 Fix conflict 2015-04-14 11:27:30 +01:00
Mike Jolley 38f8c5fd0b Round values in category report
Closes #7949
2015-04-14 10:51:20 +01:00
Mike Jolley 809573af41 [2.3] Coupon product id and category id checks should run for all coupon types
Closes #7936
2015-04-14 10:21:52 +01:00
Mike Jolley 49cbe2cd9a If taxes based on base location, we don't need a customer address
Closes #7890
2015-04-14 10:08:29 +01:00
Claudio Sanches c06b6f13e3 [API] Improved the error messages when sent a empty object, closes #7914 2015-04-13 13:06:19 -03:00
Claudio Sanches aa9c3a1087 Merge pull request #7901 from roykho/flatrate
fixed flatrate per item and per class if no additional costs added, it doesn't correctly fallback to base cost closes #7851
2015-04-13 12:48:55 -03:00
Claudio Sanches 5a765aa4ef Merge pull request #7920 from SiR-DanieL/patch-4
Remove null parents from the featured IDs array
2015-04-13 12:46:14 -03:00
Claudio Sanches 1dadbb2842 Fixed coding standards for #7879 2015-04-13 12:37:22 -03:00
Claudio Sanches 08c8fad1fc Fixed standards for #7842 2015-04-13 12:31:18 -03:00
Mike Jolley 9f65d2a1fc Added priorities for shipping methods to give more control over defaults.
Closes #7871
2015-04-13 15:32:57 +01:00
Claudio Sanches 14ed7137d2 Fixed subscription free trial period for simplify commerce 2015-04-13 10:46:11 -03:00
Mike Jolley 0a25580f15 Generic product loop method for shortcodes
#7260
2015-04-13 12:48:40 +01:00
DangH 3c9bc90bcc Cannot remove shipping class at quick edit 2015-04-13 18:01:37 +07:00
Mike Jolley 80b6c6ca3f Merge pull request #7908 from SiR-DanieL/patch-2
Conditions improvement
2015-04-13 10:54:49 +01:00
Mike Jolley b82339a4cb Merge pull request #7925 from dominic-p/order-meta-undefined-key
Prevent notices if variation_id isn't set
2015-04-13 10:53:49 +01:00
Mike Jolley e6de50f556 Merge pull request #7842 from nathanielks/hotfix/coupon-meta-box-products-error
Check if product is object before adding to array.
2015-04-13 10:48:09 +01:00
Mike Jolley 259b8b3be7 Merge pull request #7933 from woothemes/price-filter-widget-pagination
Ensure $wp->request has a trailing slash to avoid pagination issues.
2015-04-13 09:38:18 +01:00
Mike Jolley ddb6c585bc Merge pull request #7862 from javorszky/download_perm
Add null date check for download permissions
2015-04-13 09:37:55 +01:00
Mike Jolley cd96ce9042 Merge pull request #7934 from ChromeOrange/master
Update class-wc-gateway-paypal-request.php
2015-04-13 09:35:41 +01:00
Andrew Benbow 196448dc0b Update class-wc-gateway-paypal-request.php 2015-04-11 16:14:27 +01:00
Mike Jolley ec4a61d6e2 Only run wc_page_endpoint_title on frontend
Closes #7881
2015-04-10 16:20:36 +01:00
Mike Jolley 7846513382 deprecate woocommerce_product_reviews_tab
Closes #7877
2015-04-10 16:07:33 +01:00
Andrew Benbow 45c76cd0cb Update class-wc-gateway-paypal-request.php 2015-04-10 15:47:28 +01:00
Mike Jolley 2e2ec824f0 Set field required class
Fixes #7859
2015-04-10 15:43:39 +01:00
Mike Jolley 36a49f87c2 Improve save_attributes ajax function to correctly save text attributes.
Closes #7832
2015-04-10 14:50:23 +01:00
Gerhard c18c873b99 Ensure $wp->request has a trailing slash to avoid pagination issues. 2015-04-10 15:34:09 +02:00
Mike Jolley 12dde04e16 wc_product_cat_class functions
Closes #7923
2015-04-10 13:17:30 +01:00
Mike Jolley 2d99e060a1 Merge branch 'discount-rounding-mode' 2015-04-10 11:06:53 +01:00
Mike Jolley 2ddd07b252 FIx fixed product discount 2015-04-10 10:55:40 +01:00
Mike Jolley 5b1ea0dea1 Remove comments 2015-04-10 10:44:13 +01:00
Mike Jolley 68194bf0ed Round discount totals 2015-04-10 10:28:46 +01:00
Mike Jolley ed6fe062a7 Merge pull request #7931 from woothemes/fix/api-check_permission
[2.3] Check for edit_post cap if the post type is revision
2015-04-10 10:14:19 +01:00
Barry Kooij 4650c2300a Simply deny all access to revisions 2015-04-10 11:03:45 +02:00
Barry Kooij 64c79ffe1e Check for edit_post cap if the post type is revision 2015-04-10 10:32:20 +02:00
Dominic be8e61161b Prevent notices if variation_id isn't set
It's a minor thing, but I have ran into circumstances where the `$item`
array doesn't have the `variation_id` set (namely after importing data
using another plugin). This tweak checks for the `variation_id` without
throwing a notice if the array key isn't defined.
2015-04-09 16:15:28 -07:00
nils-fredrik@maksimer.no 73cce9f15b Allow bulk updates / inserts of products according to #7915. 2015-04-09 22:48:51 +02:00