Claudio Sanches
8350f88f57
Introduced message about secure connection
2018-04-17 17:39:18 -03:00
Claudiu Lodromanean
624e8d5cb0
Merge pull request #19723 from woocommerce/update/extras-obw-tab
...
OBW: Replace Extras step with Recommended
2018-04-17 13:32:14 -07:00
claudiulodro
f9e45bea91
Bring up-to-date with master and resolve merge conflicts
2018-04-17 13:27:39 -07:00
claudiulodro
700f0bfca1
Implement privacy policy content
2018-04-17 11:03:39 -07:00
Valerie
43ab4b25ae
OBW: Update Recommended step description
2018-04-17 13:51:49 -04:00
Valerie
551db8246e
OBW: Add MailChimp to recommended step
2018-04-17 13:51:49 -04:00
Valerie
c1e55cd6a5
OBW: Update automated taxes option
2018-04-17 13:51:48 -04:00
Valerie
452491d12d
OBW: Update Storefront description and style
2018-04-17 13:51:46 -04:00
Mike Jolley
6c5d4c7cda
Add privacy settings
2018-04-17 18:32:31 +01:00
Valerie
cadcd562d8
OBW: Rename Extras Step as Recommended
2018-04-17 13:14:27 -04:00
Mike Jolley
718c91f920
Merge pull request #19639 from woocommerce/fix/19620
...
Introduced new wc_get_product_class() and wc_product_class()
2018-04-17 17:00:43 +01:00
Claudio Sanches
c185d6b6d3
Merge branch 'fix/19620' of github.com:woocommerce/woocommerce into fix/19620
2018-04-17 12:54:35 -03:00
Claudio Sanches
a7ce4ff6d3
Escape all at the same time
2018-04-17 12:54:01 -03:00
Mike Jolley
da17e4a174
Merge pull request #19711 from wayheming/master
...
Recent Product Reviews template
2018-04-17 16:53:55 +01:00
Claudiu Lodromanean
006bd017cd
Merge pull request #19675 from woocommerce/fix/19605
...
Slash meta values before updating the DB in the data store
2018-04-17 08:50:50 -07:00
Claudio Sanches
933bcc32c3
Merge branch 'master' into fix/19620
2018-04-17 12:45:20 -03:00
Claudiu Lodromanean
9821f6d23f
Merge pull request #19744 from woocommerce/update/19592
...
BD states and iso codes
2018-04-17 08:44:34 -07:00
Claudiu Lodromanean
90dfbf0ccd
Merge pull request #19728 from woocommerce/fix/plugin-installer-non-slug-filenames
...
Setup wizard: Bug fix and support for non-slug filenames in plugin installer
2018-04-17 08:39:16 -07:00
Claudio Sanches
f18220a009
Updated unit tests
2018-04-17 12:31:14 -03:00
Mike Jolley
fc05f8adb2
Merge pull request #19625 from danielbitzer/master
...
Set the order created_via property for orders created via admin area
2018-04-17 16:26:20 +01:00
Claudio Sanches
54b6174b34
Fixed $post when using product instance
2018-04-17 12:21:56 -03:00
Claudio Sanches
c19836b0e4
Moved espace to wc_product_class
2018-04-17 12:18:21 -03:00
Mike Jolley
ba3da2fc1f
Use original code
2018-04-17 16:18:14 +01:00
Mike Jolley
77b73e05c8
Trigger updater
2018-04-17 16:16:11 +01:00
Claudio Sanches
627292d627
Include categories and tags by default
2018-04-17 12:14:18 -03:00
Mike Jolley
9b043868e9
Update routine
2018-04-17 16:13:44 +01:00
Mohammed Saimon
7869d5bc83
fix(csv-importer): export/import: unlimited downloads/time on downloadable products conflict is fixed #19720 ( #19732 )
...
* fix(csv-importer): export/import: unlimited downloads/time on downloadable products conflict is fixed #19720
* added -- which was removed unwillingly
* changed method name to parse_int_field and removed unnecessary checking
2018-04-17 15:37:33 +01:00
Mike Jolley
bce3c7e94c
Disable anon for now
2018-04-17 15:33:40 +01:00
Mike Jolley
314d949d2c
Background process to cleanup
2018-04-17 15:21:03 +01:00
Mike Jolley
6e9e1aaa62
Daily order cleanup cron schedule
2018-04-17 12:33:22 +01:00
Mike Jolley
6598f6dc61
Basic privacy class from #19330
2018-04-17 12:25:03 +01:00
Peter Fabian
7861d7b95f
Changed usage of selected with in_array to wc_selected.
2018-04-17 13:24:39 +02:00
Mike Jolley
d8814f9381
tip alignment
2018-04-17 12:19:01 +01:00
Mike Jolley
27cf41bbf0
Added personal data cleanup settings
2018-04-17 11:45:24 +01:00
Peter Fabian
49529e0912
Added wc_selected function.
...
- Added unit test for the wc_selected function.
2018-04-17 12:13:46 +02:00
Mike Jolley
e8cc1076ad
Merge pull request #19637 from woocommerce/update/gdpr-checkout-customizer
...
GDPR checkout improvements
2018-04-16 20:00:33 +01:00
Khan M Rashedun-Naby
74c2ceb3d1
Removed unnecessary variable.
2018-04-17 00:09:30 +06:00
Mike Jolley
860e7a5d23
Merge branch 'master' into update/gdpr-checkout-customizer
2018-04-16 18:02:28 +01:00
Mike Jolley
8a19c5962b
Further simplified customiser options
2018-04-16 17:56:44 +01:00
Mike Jolley
094fc1bf3a
Merge pull request #19703 from woocommerce/update/settings-tabs-for-privacy
...
Moved around settings tabs to allow for a privacy page
2018-04-16 16:45:19 +01:00
Mike Jolley
7f013a0616
Fix storefront * hiding
2018-04-16 15:12:15 +01:00
Mike Jolley
78f96fcd40
Hook mapping/bw compat
2018-04-16 14:27:03 +01:00
Paul Dechov
a4f76e3529
Fix broken activation when done immediately after installation
2018-04-16 07:22:15 -04:00
Paul Dechov
73884400f1
Remove unnecessary 'file' value for existing plugins
2018-04-16 07:21:04 -04:00
Paul Dechov
2b118c8ba8
Always check for active plugin in wizard before scheduling install
...
Check for active plugin independent of whether 'file' is present. Also omits directory from 'file' string and prepends [slug]/ to it.
2018-04-16 07:20:42 -04:00
Paul Dechov
3814796a24
Enhance plugin installer to accept plugin 'file'
...
'file' string as part of plugin information is used for activating plugin in combination with slug, or instead of slug in the case of plugins already installed. Defaults to [slug].php.
2018-04-16 07:16:59 -04:00
Claudiu Lodromanean
1d6ee4736b
Merge pull request #19678 from woocommerce/fix/19514
...
Handle escape characters for fputcsv
2018-04-13 12:01:32 -07:00
Mike Jolley
93d20d9c93
Data removal handling
2018-04-13 18:03:02 +01:00
Mike Jolley
eb6d230d38
Export downloads and logs
2018-04-13 17:00:26 +01:00
Peter Fabian
93a0808887
Specified input parameters more precisely.
2018-04-13 16:35:14 +02:00
Mike Jolley
965712a1d7
Data removal for accounts/guests
2018-04-13 15:35:03 +01:00
Peter Fabian
8cb1490d55
Added wc prefix to function name.
2018-04-13 16:29:16 +02:00
Mike Jolley
3f2d8e8eef
delete_by_user_id method for customer downloads
2018-04-13 15:07:58 +01:00
Mike Jolley
53a93fd3b1
Clean up user data on delete.
2018-04-13 15:07:38 +01:00
Peter Fabian
62f9b129dc
Converted all input values to selected to strings
...
Extracted conversions and compare logic to a separate function to improve readability.
2018-04-13 14:23:32 +02:00
Gerhard Potgieter
df5bfc5b6a
Private not public
2018-04-13 14:18:39 +02:00
Ernest
0d70b3b34e
Recent Product Reviews template
2018-04-13 14:20:46 +03:00
Mike Jolley
6cb72c2e03
Add extra data to export
2018-04-13 11:49:03 +01:00
Gabor Javorszky
ff3fcf0d2b
Make Product Factory use global $post instead of $GLOBALS['post']
2018-04-13 11:29:33 +01:00
Gabor Javorszky
73e0e3a60e
Make Product Factory return an int from $post->ID
2018-04-13 11:28:42 +01:00
Gabor Javorszky
615815353f
Make Order Factory return an int as well from $post->ID
2018-04-13 11:27:30 +01:00
Gabor Javorszky
d569920825
Cast coupon's $post->ID to int
2018-04-13 11:25:58 +01:00
Peter Fabian
0fc6d4e20c
Fix strict comparison for normal select, too.
2018-04-13 10:26:37 +02:00
Peter Fabian
e17e6d0b0f
Improved the comment
2018-04-12 19:34:49 +02:00
Mike Jolley
704ee893cf
Update for new patch in core
2018-04-12 17:32:02 +01:00
Mike Jolley
1b34cd4745
Moved settings tabs around to allow for privacy page.
2018-04-12 16:59:42 +01:00
Claudiu Lodromanean
736e713b0b
Merge pull request #19699 from woocommerce/fix/19685
...
Added scroll to notices to cart page
2018-04-12 08:51:51 -07:00
Peter Fabian
b88a21dae9
Add dependency on the common js code.
2018-04-12 16:15:00 +02:00
Mike Jolley
7080989081
Move coupon settings to general settings
2018-04-12 11:13:15 +01:00
Mike Jolley
eb886c924e
Rename option tabs
2018-04-12 11:13:01 +01:00
JeroenSormani
4e6b0dc500
Doc improvements (return types mostly)
2018-04-12 09:10:14 +02:00
Claudiu Lodromanean
5bc7e91b67
Merge pull request #19670 from woocommerce/update/19641
...
Load meta box input values using CRUD and edit context
2018-04-11 10:14:06 -07:00
Mike Jolley
6c14ad9a88
More wording tweaks
2018-04-11 17:12:48 +01:00
Mike Jolley
592605f071
Wording
2018-04-11 16:45:41 +01:00
Mike Jolley
cdd5b25bd8
Privacy page and default text handling
2018-04-11 16:41:39 +01:00
Mike Jolley
25f0bd46fc
Remove terms from settings so it's with new checkbox options
2018-04-11 15:03:47 +01:00
Mike Jolley
e190d354b4
Page selection for privacy/terms
2018-04-11 15:01:21 +01:00
Mike Jolley
0f8e1cd705
Use placeholders
2018-04-11 14:07:50 +01:00
Mike Jolley
4e58d756f0
Tweak checkbox placement
2018-04-11 13:50:28 +01:00
Mike Jolley
4e9984718d
Simplify required field option
2018-04-11 13:40:42 +01:00
Mike Jolley
eb3b1dbee6
Add dummy product to cart when viewing preview
2018-04-11 13:19:39 +01:00
Gerhard Potgieter
8125797aad
Remove counts variable from merge as it is now part of main method.
2018-04-11 10:35:43 +02:00
Gerhard Potgieter
fa2f0add45
Make order status counts part of the main order method
2018-04-11 10:32:24 +02:00
Gerhard Potgieter
38a87b0ad2
Gross per gateway
2018-04-11 09:56:39 +02:00
Gerhard Potgieter
3e2f20adf6
Fix net and gross calculations
2018-04-11 08:48:32 +02:00
Gerhard Potgieter
25971b88b9
Format datetime
2018-04-11 08:41:57 +02:00
Gerhard Potgieter
19b7052a12
PHPCS fixes
2018-04-11 08:26:22 +02:00
Gerhard Potgieter
af1de29536
Fix up main orders method
2018-04-11 08:14:20 +02:00
Gerhard Potgieter
eb1dcff545
Convert to one order order loop
2018-04-11 08:12:55 +02:00
Claudio Sanches
be1b200ce8
Merge pull request #19669 from woocommerce/fix/19450
...
Avoid storing coupon `used_by` data
2018-04-10 14:30:33 -03:00
Claudio Sanches
f3f05fd59a
Merge pull request #19668 from woocommerce/fix/19657
...
Clear shipping transient when saving shipping method on zones screen
2018-04-10 14:28:53 -03:00
Claudio Sanches
81a699114c
Merge pull request #19667 from woocommerce/fix/19655
...
Load gateways before order is saved/email is triggered
2018-04-10 14:27:47 -03:00
Mike Jolley
5d4561240a
Handle escape characters for fputcsv
2018-04-10 18:08:56 +01:00
Claudio Sanches
2a4b364069
Merge pull request #19671 from woocommerce/fix/19661
...
sanitize_text_field does not preserve line breaks. wp_kses_post seems more appropriate.
2018-04-10 11:49:51 -03:00
Mike Jolley
903e3e8acd
Fix featured filter
2018-04-10 14:58:06 +01:00
Mike Jolley
73709ee7cd
Slash meta values before updating the DB in the data store
2018-04-10 14:43:38 +01:00
Gerhard Potgieter
59984654ec
Add discount totals
2018-04-10 14:27:42 +02:00
Gerhard Potgieter
9e6fe4cad1
Add net total
2018-04-10 14:22:21 +02:00
Gerhard Potgieter
601c9910a9
Add first order date
2018-04-10 14:17:17 +02:00
Gerhard Potgieter
d63b0018d8
Add tax total
2018-04-10 14:10:21 +02:00
Mike Jolley
50e2832d2d
sanitize_text_field does not preserve line breaks. wp_kses_post seems more appropriate.
...
Fixes #19661
2018-04-10 13:09:20 +01:00
Mike Jolley
efe0d36eea
Load meta box input values using CRUD and edit context
2018-04-10 13:01:52 +01:00
Gerhard Potgieter
4a7ee19d18
Add shipping
2018-04-10 14:01:22 +02:00
Mike Jolley
55aced044f
Avoid storing coupon `_used_by` data
2018-04-10 12:36:24 +01:00
Mike Jolley
47fbd79d8f
Clear shipping transient when saving shipping method on zones screen
2018-04-10 12:25:09 +01:00
Mike Jolley
f9cc65b586
Load gateways before order is saved/email is triggered
...
Fixes #19655
2018-04-10 12:15:14 +01:00
Mike Jolley
cc14ddf1ae
Merge pull request #19658 from woocommerce/fix/19588
...
Changed county codes for Ireland according to ISO
2018-04-10 12:01:01 +01:00
Peter Fabian
8e8a1ca054
Clear comment count transient when cleaning product transients
2018-04-10 12:12:51 +02:00
Peter Fabian
ac1883ee00
Included db update scripts in WC install
2018-04-09 23:24:26 +02:00
Peter Fabian
a3d6dc1775
Changed county codes for Ireland according to ISO
2018-04-09 23:15:09 +02:00
Peter Fabian
d2efef5a1c
Handling of PHP's automatic array key conversion to int
2018-04-09 16:39:14 +02:00
Gerhard Potgieter
72d078452c
Add last order and gross functions
2018-04-09 14:54:50 +02:00
Mohammed Saimon
eccd74b71d
added checking for invalid ratings while saving
2018-04-09 18:13:13 +06:00
Mohammed Saimon
6d973b98b6
returned data early if nonce checking is failed
2018-04-07 15:13:35 +06:00
Mohammed Saimon
6f36133ed5
Product rating count doesn't update when ratings are edited by admin is fixed #19581
2018-04-07 12:50:14 +06:00
Claudio Sanches
900c8fc33f
Merge pull request #19380 from woocommerce/update/19302
...
Override supports for PayPal to see if credentials exist
2018-04-06 15:44:42 -03:00
Claudio Sanches
60ad91266d
Fixed wrong variable
2018-04-06 15:08:11 -03:00
Claudio Sanches
b3bf245929
Introduced new wc_get_product_class() and wc_product_class functions
2018-04-06 13:58:59 -03:00
Mike Jolley
212a8a180f
Back compat
2018-04-06 11:51:03 +01:00
Mike Jolley
3140a0fb62
More customistion options for terms and conditions.
2018-04-06 11:43:30 +01:00
Brian Henry
b6f1f68a00
Documentation punctuation fixes: its = posessive
2018-04-05 19:45:14 -07:00
Mike Jolley
46815d1d01
Add controls to control if address 2, company, and phone fields are optional, required, or hidden.
2018-04-05 17:51:43 +01:00
Mike Jolley
e30b8e8a5f
Rename script so required label logic works
2018-04-05 17:02:06 +01:00
Mike Jolley
3bf567279b
Improve default appearance of descriptions so they toggle on focus and support HTML.
2018-04-05 16:56:00 +01:00
Mike Jolley
3a6c3e002b
Add option to choose if the checkout marks either required or optional fields, and style these options.
2018-04-05 14:12:59 +01:00
Mike Jolley
0091d7a18c
Adds checkout section to the customizer under `woocommerce`
2018-04-05 13:55:15 +01:00
Daniel Bitzer
1f5d4050b3
Set created_via propery for orders created in admin area
2018-04-05 13:58:51 +02:00
Mike Jolley
3c35320f76
Merge pull request #19610 from woocommerce/fix/19569
...
Use nbsp to separate * denoting required fields.
2018-04-05 11:02:39 +01:00
Mike Jolley
68c6c16a3b
Merge pull request #19611 from woocommerce/fix/wc_get_page_id-bug
...
Fixed bug when using asbint() with wc_get_page_id()
2018-04-05 10:55:43 +01:00
Mike Jolley
b0d3f732d6
Merge pull request #19615 from woocommerce/fix/variable-passed-by-reference
...
Fixed PHP notice in WC_Product_CSV_Importer_Controller->handle_upload
2018-04-05 10:53:52 +01:00
Mike Jolley
5172694a3a
Merge pull request #19477 from woocommerce/fix/infinite-scroll
...
Infinite scroll compatibility
2018-04-05 10:46:44 +01:00
Mike Jolley
086f07c47d
Merge pull request #19602 from woocommerce/fix/19431
...
Link product import/export to import/export capabilities
2018-04-05 10:45:29 +01:00
Claudio Sanches
0ac857f049
Fixed PHP notice in WC_Product_CSV_Importer_Controller->handle_upload
...
Fixed notice:
```
PHP Notice: Only variables should be passed by reference in includes/admin/importers/class-wc-product-csv-importer-controller.php on line 298
```
2018-04-04 15:50:08 -03:00
Claudio Sanches
95edc882ea
Fixed bug when using asbint() with wc_get_page_id()
...
When a page does not exists `wc_get_page_id()` returns `-1`, so applying
`absint()` should cause bugs when comparing with "Hello world!" page.
2018-04-04 12:12:05 -03:00
Claudio Sanches
ac2e71f22f
Merge pull request #19607 from kouratoras/patch-1
...
Switch to intval when checking for the shop page
2018-04-04 12:02:56 -03:00
Peter Fabian
80dc183880
Use nbsp to separate * denoting required fields.
2018-04-04 16:45:40 +02:00
Claudiu Lodromanean
4d04038372
Merge pull request #19599 from RamseyInHouse/suppressHelperConnectNotice
...
Add filter to suppress admin WordPress.com connection message.
2018-04-04 07:44:42 -07:00
Claudiu Lodromanean
b97d578628
Merge pull request #19603 from woocommerce/fix/19589
...
Switched Georgian Lari to correct UTF symbol
2018-04-04 07:35:39 -07:00
Peter Fabian
ada11aa4e2
Hid import/export from menu when having insufficient capabilities
...
- Made AJAX reply more verbose in case of insufficient capabilities.
2018-04-04 15:06:13 +02:00
Konstantinos Kouratoras
7a9569a185
Switch to intval when checking for the shop page
...
When shop page is not set, shop page id is set to -1. Using absint when checking if the current page is the shop page, this was applied to post with ID 1. Using intval, this is prevented.
Fixes #19606
2018-04-04 15:15:36 +03:00
Peter Fabian
0e25f5840a
Comment PHPCS fix.
2018-04-04 12:18:53 +02:00
Peter Fabian
d920f3dcba
PHPCS fixes.
2018-04-04 12:06:01 +02:00
Peter Fabian
55632d0703
Switched Georgian Lari to correct UTF symbol
2018-04-04 11:11:05 +02:00
Peter Fabian
1ef47120a8
Link product import/export to import/export capabilities
...
- show Import/Export Products buttons only if the user has import/export capability
- show Woo importer/exporter under Tools only if user has import/export capability
- require both edit_products and import/export to run those actions
-
2018-04-04 10:30:49 +02:00
Philip Downer
73ff850b82
Add filter to suppress WordPress.com connection message.
...
Allows developers to supress only the WordPress.com connection message, while still leaving other admin notices (eg., upgrade notice) in place.
2018-04-03 13:42:01 -05:00
Mike Jolley
4e42b2cd30
Handle manage_stock mixed content for variations
2018-04-03 17:46:43 +01:00
Mike Jolley
5ac7aac369
Improve can_refund_order and add unit tests
2018-04-03 17:09:09 +01:00
Mike Jolley
46516422dd
Merge pull request #19221 from woocommerce/pr/18596
...
Use shipping method instances to conditionally enable COD
2018-04-03 16:26:39 +01:00
Mike Jolley
d02106f697
Merge branch 'master' into pr/18596
2018-04-03 16:24:19 +01:00
Claudio Sanches
d043e4727b
Merge pull request #19595 from woocommerce/fix/19562
...
Trigger post modified update when saving products and variations, but no other product data
2018-04-03 12:23:10 -03:00
Mike Jolley
7b45e90357
Merge branch 'master' into update/19302
2018-04-03 14:57:24 +01:00
Mike Jolley
5bc26ebd79
Merge branch 'master' into update/17427
2018-04-03 14:38:49 +01:00
Mike Jolley
2ed018d542
Trigger post modified update when saving products and variations, but no other product data
...
Closes #19562
2018-04-03 12:51:58 +01:00
Claudiu Lodromanean
fe140110a6
Merge pull request #19502 from rynaldos/duplicate-queries
...
Duplicate queries for WC_Admin_Report->get_order_report_data()
2018-04-02 08:49:25 -07:00
Will Gorham
55707ecc7e
Display order item refund as negative value
2018-03-30 17:09:44 -04:00
Claudiu Lodromanean
5ff236fd54
Merge pull request #19567 from woocommerce/fix/19524
...
Ensure background process class returns `data` as an array
2018-03-30 08:13:52 -07:00
Claudiu Lodromanean
b92ea90761
Merge pull request #19571 from Chouby/before_delete_product
...
Add action woocommerce_before_delete_{$post_type}
2018-03-30 08:00:17 -07:00
Mike Jolley
01be034279
Disable geolocation if using legacy php #19548
2018-03-29 17:04:31 +01:00
Mike Jolley
69a3a78a4c
Typo
2018-03-29 16:46:11 +01:00
Mike Jolley
b88289e5c1
GeoIP version check in status report
2018-03-29 16:44:45 +01:00
Mike Jolley
7ec6917475
PHP version checks to recommend 7.2
2018-03-29 16:38:44 +01:00
Mike Jolley
36aee04abb
Include WordPress version check and resolve phpcs issues
2018-03-29 16:08:36 +01:00
Frédéric Demarle
ee2140944c
add action woocommerce_before_delete_{$post_type}
2018-03-29 14:52:19 +02:00
Mike Jolley
51d634e29a
Ensure background process class returns `data` as an array
...
Fixes #19524
2018-03-29 11:09:41 +01:00
Mike Jolley
4a6c526229
Merge pull request #19557 from bernattorras/before_variations_hook
...
Add 'woocommerce_variable_product_before_variations' hook to variations tab
2018-03-29 11:00:34 +01:00
bernat torras
307605a739
Added 'Removed extra tabs
2018-03-28 21:27:46 +02:00
Claudio Sanches
e718bdd11c
Merge pull request #19192 from nishitlangaliya/Issue-18990
...
Fixes- Admin - removed product type column
2018-03-28 15:37:57 -03:00
Claudio Sanches
5bec3b229f
Merge pull request #19527 from woocommerce/fix/19519
...
Use `get_variation_price` method in structured data to grab min/max so filters are ran.
2018-03-28 15:23:14 -03:00
Claudio Sanches
35b75b5beb
Merge pull request #19555 from woocommerce/update/19547-wp-cli-pagination
...
WP-CLI integration per_page default
2018-03-28 14:01:38 -03:00
bernat torras
47d85844d8
Added 'woocommerce_variable_product_before_variations' hook to variation tab
2018-03-28 16:02:06 +02:00
Mike Jolley
51252915e1
Merge pull request #19493 from woocommerce/fix/19404
...
Removed line item limit and made sure the URL is shorter than 2083 ch…
2018-03-28 13:56:57 +01:00
Peter Fabian
3809ab3f4c
Fixed shipping tax logic to behave the same as originally
2018-03-28 13:08:05 +02:00
Gerhard Potgieter
2c24872989
Merge pull request #19541 from woocommerce/update/tracking-wording
...
Tweak wording for opt-out
2018-03-28 12:12:18 +02:00
Mike Jolley
5547c57c03
Merge pull request #19504 from woocommerce/fix/19485-backorder-import
...
Product import backorders default to no
2018-03-28 11:00:09 +01:00
Mike Jolley
7966fcfbe7
Merge pull request #19522 from woocommerce/fix/19491
...
Apply strip_tags to attributes in loop template
2018-03-28 10:57:58 +01:00
Peter Fabian
c2e27919ce
Replaced array_key_exists with isset test
2018-03-28 11:19:03 +02:00
Peter Fabian
59c47c4407
Refactored line item logic
...
- prepare_line_items is not used as a test anymore, it only updates line items
- add_line_item is not used as a test anymore, only adds line items
- added method line_items_valid to test for valid line items
- shipping tax inclusion test moved to get_shipping_cost_line_item to encapsulate shipping tax-related logic
2018-03-28 11:04:34 +02:00
Gerhard Potgieter
9c67760bc0
per_page must be between 1 and 100, default to 100.
2018-03-28 10:18:10 +02:00
Gerhard Potgieter
1f2468ca3e
When no per_page is defined for list wp-cli command default to displaying all items as per the wp-cli standard.
2018-03-28 09:47:15 +02:00
Mike Jolley
57378785bf
Split up state and country fields
2018-03-27 19:32:04 +01:00
Mike Jolley
38c29204d4
Include US in US dollar dropdown so it's searchable
2018-03-27 18:35:15 +01:00
Claudiu Lodromanean
d802d2ca6a
Merge pull request #19526 from woocommerce/fix/19511
...
Tweak `wc_get_price_excluding_tax` to not round the return value so calculations in admin are not pre-rounded.
2018-03-27 08:36:31 -07:00
Peter Fabian
86f1b3701f
Tag stripped outside template
...
Stripping only affects aria-label attribute now.
2018-03-27 17:19:49 +02:00
Claudiu Lodromanean
ccdf0923fa
Merge pull request #19509 from woocommerce/update/19506
...
Call empty cart when completing payment in PayPal
2018-03-27 07:58:59 -07:00
Peter Fabian
f39e8e3900
Removed incorrect comment
2018-03-27 16:28:25 +02:00
Peter Fabian
5eda49f98a
Line item logic refactored
...
Renamed function get_non_line_item_args
Documentation updates
...all part of code review fixes
2018-03-27 15:55:03 +02:00
Mike Jolley
0c3ab5d485
Update currency text to make it clear it's to accept payments
2018-03-27 13:35:13 +01:00
Mike Jolley
0599c06b20
Disable Gutenberg for products.
2018-03-27 13:28:03 +01:00
Mike Jolley
dd3b998851
Tweak wording for opt-out
2018-03-27 13:00:19 +01:00
Mike Jolley
ffb6bc844c
Use `get_variation_price` method in structured data to grab min/max so filters are ran.
...
Closes #19519
2018-03-26 12:54:17 +01:00
Peter Fabian
88588eccbc
Code duplication removed
...
Added test for non line item agrument presence
Fixed incorrect comment
2018-03-26 13:05:55 +02:00
Mike Jolley
ced5980e79
Tweak `wc_get_price_excluding_tax` to not round the return value so calculations in admin are not pre-rounded.
2018-03-26 12:03:00 +01:00
Mike Jolley
b25ff31d5c
Merge pull request #19419 from woocommerce/feature/18477
...
MaxMind GeoLite2 integration
2018-03-26 11:31:21 +01:00
Mike Jolley
c8f6330158
Merge pull request #19515 from woocommerce/fix/order-products-by-price
...
Use minimum price to order variable products on term archives
2018-03-26 11:17:23 +01:00
Peter Fabian
e19d64e51e
Fixed PHPCS violations
2018-03-26 11:00:28 +02:00
ahmedofali
d06854a0b4
Defining array before attempting to append to it
2018-03-25 18:28:14 +00:00
Rodrigo Primo
a02b77bedc
Use minimum price to order variable products on term archives
...
Commit 12d7bf7
added a specific query to order products by price from low to high on term archives (see #17690 and #16694 for more details), but, probably due to a copy and paste error, it changed the behavior when dealing with variable products. Instead of using the smallest variation price of each variable product, it was using the highest variation price. This commit changes this new query to use the smallest variation price of each variable product. This way ordering by price from low to high on term archives will again behave in the same way that on the shop page when dealing with variable products.
2018-03-23 16:15:37 -03:00
Mike Jolley
fb290ebbaa
Merge pull request #19510 from woocommerce/fix/19472
...
Check query var for orderby if not found in $_GET
2018-03-23 18:00:42 +00:00
Peter Fabian
26144afbc6
Test request length after applying filter
...
- added default value to get_line_item_args to not break interface
- smaller code review updates
2018-03-23 17:22:09 +01:00
claudiulodro
62d88892bf
Check query var for orderby
2018-03-23 08:30:02 -07:00