Commit Graph

558 Commits

Author SHA1 Message Date
Mike Jolley 786641e976
Merge pull request #20232 from rnaby/250518-161500-wc-template-functions-wc_logout_url
wc_logout_url refactored
2018-05-25 11:40:00 +01:00
Khan M Rashedun-Naby 49f76ebb5b wc_logout_url refactored 2018-05-25 16:34:06 +06:00
Mike Jolley 717fd61a16
Merge pull request #20226 from rnaby/250518-104427-wc-template-functions-get_product_search_form
Removed get_product_search_form else
2018-05-25 11:29:07 +01:00
Mike Jolley 416a4785b2
Merge pull request #20230 from rnaby/250518-154433-wc-template-functions-wc_get_rating_html
wc_get_rating_html refactored
2018-05-25 11:28:27 +01:00
Mike Jolley fc24e2f440
Merge pull request #20214 from rnaby/240518-232027-wc-template-functions-woocommerce_pagination
woocommerce_pagination refactored
2018-05-25 11:23:36 +01:00
Khan M Rashedun-Naby c3f4826caf wc_get_rating_html refactored 2018-05-25 16:10:26 +06:00
Khan M Rashedun-Naby 52d28b69c2 Removed Else 2018-05-25 10:45:38 +06:00
Khan M Rashedun-Naby 4a8b7b876e woocommerce_pagination refactored 2018-05-24 23:23:10 +06:00
Khan M Rashedun-Naby 18ae4c8d5c wc_setup_product_data refactored 2018-05-24 23:11:13 +06:00
Mike Jolley 2f87873ca5
Merge pull request #20093 from rnaby/160518-090545
Little clean up and fix
2018-05-24 16:26:15 +01:00
Mike Jolley 83a9831dc0
Merge pull request #20092 from rnaby/160518-084433
wc_get_loop_class logic simplified
2018-05-24 16:25:26 +01:00
Mike Jolley 5afb40fcbb
Merge pull request #20162 from woocommerce/fix/20133-string-parsing
Improve external product string parsing
2018-05-22 13:54:03 +01:00
Mike Jolley a3c18696e8 Fix terms display in preview 2018-05-22 11:19:39 +01:00
Mike Jolley 7609ed82da Make wc_query_string_form_fields handle strings 2018-05-22 10:53:08 +01:00
Khan M Rashedun-Naby 0c70ed69f3 Little clean up and fix 2018-05-16 09:08:49 +06:00
Khan M Rashedun-Naby 3f824ae000 wc_get_loop_class logic simplified 2018-05-16 08:47:35 +06:00
Gerhard Potgieter 6ab75247f7 Check that the terms condtions page actually exists and not just for an saved ID. 2018-05-07 11:05:38 +02:00
Mike Jolley 2f8f30cd29 Make some strings easier to translate for translators 2018-05-03 14:50:39 +01:00
Mike Jolley 8e0f0cbc29 Lazy load children and attributes for variable products 2018-05-01 11:57:00 +01:00
Mike Jolley ccff8ecd17 Fix policy text preview in customizer. 2018-04-26 12:11:11 +01:00
Mike Jolley fe30b4900e
Merge pull request #19798 from tivnet/patch-6
Update wc-template-functions.php
2018-04-20 11:37:39 +01:00
Gregory Karpinsky 88b9f3763e
Update wc-template-functions.php
`wc_privacy_policy_page_id()` has no parameters.
2018-04-19 21:35:02 -04:00
Gregory Karpinsky 02a4538c82
Update wc-template-functions.php
Spelling
2018-04-19 21:19:36 -04:00
Claudiu Lodromanean 48eb13d602
Merge pull request #19747 from woocommerce/update/19734
Add privacy policy to account pages
2018-04-18 07:26:06 -07:00
Mike Jolley 97e747e745 Add default text prop 2018-04-18 11:05:36 +01:00
Mike Jolley 6c5d4c7cda Add privacy settings 2018-04-17 18:32:31 +01:00
Claudio Sanches c185d6b6d3 Merge branch 'fix/19620' of github.com:woocommerce/woocommerce into fix/19620 2018-04-17 12:54:35 -03:00
Claudio Sanches a7ce4ff6d3 Escape all at the same time 2018-04-17 12:54:01 -03:00
Claudio Sanches 933bcc32c3
Merge branch 'master' into fix/19620 2018-04-17 12:45:20 -03:00
Claudio Sanches f18220a009 Updated unit tests 2018-04-17 12:31:14 -03:00
Claudio Sanches 54b6174b34 Fixed $post when using product instance 2018-04-17 12:21:56 -03:00
Claudio Sanches c19836b0e4 Moved espace to wc_product_class 2018-04-17 12:18:21 -03:00
Claudio Sanches 627292d627 Include categories and tags by default 2018-04-17 12:14:18 -03:00
Mike Jolley 8a19c5962b Further simplified customiser options 2018-04-16 17:56:44 +01:00
Mike Jolley 6c14ad9a88 More wording tweaks 2018-04-11 17:12:48 +01:00
Mike Jolley 592605f071 Wording 2018-04-11 16:45:41 +01:00
Mike Jolley cdd5b25bd8 Privacy page and default text handling 2018-04-11 16:41:39 +01:00
Claudio Sanches 60ad91266d Fixed wrong variable 2018-04-06 15:08:11 -03:00
Claudio Sanches b3bf245929 Introduced new wc_get_product_class() and wc_product_class functions 2018-04-06 13:58:59 -03: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 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
Peter Fabian 80dc183880 Use nbsp to separate * denoting required fields. 2018-04-04 16:45:40 +02:00
Peter Fabian c2e27919ce Replaced array_key_exists with isset test 2018-03-28 11:19:03 +02:00
Peter Fabian 86f1b3701f Tag stripped outside template
Stripping only affects aria-label attribute now.
2018-03-27 17:19:49 +02:00
Claudio Sanches 0660a50e07 Removed obvious boolean results 2018-03-21 19:57:10 -03:00
Claudio Sanches 15989622df Fixed PHP warning on woocommerce_catalog_ordering()
This fixes the follow warning:

> PHP Warning:  array_key_exists(): The first argument should be either a string or an integer in includes/wc-template-functions.php on line 1012

When an option doesn't exists is returned `false`, just setting a default value to fix the issue.

This issue should happen in new installations of WooCommerce 3.3 when no
order is defined on the customizer.
2018-03-16 15:13:21 -03:00
Mike Jolley 6cc5f2e171
Merge pull request #19140 from woocommerce/fix/subcategory-cache
Clear subcategory cache
2018-03-16 14:08:58 +00:00
Mike Jolley d052b2ee46 cache per parent to avoid large caches 2018-03-13 19:00:08 +00:00