Commit Graph

17024 Commits

Author SHA1 Message Date
Mike Jolley e00c3450c5 Discount rounding logic improvements
Instead of rounding the single item discount amount, this rounds the
line to the store DP setting before running tax logic.

Fixes #10963
Also works with #10573

Includes unit tests
2016-05-23 16:56:31 +01:00
Mike Jolley 26db1bb52b Add test case for #10963 2016-05-23 16:23:51 +01:00
Mike Jolley d24fceab44 When calculating discount amount in backend, use unrounded values
#10963
2016-05-23 16:23:27 +01:00
Mike Jolley 980a726984 Fix grouped add to cart notice
Closes #10974
2016-05-23 13:39:26 +01:00
Mike Jolley 7b89cbafdf Merge pull request #10966 from WPprodigy/subcategory-thumbnail-filter-change
Change and add a filter for archive images
2016-05-23 13:23:27 +01:00
Mike Jolley 4e95f16262 Merge pull request #10973 from psalz/postcode-validation-at
Add austrian postcode validation
2016-05-23 13:22:42 +01:00
Mike Jolley 912a1027a4 Merge pull request #10965 from shivapoudel/customize-selective-refresh
Implementing customize selective refresh for widgets
2016-05-23 13:22:33 +01:00
Mike Jolley e5cb3cc3db Merge pull request #10962 from bekarice/2-6-admin-css-fix
[2.6] Admin multiselect CSS tweak
2016-05-23 13:19:17 +01:00
Mike Jolley c1c089a95c Merge pull request #10956 from aelia-co/Tweak-Shipping_Zones_Methods_Page_Hooks
Added action before the rendering of a zone's methods
2016-05-23 13:18:34 +01:00
Philip Salzmann 18bfce0747 Add austrian postcode validation 2016-05-23 13:32:16 +02:00
Mike Jolley bfe26a2aa3 Merge pull request #10964 from shivapoudel/fix-blur-sort
Fix - Sortable icon font-size in all tables
2016-05-23 11:45:07 +01:00
Claudio Sanches 1199410e3d Missing period 2016-05-22 18:55:50 -03:00
Claudio Sanches 8347e1c323 [REST API] Removed endpoint to get current user 2016-05-22 18:49:55 -03:00
Claudio Sanches abac5e2160 [REST API] Fixed batch create coupons 2016-05-22 18:19:45 -03:00
Claudio Sanches 9385058886 [REST API] Fixed schamas 2016-05-22 18:17:54 -03:00
Claudio Sanches e91631d540 [REST API] Fixed batch permissions for posts 2016-05-22 17:46:25 -03:00
Claudio Sanches a7d52e9bf3 Merge pull request #10955 from maximus80/master
Add action hooks to myaccount/navigation.php
2016-05-22 15:32:00 -03:00
Mark 9cf6d7c01c update action names from myaccount to account 2016-05-22 14:04:21 +02:00
Caleb Burks 72a2c25536 Add single_product_archive_thumbnail_size filter
Add in a filter to allow for custom image sizes w/o needing to override the whole function.
2016-05-21 10:29:44 -05:00
Caleb Burks fc2e611d1e Rename filter in woocommerce_subcategory_thumbnail
The same filter is used here: fa30a38c58/templates/single-product/product-thumbnails.php (L51), but with a different default value.
2016-05-21 10:23:35 -05:00
Shiva Poudel d35ecad8c9 Implementing customize selective refresh for widgets 2016-05-21 19:07:03 +05:45
Shiva Poudel cb0f514544 Fix - Sortable icon font-size in all tables 2016-05-21 18:43:01 +05:45
Diego Zanella fb51c07a65 Renamed new filter from wc_shipping_zone_before_methods_list to wc_shipping_zone_before_methods_table 2016-05-20 22:52:33 +01:00
Claudio Sanches 33b12d70ee Fixed WC_Admin version 2016-05-20 18:02:57 -03:00
Claudio Sanches cfe857f22c Merge pull request #10957 from Tyratox/master
Added 'woocommerce_mail_content' to preview
2016-05-20 18:02:29 -03:00
Claudio Sanches 9934e512ed Fixed missing docblock 2016-05-20 17:53:18 -03:00
Beka Rice 5074fa42c9 [2.6] admin select2 CSS tweak 2016-05-20 16:52:52 -04:00
Claudio Sanches f5ddaf7930 Merge branch 'master' of github.com:woothemes/woocommerce 2016-05-20 17:51:08 -03:00
Claudio Sanches 11cea999c1 Added custom titles for products tags items, closes #10958 2016-05-20 17:50:56 -03:00
Nico Hauser 62dbb131ac Bumped version 2016-05-20 17:00:19 +02:00
Nico Hauser d75d784e48 Add 'woocommerce_mail_content' to preview
Added the 'woocommerce_mail_content' filter which is used before sending the email in /includes/emails/class-wc-email.php#L465 to the preview
2016-05-20 16:47:18 +02:00
Diego Zanella 60bb76d558 Added action before the rendering of a zone's methods
* The new action will allow to add elements to the page without having to override the view.
2016-05-20 13:27:25 +01:00
Mark 089ce32577 Add action hooks to myaccount/navigation.php
Added a before and an after action hook, so that users can add their own stuff.
2016-05-20 14:00:42 +02:00
Mike Jolley 33d325cd88 Only cache valid coupon codes
Fixes #10950
2016-05-20 10:36:36 +01:00
Mike Jolley c6dfe47ffa Merge pull request #10951 from jamesgol/item_to_undo_url
Pass $cart_item_key to 'woocommerce_get_undo_url' filter
2016-05-20 10:25:52 +01:00
Claudio Sanches 36b5df4a2b Merge pull request #10949 from kravco/fix-cli-product
[API] Fixed product create not honoring --porcelain argument
2016-05-20 02:08:43 -03:00
James Golovich 96583d99c0 Pass $cart_item_key to 'woocommerce_get_undo_url' filter
I don't want users to automatically get an item re-added to their cart, I want to change the URL to send them back to the product page so they can re-add the item (if it is still available)
2016-05-19 13:46:22 -07:00
Matej Kravjar a2c85987e0 [API] Fixed product create not honoring --porcelain argument 2016-05-19 19:34:37 +02:00
Mike Jolley 54231c2946 Allow shipping classes interface to be extended. 2016-05-19 12:38:28 +01:00
Mike Jolley ed08e51ddb Status updates via API are manual
Closes #10943
2016-05-19 11:50:19 +01:00
Mike Jolley c22d9a3c14 Use empty instead of null
Closes #10944
2016-05-19 11:47:08 +01:00
Mike Jolley d3a519f6e4 Merge pull request #10945 from JeroenSormani/chosen-method-filter-arg
Add extra '$chosen_method' argument to the 'wc_shipping_chosen_method' hook
2016-05-19 11:45:43 +01:00
Mike Jolley d6b74900cd Merge pull request #10947 from woothemes/issues/10946/add-classes-for-payment-method-row
Added row class for each payment method and extra one for default one.
2016-05-19 11:45:06 +01:00
Mike Jolley 843e540ed5 Add classes to variation button wrapper 2016-05-19 11:17:34 +01:00
Akeda Bagus 6e97b17a2b Added row class for each payment method and extra one for default one.
Fixes #10946.
2016-05-19 16:09:13 +07:00
JeroenSormani 17878e3ffd Add extra 'chosen_method' argument to the 'wc_shipping_chosen_method' hook 2016-05-19 10:28:54 +02:00
Mike Jolley 130933badf Merge pull request #10937 from thenbrent/cart_hash_tweak
Use print_r() to stringify cart session
2016-05-18 11:30:08 +01:00
Mike Jolley cd2f8284b0 Merge pull request #10933 from bekarice/2-6-beta-tweaks
A couple small WC 2.6 fixes...
2016-05-18 11:12:11 +01:00
Mike Jolley ead4742d02 Merge pull request #10938 from shivapoudel/docblock
Fix - Docblock for is_request() method
2016-05-18 10:51:41 +01:00
Shiva Poudel 2b5f26eab1 Fix - Docblock for is_request() method 2016-05-18 15:27:48 +05:45