Commit Graph

12490 Commits

Author SHA1 Message Date
claudiulodro 1fc98e3ba7 Query objects can also return objects 2017-08-29 08:36:50 -07:00
Claudiu Lodromanean bee9a35e72 Merge pull request #16593 from woocommerce/update/search-order-16565
Show sorting on search results but default to relevance
2017-08-29 07:48:26 -07:00
Mike Jolley 7e76b87039 Merge pull request #16596 from woocommerce/fix/16594
Manual coupons support
2017-08-29 13:46:13 +01:00
Mike Jolley 2fbecb20ad Merge pull request #16633 from woocommerce/fix/cart-index
Fall back to defaults if not set in cart
2017-08-29 12:45:21 +01:00
Mike Jolley fe847630b2 Tests when tax is not enabled 2017-08-29 12:38:35 +01:00
Mike Jolley c29b9acb5b Fix variable name
Closes #16636
2017-08-29 11:19:03 +01:00
Mike Jolley 8703481742 Merge pull request #16601 from ethitter/add/disable-mkdir
Allow install-related directory creation to be bypassed
2017-08-29 11:12:24 +01:00
Mike Jolley e0b4d59bb6 Merge pull request #16566 from franticpsyx/reload-order-items-on-add
Reload items table after adding line item manually
2017-08-29 10:08:29 +01:00
Mike Jolley 144520db25 Merge pull request #16612 from Miller-Media/master
Absolute value for gmt_offset in scheduled sales
2017-08-29 10:07:44 +01:00
Manos Psychogyiopoulos a55c2714f5 Do away with 'new_row' class 2017-08-29 12:02:02 +03:00
Mike Jolley 66d0a8560d Merge pull request #16611 from iamdharmesh/master
fixed issue #16610
2017-08-29 10:00:43 +01:00
Mike Jolley 5a026cd016 Merge pull request #16608 from shivapoudel/unused-styles
Remove unused product taxonomy styles
2017-08-29 09:59:11 +01:00
claudiulodro 734ed70462 Fall back to defaults if not set in cart 2017-08-28 14:12:35 -07:00
Claudio Sanches f48a5443e4 Updated the shortcode attributes for the new names 2017-08-28 17:57:39 -03:00
Claudio Sanches acad44e3c9 Auto map legacy attributes to the new ones 2017-08-28 17:45:56 -03:00
Claudio Sanches 8115886433 Improved WC_Shortcode_Products possible attributes names 2017-08-28 17:27:35 -03:00
Matt Miller 42e6d4dffe Removed extra tab character 2017-08-28 13:25:20 -07:00
Claudio Sanches 08db6a91c8 Merge pull request #16631 from woocommerce/feature/pre-search-customers
Pre query filter for search customer method.
2017-08-28 17:18:52 -03:00
Claudio Sanches c571b6767b Merge pull request #16606 from woocommerce/update/widgets-16132
Widget depth settings and improvements
2017-08-28 16:37:05 -03:00
Claudio Sanches c9dc585a7f Fixed coding standards 2017-08-28 16:36:32 -03:00
Matt Miller a9db02d340 Variable update on sale schedule event fix
Removed extra variable declaration
2017-08-28 12:35:11 -07:00
Claudio Sanches c03520a661 Allow pre query filter return an empty array 2017-08-28 16:23:12 -03:00
Claudio Sanches d5aae55725 Prevent "Argument #N is not an array" warning when WP_User_Query returns null 2017-08-28 16:15:19 -03:00
Claudio Sanches f8c18ba899 Introduced pre query filter to WC_Customer_Data_Store::search_customers() 2017-08-28 16:14:13 -03:00
Claudiu Lodromanean b46262c3c6 Merge pull request #16613 from woocommerce/feature/15979-2
Allow [products] to be used instead of any other product shortcode
2017-08-28 10:35:03 -07:00
Claudiu Lodromanean c36a6811c5 Merge pull request #16600 from woocommerce/feature/15979
Introduces WC_Shortcode_Products class
2017-08-28 10:33:35 -07:00
Claudio Sanches 500ee02dfa Allow [products] to be used instead of any other product shortcode
This allow `[products]` to be used instaed of `[product_category]`,
`[featured_products]`, `[sale_products]`, `[best_selling_products]`,
`[recent_products]`, and `[top_rated_products]`.

Ref #15979
2017-08-25 20:04:53 -03:00
Claudio Sanches b6f789fc56 Improved WC_Shortcode_Products code 2017-08-25 19:39:43 -03:00
Matt Miller 34b64764c7 Absolute value for gmt_offset in scheduled sales
In the event that you choose a -GMT value, the values are incorrect in some instances. For examples, if we choose a -7 GMT value, the gmt_offset will evaluate to '-7'.

On line 309, $ve will equal '+'.

On line 312, previously, $ve . get_option( 'gmt_offset' ) would evalute to '+-7'.
2017-08-25 15:25:39 -07:00
Claudio Sanches b032a82381 Fixed coding standards 2017-08-25 19:25:19 -03:00
Claudio Sanches 32ea76f09f Render product_attribute shortcode results with WC_Shortcode_Products 2017-08-25 19:07:10 -03:00
Claudio Sanches ddeea547b1 Use WC_Shortcode_Products inside featured_products shortcode 2017-08-25 18:42:02 -03:00
Dharmesh Patel ce764eb6ba fixed issue #16610 2017-08-26 00:36:06 +05:30
Claudio Sanches 72df581c6f Use WC_Shortcode_Products inside top_rated_products shortcode 2017-08-25 15:55:34 -03:00
Shiva Poudel 1bc1bc7201 Remove unused product taxonomy styles 2017-08-26 00:08:33 +05:45
Mike Jolley 31a90bdd85 Handle prices including tax calcs 2017-08-25 18:21:27 +01:00
Mike Jolley 4ac1ed84cc Fallback no coupon data 2017-08-25 16:15:28 +01:00
Mike Jolley 2682d86660 Move comment 2017-08-25 16:09:56 +01:00
Boro Sitnikovski 3cd1bedade Set coupon virtual state on when initializing virtual coupons during recalculation 2017-08-25 17:07:07 +02:00
Claudio Sanches c0da59d75a Use WC_Shortcode_Products inside best_selling_products shortcode 2017-08-25 11:46:47 -03:00
Claudio Sanches 3dabdda480 Apply WC_Shortcode_Products class into sale_products shortcode 2017-08-25 11:00:48 -03:00
Mike Jolley 961c190985 Comments 2017-08-25 14:42:56 +01:00
Mike Jolley 1c303c159c Notes 2017-08-25 12:52:49 +01:00
Mike Jolley 9fa685eb71 wp_dropdown_categories is viable again! 2017-08-25 12:49:51 +01:00
Mike Jolley 55d75cdcb7 Add max depth option to widget
Closes #16132
2017-08-25 12:49:40 +01:00
Mike Jolley ff5228e944 Standardise widget titles and descriptions
Follow the same pattern as core WP widgets, including title case.
Avoids terms like ‘layered nav’ which has no real meaning to new users.
2017-08-25 12:07:17 +01:00
Mike Jolley 3b3ceebc1f Merge pull request #16579 from Chouby/action_before_import
Add action woocommerce_product_import_before_import
2017-08-25 11:19:20 +01:00
Erick Hitter aa881a0c47 Clarify inline doc 2017-08-24 21:42:32 -07:00
Erick Hitter c43155aff7 Allow directory creation to be bypassed 2017-08-24 21:16:32 -07:00
Claudio Sanches 0cea847c63 Renamed $loop_name to $type 2017-08-24 22:22:42 -03:00