Commit Graph

24142 Commits

Author SHA1 Message Date
Claudiu Lodromanean fb763a6deb Merge pull request #17155 from woocommerce/fix/selectWoo-dependency
wc-admin-order-meta-boxes as a selectwoo dependency
2017-10-12 08:38:36 -07:00
Mike Jolley b72268172a Fix image matching queries 2017-10-12 16:32:40 +01:00
claudiulodro 8acba76696 Add email to email address template 2017-10-12 08:07:10 -07:00
Mike Jolley 4379a47cd5 Fixed discount logic to also look at parent categories when validatiing coupons
Fixes #17150
2017-10-12 15:40:58 +01:00
Mike Jolley 5252d93465 Merge pull request #17154 from woocommerce/add/test-variation-totals
Update totals test to include a variation with parent tax class.
2017-10-12 15:34:59 +01:00
Mike Jolley 88ea1eaf7b Remove rounding in wc_remove_number_precision
Remove the rounding when removing precision so the cart can handle it.

For taxes, this means it can round down.

Fixes #17158

Tests are passing.
2017-10-12 15:16:48 +01:00
Mike Jolley b0631a040c Merge pull request #17157 from woocommerce/add/tests-variations-tax-classes
WC_Product_Variation::get_tax_class unit tests
2017-10-12 14:47:35 +01:00
Mike Jolley 878e4816fb Use city and postcode count to determine sort order 2017-10-12 14:04:10 +01:00
Gerhard Potgieter 8045596ed7 Add get_tax_class tests for WC_Product_Variation. Will ensure #17147 never happens again. 2017-10-12 14:46:28 +02:00
Gerhard Potgieter 9eee5afc2c Be sure to add the new product for cleanup later 2017-10-12 13:33:56 +02:00
Mike Jolley 2db0d1d4d6 Merge pull request #17151 from woocommerce/fix/shipping-rate-save
Fix tax rate save when only changing shipping checkbox
2017-10-12 12:33:46 +01:00
Mike Jolley cffcaaf773 wc-admin-order-meta-boxes as a selectwoo dependency 2017-10-12 12:32:36 +01:00
Gerhard Potgieter 91aa76a51b Update totals test to include a variation with parent tax class. 2017-10-12 13:30:08 +02:00
Mike Jolley 6aca58324a Merge pull request #17152 from woocommerce/fix/lazy-load-embeds
Load videos when the help tab is opened, not before.
2017-10-12 12:28:00 +01:00
Mike Jolley 819951815e Use base text color for links in emails 2017-10-12 12:27:15 +01:00
Mike Jolley 47d69dad2d Load videos when the help tab is opened, not before.
Closes #17145
2017-10-12 12:18:37 +01:00
Mike Jolley 43f1938629 Merge pull request #17149 from woocommerce/fix/17147
Tax calculations should use `unfiltered` context for tax class
2017-10-12 11:38:35 +01:00
Mike Jolley 5a22c7fa97 Fix tax rate save when only changing shipping checkbox 2017-10-12 11:30:41 +01:00
Mike Jolley 0908bc0b13 phpcs 2017-10-12 11:26:55 +01:00
Mike Jolley 4f3393fc2f Tax calculations should use `unfiltered` context for tax class
This fixes variations which have a ‘parent’ tax class. It should
inherit from the parent.

Closes #17147
2017-10-12 10:12:20 +01:00
mehul0810 3308216e98 Ran Grunt 2017-10-12 08:29:26 +05:30
mehul0810 024eec53f8 Added Text Domain 2017-10-12 08:28:45 +05:30
mehul0810 43713b49c4 Modified JS function 2017-10-12 08:27:53 +05:30
mehul0810 3e2cf907eb Modified message key 2017-10-12 08:27:41 +05:30
Claudio Sanches 8ead48fc64 Merge pull request #17144 from woocommerce/fix/grouped-menu-order
Remove menu-ordering sorting
2017-10-11 17:59:26 -03:00
Mike Jolley a6059ea759 Remove menu-ordering sorting 2017-10-11 21:36:13 +01:00
Chris Schrijver dee7a8c8d4 If no tax rate is defined for a specific country it still shows "incl. VAT" at the checkout / cart when tax display is set to "As single total". This will solved that 2017-10-11 17:58:43 +02:00
grosssmutttr 1ccec7d156 class-wc-widget-layered-nav.php - Crawling Budget
Additional optimization to save up crawling budget.
Added $link = str_replace('%2C', ',', $link); on line 513

https://mydomain.com/produkt-kategorie/my-category/?filter_filter-color=orange,black

