Commit Graph

22638 Commits

Author SHA1 Message Date
Claudio Sanches 3ede06176a Merge pull request #16262 from woocommerce/feature/discounts-class-bw-compat
Cart item BW compat for discounts class
2017-07-26 12:13:51 -03:00
Claudiu Lodromanean 2900ceca30 Merge pull request #16213 from woocommerce/fix/16206
Remove duplicate inherited method
2017-07-26 08:05:27 -07:00
Claudiu Lodromanean 605ff46810 Merge pull request #16260 from woocommerce/fix/cart-address-state-field
Fixes incorrect "name" property of the State <select> in the Shopping Cart page.
2017-07-26 08:03:18 -07:00
Mike Jolley abdb325d83 Order items 2017-07-26 15:47:30 +01:00
Valks dd857d25eb Update class-wc-product-variation.php
The variable $post_type is incorrectly public, must be protected.
2017-07-27 00:00:21 +10:00
Mike Jolley 1faae6a7aa Order subclass 2017-07-26 14:32:43 +01:00
Mike Jolley 250dabaf41 WC_Cart_Totals subclass 2017-07-26 12:44:06 +01:00
Mike Jolley 698c3b9e1b Fix tests 2017-07-26 11:32:10 +01:00
Mike Jolley 052be04ee7 Use passed through cart item, rather than try to generate a custom one 2017-07-26 11:26:50 +01:00
Mike Jolley e9f35febd0 Store cart item as part of items array 2017-07-26 11:26:35 +01:00
Mike Jolley 457a7c2a32 phpcs/tidy discounts class 2017-07-26 11:07:17 +01:00
Daniel Rey Lopez e441205811 Fixes incorrect "name" property of the State <select> in the Shopping Cart page. 2017-07-26 11:01:17 +01:00
Mike Jolley 58b54673d1 Merge pull request #16256 from woocommerce/feature/discounts-coupon-validation
Add coupon validation logic to WC_Discounts
2017-07-26 10:21:56 +01:00
Mike Jolley e29666949e Merge pull request #16255 from woocommerce/feature/discounts-class-cart-total
Integrate Totals class with Cart
2017-07-26 10:11:18 +01:00
Claudio Sanches 0f58d0cfc1 Merge pull request #16214 from woocommerce/fix/16179
Ensure we have a http URL for file path replacements
2017-07-26 01:21:58 -03:00
Claudio Sanches 70c2f7436b Merge pull request #16233 from woocommerce/fix/16232
Check data is an array in set_variation method
2017-07-26 01:15:01 -03:00
Claudio Sanches f0dfff4a86 Sync with feature/discounts-class 2017-07-25 22:41:18 -03:00
Claudio Sanches 2573adedd5 Moved coupon validation logic to WC_Discounts 2017-07-25 22:36:41 -03:00
claudiulodro dfee2c0cbe Maybe integrate cart and total classes 2017-07-25 14:44:54 -07:00
Mike Jolley 889a3cfdd5 Merge pull request #16111 from woocommerce/fix/15986
Improve tracking page validation
2017-07-25 21:04:16 +01:00
Mike Jolley 15c4910014 Fix notices 2017-07-25 21:03:37 +01:00
Kathy Darling fe0c190894 Move settings init/save to load-$settings hook. Closes #16221 2017-07-25 14:43:26 -04:00
Claudiu Lodromanean a3ecdf338d Merge pull request #16239 from woocommerce/feature/discounts-class-totals-calc
WC_Totals class
2017-07-25 11:01:25 -07:00
claudiulodro ec6d11bd67 Just needs visibility support and cleanup 2017-07-25 10:01:24 -07:00
Mike Jolley ead381f500 Merge pull request #16243 from unfulvio/issue-16242
[#16242] Add context to woocommerce_backordered_item_meta_name
2017-07-25 17:34:36 +01:00
Mike Jolley b68adf748b Tests pass 2017-07-25 17:25:06 +01:00
claudiulodro 689c5e7006 Better code 2017-07-25 08:36:01 -07:00
Mike Jolley 4960bf0ca4 Update discount tests 2017-07-25 16:27:57 +01:00
Mike Jolley 474799889f Disable discounts tests until rewritten 2017-07-25 15:57:58 +01:00
Mike Jolley 40cb2c9cb0 phpcs 2017-07-25 15:24:00 +01:00
Mike Jolley 4c4f26ff41 Changes to allow shipping to be calculated from totals class
Moved some items from
https://github.com/woocommerce/woocommerce/pull/11889/files to support
this.
2017-07-25 15:11:32 +01:00
Mike Jolley e8e200195f fees pass 2017-07-25 14:05:49 +01:00
Fulvio Notarstefano 7781b2ea4d [#16242] Add context to woocommerce_backordered_item_meta_name 2017-07-25 11:54:03 +08:00
claudiulodro cdbead8961 Clean up and tests 2017-07-24 15:05:23 -07:00
Mike Jolley ee545e7793 Totals progress 2017-07-24 17:21:08 +01:00
Mike Jolley c9d500f4db Update ISSUE_TEMPLATE.md 2017-07-24 13:34:04 +01:00
Mike Jolley 0b9b178522 Update ISSUE_TEMPLATE.md 2017-07-24 13:32:45 +01:00
Mike Jolley b376b548b9 Update ISSUE_TEMPLATE.md 2017-07-24 13:25:23 +01:00
Mike Jolley a9339f60d3 Update ISSUE_TEMPLATE.md 2017-07-24 13:23:38 +01:00
Mike Jolley 504a216582 Check data is an array in set_variation method
Closes #16232
2017-07-24 10:43:34 +01:00
Mike Jolley 45a9826a80 Totals class and tests files 2017-07-23 12:05:11 +01:00
Claudio Sanches c5055ed2f7 Tidy up Scrutinizer, PHPUnit and Travis config 2017-07-21 14:25:27 -03:00
Mike Jolley 45258a7e02 Started adding totals class from https://github.com/woocommerce/woocommerce/pull/11889/files 2017-07-21 16:49:52 +01:00
Paul Robinson a82181f435 reset gitattributes file 2017-07-21 14:24:53 +01:00
Paul Robinson 7c01201e34 Add custom attributes into radio fields for woocommerce_form_field 2017-07-21 14:23:21 +01:00
Mike Jolley 83b60573fa Framework for discount class 2017-07-21 14:22:40 +01:00
Mike Jolley fd12c344f8 Ensure we have a http URL for file path replacements
Closes #16179
2017-07-21 11:11:17 +01:00
Mike Jolley e44450a40c Remove duplicate inherited method
Closes #16206
2017-07-21 10:39:24 +01:00
Claudio Sanches 50dbef7e8e Set phpunit.xml.dist file for tests in Scrutinizer 2017-07-21 00:28:49 -03:00
Claudio Sanches cb3e1de0be Fixed coding standards 2017-07-20 18:14:53 -03:00