Commit Graph

22907 Commits

Author SHA1 Message Date
Konstantin Kovshenin d854f92ee1 Helper: Cache update count fetch and clear cache after an update. 2017-08-28 10:23:33 +03:00
Konstantin Kovshenin a41d5da411 Helper: Add update-count to the Extensions top nav menu. 2017-08-28 10:01:01 +03:00
Konstantin Kovshenin 9f3403af06 Helper: Add a plugin-count to the Extensions admin menu. 2017-08-28 09:52:59 +03:00
Claudio Sanches a97eb40c2c Removed empty unit test 2017-08-25 20:29:35 -03: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 97390eaf6e Tests 2017-08-25 18:21:29 +01:00
Mike Jolley 31a90bdd85 Handle prices including tax calcs 2017-08-25 18:21:27 +01:00
claudiulodro 0db59927d9 Fix input focus bug 2017-08-25 09:41:02 -07:00
Mike Jolley be4ae42a59 Tests 2017-08-25 16:15:32 +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 366686c34a Fixed unit tests for PHP 5.2 and 5.3 2017-08-25 11:01:25 -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
Claudio Sanches d7bea55aae Use WC_Shortcode_Products to render product shortcode results 2017-08-24 22:16:42 -03:00
Claudio Sanches 013da90f51 Included unit test for recent_products shortcode 2017-08-24 21:38:42 -03:00
Claudio Sanches 9b1a047c6f Use WC_Shortcode_Products inside recent_products shortcode 2017-08-24 21:31:58 -03:00
Claudio Sanches 71019aadfe Moved woocommerce_shortcode_products_query filter to parse_query_args 2017-08-24 21:24:51 -03:00
Claudio Sanches 461066d2b1 Allow query products by category on products shortcode 2017-08-24 21:24:05 -03:00
Claudio Sanches 429aecd400 Allow set loop name 2017-08-24 20:20:14 -03:00
Claudio Sanches 57379938b5 WC_Shortcode_Products unit tests 2017-08-24 20:12:12 -03:00
Claudio Sanches a398e4893c Fixed static method and added default value for construct method 2017-08-24 20:11:18 -03:00
Claudio Sanches 0429711f17 Merge pull request #16598 from ramiy/patch-1
i18n: Avoid using HTML tags in translation strings
2017-08-24 19:56:35 -03:00
Claudio Sanches 51e80b944b Apply new WC_Shortcode_Products class into WC_Shortcodes::products 2017-08-24 19:33:14 -03:00
Claudio Sanches 7958f9cca9 Ignore coding standards 2017-08-24 19:17:18 -03:00
claudiulodro e71553ed33 selectWoo beta 2 2017-08-24 15:03:26 -07:00
Claudio Sanches 84cf4d0be8 Fixed query args 2017-08-24 18:59:04 -03:00
Rami Yushuvaev 323c177bb0 i18n: Avoid using HTML tags in translation strings
Old translation string:

* `If you like <strong>WooCommerce</strong> please leave us a %s rating. A huge thanks in advance!`

New translation string:

* `If you like %1$s please leave us a %2$s rating. A huge thanks in advance!`
2017-08-25 00:39:13 +03:00
Claudio Sanches 4f18cea88b Removed extra comments, params and static method 2017-08-24 15:30:44 -03:00
Claudio Sanches 321832ade4 Introduced new WC_Shortcode_Products class 2017-08-24 15:29:30 -03:00
Mike Jolley 1e65a918d5 Pull meta to apply coupons which do not exist 2017-08-24 17:08:45 +01:00
Mike Jolley 8b4086caf2 Hide link to non-existing coupons 2017-08-24 17:08:34 +01:00