Commit Graph

18551 Commits

Author SHA1 Message Date
Mike Jolley 3f1368153a Merge pull request #12521 from woocommerce/plugins-url-assets-12477
Register scripts using plugins_url
2016-12-06 16:04:30 +00:00
James Koster 4daa5d133b Add a utility function to check the active theme.
And check active theme before loading integration class
2016-12-06 12:14:00 +00:00
Mike Jolley 31fbee2b07 ran grunt 2016-12-06 11:53:27 +00:00
Mike Jolley cb3b9fb02a Merge branch 'pr/12510' 2016-12-06 11:52:23 +00:00
Mike Jolley 201f89b19a Clean up template loader logic 2016-12-06 11:52:15 +00:00
Mike Jolley 0c2d070d72 Merge pull request #12475 from leogermani/patch-1
get_payment_method relies on a more generic DOM element
2016-12-06 11:18:58 +00:00
Mike Jolley ff05080208 Merge pull request #12462 from danielhuesken/fix_rest_setting_user_role
Set customer role for user if it not a customer on the current blog
2016-12-06 11:16:27 +00:00
Mike Jolley b4e255354f Merge pull request #12418 from bobbingwide/master
Fixes #12352 - cater for just one item selected in a multiselect list
2016-12-06 11:14:24 +00:00
Mike Jolley a32cc87c82 Merge pull request #12515 from Ramoonus/patch-10
travis-ci: test with php 7.1
2016-12-06 11:13:45 +00:00
Mike Jolley 070926f7e6 woocommerce_downloadable_file_hash filter
Closes #12444
2016-12-06 11:09:03 +00:00
Mike Jolley 44ee5f7ed3 Ensure products have different timestamps in tests. 2016-12-06 10:46:48 +00:00
Mike Jolley 84a930a607 Variations are returned newest to oldest in tests. Ensure dates differ. 2016-12-05 18:51:29 +00:00
Mike Jolley 7b739b9367 Register scripts using plugins_url 2016-12-05 18:34:30 +00:00
Mike Jolley 4bd05c7396 Combine 2 address loops 2016-12-05 16:08:51 +00:00
Mike Jolley 8e81526bfc Set menu order so products return in correct order for tests. 2016-12-05 15:43:08 +00:00
Mike Jolley 162aa986b6 Fix tests 2016-12-05 14:21:09 +00:00
Mike Jolley 4130ae0e1f Merge pull request #12520 from woocommerce/feedback-12495
2.7 CRUD Feedback
2016-12-05 13:47:58 +00:00
Mike Jolley ad7d8c14dc Do not suffix when ranges are used. 2016-12-05 13:44:21 +00:00
Mike Jolley 1f04cf9dc0 Comment on has_all_attributes_set 2016-12-05 13:15:25 +00:00
Mike Jolley 2780688a70 wc_get_price_html_from_text 2016-12-05 13:13:30 +00:00
Mike Jolley 3975054acd Reindex after clear. 2016-12-05 13:06:14 +00:00
Mike Jolley 4cd4e8b9f8 Remove register_form action to avoid outputting non-validated captchas
Closes #12500
2016-12-05 12:00:48 +00:00
Mike Jolley d2eeb32af5 Update README.md 2016-12-05 10:29:01 +00:00
Ramon van Belzen f97f2c603a travis-ci: test with php 7.1 2016-12-05 08:14:56 +01:00
Kalen Johnson 2d7e6e7206 Filter the template loader files
Over at Roots we've been working on implementing Laravel's Blade templating engine with the next release of the Sage theme. The filters for the template hierarchy coming in WP 4.7 are going to be very valuable. Looking to accomplish the same thing with 3rd party plugins as well.

A theme using a templating engine would still be able to filter the default templates such as `archive-product.php`, however keeping the functionality that including a `woocommerce.php` file would be nice to be able to use as well.