If you add another filter it encodes the existing commas:
https://mydomain.com/produkt-kategorie/my-category/?filter_filter-color=orange%2Cblack&filter_manufacturer=adidas&filter_cut=men.children

So sometimes you have "," as seperator and sometimes you have encoded "%2C".

After implementing this pull-request the seperator stays ",":
https://mydomain.com/produkt-kategorie/my-category/?filter_filter-farbe=orange,black&filter_manufacturer=adidas&filter_cut=men.children

This pull request belongs to the optimization https://github.com/woocommerce/woocommerce/pull/17134 to save up crawling budget,
2017-10-11 14:47:00 +02:00
Mike Jolley ce47fa65c2 Changelog + grunt 2017-10-11 10:50:39 +01:00
Mike Jolley 12d93803ee Merge pull request #17121 from woocommerce/update/wizard-payments-copy
Update payment step copy for Stripe, and fixes margins/spacing
2017-10-11 10:17:57 +01:00
Mike Jolley ec9385a148 Merge pull request #17130 from woocommerce/rodrigoprimo-patch-1
Quote code in the tests README.md file
2017-10-11 10:04:04 +01:00
grosssmutttr d9f0bd5e92 Keep link structure - prevent duplicate content
Added asort($current_filter) so the urls always look the same and there are not millions of urls possibilities when adding multiple filters.

Current url example:
https://myurl.com/produkt-kategorie/mycategory/?filter_filter-color=yellow,brown,blue,red
https://myurl.com/produkt-kategorie/mycategory/?filter_filter-color=yellow,blue,red,brown
https://myurl.com/produkt-kategorie/mycategory/?filter_filter-color=blue,yellow,red,brown
...

With asort you only have this url:
https://myurl.com/produkt-kategorie/mycategory/?filter_filter-color=blue,brown,red,yellow

So it is independent on the sequence a user adds a filter
2017-10-11 08:33:46 +02:00
Rodrigo Primo d862aaf29d Quote code in the tests README.md file
Use triple backticks to quote code in the tests README.md file. Without this change all the parameters of the script `tests/bin/install.sh` that are surrounded by `<>` are not displayed.
2017-10-10 15:07:24 -03:00
Marcin Bot 17e4f2a609 Merge pull request #17127 from woocommerce/fix/17122-setup-required-shipping-fields
Setup wizard - made the shipping cost fields required
2017-10-10 18:50:20 +02:00
Marcin Bot 01578d55c9 Wrapped the class name in esc_attr 2017-10-10 17:49:04 +01:00
Mike Jolley ae4838c073 Merge pull request #17128 from woocommerce/fix/gruntfile
Fixed extra comma in Gruntfile.js
2017-10-10 17:20:41 +01:00
Claudio Sanches 5244340bae Fixed extra comma in Gruntfile.js 2017-10-10 13:08:23 -03:00
Marcin Bot eaf8a09e82 Setup wizard - made the shipping cost fields required 2017-10-10 16:59:08 +01:00
Claudio Sanches b775074900 Fixed includes/wc-webhook-functions.php and removed debug 2017-10-10 12:59:04 -03:00
Mike Jolley 31367a72b8 Merge pull request #17123 from woocommerce/update/wizard-extras-copy
Setup wizard: add “powered by” to automated taxes description.
2017-10-10 16:39:45 +01:00
Mike Jolley c6d0a6e0be Merge pull request #17124 from cliffordp/patch-1
Correct docblock @return
2017-10-10 16:38:26 +01:00
Clifford 1474350f0f Correct docblock @return
From incorrect `string` to correct `array`
2017-10-10 10:31:16 -05:00
Jeff Stieler 24599524ba Setup wizard: add “powered by” to automated taxes description. 2017-10-10 09:24:13 -06:00
Mike Jolley 6b357bcfdc Updates the payment step copy and fixes margins 2017-10-10 15:40:03 +01:00
Claudio Sanches 2bd240ab15 Debug 2017-10-10 11:27:52 -03:00
Claudio Sanches c95137f9c0 Moved phpcs after phpunit 2017-10-10 10:50:22 -03:00
mehul0810 48e7575b10 Alignment Fix 2017-10-10 18:44:33 +05:30
mehul0810 aaa092159b Added using CRUD 2017-10-10 18:44:12 +05:30
Claudio Sanches f479d916e5 Fixed syntax error on phpcs.sh 2017-10-10 09:34:47 -03:00
Mike Jolley d4965e9df4 Merge pull request #17112 from woocommerce/fix/product-variations-tax-classes
Add 'parent' to the list of valid tax classes for product variations
2017-10-10 12:32:29 +01:00