Commit Graph

188 Commits

Author SHA1 Message Date
Christopher Allford 4ae1e1f5fc Extracted the repetitive Constants::get_constant( 'WC_VERSION' ) calls where possible 2020-02-04 14:02:57 -08:00
Christopher Allford 1d1413b4ee Replaced direct access of many constants with the Constants library 2020-01-31 22:18:47 -08:00
Christopher Allford 6ad091a9b7 Changed all of the constant accesses into corresponding Automattic\Jetpack\Constants usages 2020-01-28 21:21:29 -08:00
Christopher Allford c2bc312e97 Added Photoswipe and jQuery-UI CSS minification 2019-11-19 10:40:28 -08:00
Claudio Sanches 9f01e546fb Remove selectWoo as script dependency since allow to disable selectWoo 2019-10-16 16:26:47 -03:00
Gerhard 9e3cb22dff Fix WPCS for #24657 2019-09-30 14:51:51 +02:00
Miguel Pinto 1d5809e5b2 Update class-wc-frontend-scripts.php 2019-09-30 14:51:30 +02:00
Miguel Pinto f2e23add73 code standards for fix with wpml 2019-09-30 14:51:30 +02:00
Miguel Pinto c32b95579a Fix for compatibility with WPML
With WPML, query parameter lang is added on home_url which means that geolocalization.min.js will not find any href with that query parameter. We need to remove this parameter from the home_url, otherwise it will not match the regex for the query in the JS function.
2019-09-30 14:51:29 +02:00
Julià Mestieri d1236021bb Added selectWoo as dependency of country-select. 2019-08-07 11:21:11 +02:00
Claudio Sanches 61346720c7 Allow enforce password strength meter on checkout 2019-05-24 15:27:26 -03:00
Mike Jolley 3aff19afe7 version bump 2019-04-18 11:47:07 +01:00
Rodrigo Primo 20e9701583 Bump selectWoo.full.js version 2019-04-16 14:33:31 +01:00
Mike Jolley c78098c248 Version 2019-03-07 10:15:49 +00:00
Mike Jolley 4eb0080605 apply_filters_deprecated to avoid conflict with wp profile 2019-01-30 16:06:51 +00:00
Mike Jolley f96d59ac2b Merge branch 'pr/21043' 2019-01-23 15:16:50 +00:00
Mike Jolley 987a24afdc Timeout param 2019-01-23 15:16:40 +00:00
Mike Jolley 084dab4553
Merge pull request #22476 from woocommerce/fix/22470
Hide ratings when reviews are disabled
2019-01-22 13:32:22 +00:00
Gerhard 98948a2faf PHPCS fixes 2019-01-17 08:32:42 +02:00
Gerhard f3d9eeeef3 Introduce wc_reviews_enabled, wc_review_ratings_enabled and wc_review_ratings_required as helper functions and update all places where options are accessed directly. 2019-01-17 08:04:57 +02:00
Mike Jolley 9799301b0a Add script dep 2019-01-14 14:43:53 +00:00
Kathy Darling eadef501af need to pass a null parameter in second place where woocommerce_add_to_cart_redirect filter appears to avoid errors. 2018-12-04 11:58:54 -06:00
Gerhard Potgieter 43e4ef85e0 Use is_checkout conditional instead of is_page for the wc-checkout js paramaters. 2018-09-12 08:38:54 +02:00
Gerhard Potgieter 90cc41c895 Make jquery-blockui dependencies for wc-add-to-cart and wc-add-to-cart-variation since it uses the block function but has not dependency on the woocommerce script. 2018-08-08 08:56:49 +02:00
Gerhard Potgieter f0bd830502 Do not return or store user agent in lower case as HTTP header fields values are case sensitive as per rfc2616 2018-07-11 13:54:14 +02:00
Mike Jolley da690c34d2 Version 2018-06-05 12:38:03 +01:00
Mike Jolley ffbbf08b61 Zoom improvements for mobile 2018-05-08 14:48:25 +01:00
Mike Jolley bda186338c Adds the template to the fragment name so that switching themes invalidates any fragments created under the previous theme 2018-04-30 11:28:51 +01:00
Mike Jolley 860e7a5d23 Merge branch 'master' into update/gdpr-checkout-customizer 2018-04-16 18:02:28 +01:00
Mike Jolley 7f013a0616 Fix storefront * hiding 2018-04-16 15:12:15 +01:00
Peter Fabian b88a21dae9 Add dependency on the common js code. 2018-04-12 16:15:00 +02:00
Mike Jolley 4e9984718d Simplify required field option 2018-04-11 13:40:42 +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
Claudio Sanches 027789271d Fixed includes/class-wc-frontend-scripts.php PHPCS violations 2018-03-22 16:01:03 -03:00
claudiulodro b0fa583f6e Enable selecting with tab key on selectWoo 2018-03-15 11:52:07 -07:00
claudiulodro c8f418fd45 Only trim strings in multiselect display options 2018-02-27 07:50:33 -08:00
Jeffrey Pearce 4d2846ebdf Updates Flexslider to version 2.7.0
- Fixes RTL logic.
2018-02-02 13:56:02 +02:00
Mike Jolley 431b95dade cart_hash_key param 2018-01-15 16:03:27 +00:00
Mike Jolley 2b2b73b4b7 Pass through zoom options 2018-01-09 15:44:54 +00:00
Boro Sitnikovski 4981d68b38 Add filter for script data 2017-12-06 11:03:16 +01:00
claudiulodro 9d2b76da2b Fix some focus issues in selectWoo 2017-11-27 14:34:05 -08:00
Mike Jolley 6701917e5a Remove need for wc_get_core_supported_themes 2017-11-07 12:17:03 +00:00
claudiulodro 6cc5d5290c Update to latest selectWoo 2017-10-25 13:51:37 -07:00
Mike Jolley 516ea83353 Revert flexslider to 2.6.1 with RTL support
Fixes #17219
2017-10-17 17:05:38 -07:00
Claudio Sanches a7582d50da Merge pull request #16050 from woocommerce/update/15985
Use select2 in cart
2017-07-10 15:40:56 -03:00
Mike Jolley 555f093ac3 Use select2 in cart
Fixes #15985
2017-07-10 13:14:27 +01:00
Mike Jolley 79e3bbd0bf Set allow one slide to false for flexslider
Closes #16002
2017-07-07 11:37:10 +01:00
claudiulodro 8a8daabf26 Update with master and recompile assets 2017-07-06 09:06:30 -07:00
claudiulodro a2867fae6a Set up select2 and selectWoo 2017-07-06 08:43:10 -07:00
Mike Jolley 432a665a2b Remove use of protocol relative URls. Filter can be used if needed. 2017-07-03 14:58:53 +01:00