This PR I believe adds the ability to add a file similar to `woocommerce.php` while not allowing anyone to filter any of the extra functionality away from Woocommerce.
2016-12-03 10:16:18 -08:00
Mike Jolley ba56274662 Move get_price_suffix back to main class 2016-12-02 17:02:06 +00:00
Mike Jolley d67f17a789 Put get_availability functions back in main product classes. 2016-12-02 16:46:35 +00:00
Mike Jolley 6a50228cda Merge pull request #12472 from woocommerce/refactor-checkout-class
Checkout Refactoring
2016-12-02 16:16:18 +00:00
Mike Jolley 3bf3422b5c Feedback 2016-12-02 16:13:36 +00:00
Mike Jolley a5ccacee8e Update readme/changelog 2016-12-02 15:42:48 +00:00
Justin Shreve 877c4c52ce Merge pull request #12499 from woocommerce/fix/catalog-visibility
Set featured status and catalog visibility when saving products.
2016-12-01 17:26:16 -08:00
Mike Jolley a8f6fd88f4 Merge pull request #12488 from woocommerce/save-coupon-wp-error
When saving coupons, return wp_error if necessary
2016-12-01 16:21:23 +00:00
Justin Shreve b5e9fc08fe Set featured status and catalog visibility when saving products. 2016-11-30 10:20:18 -08:00
Justin Shreve aabfb3e3d9 Merge pull request #12497 from andreagrillo/master
Order details: Resend order emails print if no emails available
2016-11-30 09:42:43 -08:00
agrillo 328401271f Fixed: if woocommerce_resend_order_emails_available hook return an empty array the optgroup label "Resend order emails" It is also printed 2016-11-30 11:32:38 +01:00
Claudio Sanches fe20342478 Merge pull request #12492 from woocommerce/fix/payment-gateway-api
Fix Payment Gateway API Issues
2016-11-29 19:52:07 -02:00
Justin Shreve a94acad387 Fix title, enabled, and description updates for payment gateways. Add missing readonly on method title and description.
Bump WC version.
2016-11-29 11:57:56 -08:00
James Koster 65a08a3467 checkout. #12038 2016-11-29 13:17:15 +00:00
James Koster b436e78b07 cart styling #12038 2016-11-29 12:13:43 +00:00
James Koster b208f9cbec account / cart / checkout layout. #12038 2016-11-29 11:37:40 +00:00
Justin Shreve 5d8ce22afe When saving coupons, return wp_errors if an item cannot be created or updated. 2016-11-29 03:06:10 -08:00
Justin Shreve 4dc579ff57 Merge pull request #12486 from franticpsyx/attribute-drop-down-html-render
[2.6/2.7] Fix variation attributes rendering
2016-11-29 02:49:59 -08:00
James Koster 2a1f8488d1 reviews #12038 2016-11-29 10:34:37 +00:00
Manos Psychogyiopoulos 22d02a0925 fix variation attributes rendering
Renders options html outside the DOM and uses .html() to update DOM state in one go.

ref: https://github.com/woocommerce/woocommerce/issues/12485
2016-11-29 10:21:00 +02:00
Justin Shreve ede9d181b6 Merge pull request #12480 from franticpsyx/variable-data-store-read_price_data-methods-missing-method-context
[2.7] Wrong use of 'view' context in WC_Product_Variable_Data_Store_CPT:: read_price_data
2016-11-28 10:50:22 -08:00
Justin Shreve 3dbfc499ba Merge pull request #12481 from franticpsyx/product-arg-in-set-stock-status-actions
[2.7] Add $product argument to `woocommerce_[variation_]set_stock_status` action
2016-11-28 10:47:59 -08:00
James Koster 7f9e69e91d border on required asterisk. #12038 2016-11-28 17:54:43 +00:00
James Koster 3cb181df22 message links #12038 2016-11-28 17:50:20 +00:00
James Koster b8b6f7623b tweaked the remove button styles. #12038 2016-11-28 17:45:06 +00:00
Manos Psychogyiopoulos 08b81f73c6 add $product argument to `woocommerce_[variation_]set_stock_status` action 2016-11-28 19:03:33 +02:00