Commit Graph

26735 Commits

Author SHA1 Message Date
Mike Jolley eb3b1dbee6 Add dummy product to cart when viewing preview 2018-04-11 13:19:39 +01:00
Mike Jolley 2464a94920 Indent 2018-04-11 12:57:07 +01: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
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
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 cf517c50d1
Merge pull request #19618 from woocommerce/fix/19551
Increase orders table checkbox column size on small devices
2018-04-05 10:49:04 +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
Tiago Noronha 711e1896f1 Increase orders table checkbox column size on small devices 2018-04-04 23:57:18 +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
Mike Jolley 95d3266bfc
Merge pull request #19598 from woocommerce/fix/19500
Handle manage_stock mixed content for variations
2018-04-04 11:28:24 +01: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
Mike Jolley 70ecf0f62f
Merge pull request #19601 from woocommerce/fix/remove-product-type-css
Removed remaining span.product-type styles
2018-04-04 09:55:34 +01: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
Claudio Sanches a19685abb1 Removed remaining span.product-type styles 2018-04-03 16:26:01 -03: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 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 fcb74a30ff
Merge pull request #19550 from woocommerce/update/17427
Wizard: changes to the Store Setup step
2018-04-03 14:39:20 +01:00
Mike Jolley 5bc26ebd79 Merge branch 'master' into update/17427 2018-04-03 14:38:49 +01:00
Mike Jolley 8721d62b67 update test 2018-04-03 14:37:31 +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 3a20e32531
Merge pull request #19583 from GlennMartin1/patch-1
update readme.txt PHP version recommendation
2018-04-02 08:51:22 -07: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
Claudiu Lodromanean a6864ed0a4
Merge pull request #19582 from willgorham/fix/19576
Display order item refund as negative value
2018-04-02 08:35:40 -07:00
GlennMartin1 15482c3433
update readme.txt PHP version recommendation
Create consistent PHP 7.2 version recommendation in readme.txt to match System Status recommendation. See https://github.com/woocommerce/woocommerce/pull/19573

plus a Git link typo
2018-03-31 01:16:56 -04: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 de0d529377
Merge pull request #19568 from woocommerce/fix/19435
Only push to lightbox if image is found
2018-03-30 08:11:21 -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
Claudio Sanches ce829e3714
Merge pull request #19573 from woocommerce/update/19546
System status and php version notices
2018-03-29 14:24:34 -03:00
Mike Jolley 01be034279 Disable geolocation if using legacy php #19548 2018-03-29 17:04:31 +01:00