Commit Graph

1962 Commits

Author SHA1 Message Date
Jonathan Belcher 8d757e3d3c
Deletes whitespace 2018-02-14 15:40:01 -05:00
Andrej Mernik 62e158835c
Update photoswipe.php
Remove comments. Theme developers can read the Photoswipe docs for modification ...
2018-02-14 07:48:12 +01:00
Mike Jolley 280ca3757e wc_get_gallery_image_html checks 2018-02-13 19:18:13 +00:00
Andrej Mernik 4e1fab4652
Convert HTML comments to PHP, remove empty lines
There are no benefits of exposing code comments to the public. The code was also made more compact.
2018-02-13 14:43:02 +01:00
Mike Jolley 2b36b5f49f Main image should be larger. 2018-02-13 11:16:42 +00:00
Mike Jolley a55a4b9a88 Use helper function which has more filters and moves logic out of template file 2018-02-13 11:16:42 +00:00
Mike Jolley 7dd880ca57 Email order details template version
This template had a change but was not bumped.
2018-02-09 16:52:02 +00:00
Kathy Darling e54009e652 Add grouped_form class to grouped product <form> element. Closes #18763 2018-02-02 11:17:42 -06:00
Mike Jolley 5bea7de93c
Merge pull request #18743 from woocommerce/fix/unsupported-theme-homepage-pagination
Fix shop on homepage with unsupported themes
2018-02-01 12:45:17 +00:00
Mike Jolley 2ed9691c14 Fix shop on homepage with unsupported themes 2018-02-01 11:15:46 +00:00
Mark Truitt 382d31018a
Update wrapper-end.php
default fallback needed to be reversed. Opening containers are div > main
2018-01-31 19:23:46 -05:00
claudiulodro 2cf3a5f57e Add fallback for themes that just get the pagination template 2018-01-31 10:10:09 -08:00
Jason Kytros a08c003254 Remove filter 'woocommerce_order_item_product' from order-details.php 2018-01-31 14:54:51 +02:00
Mike Jolley 04fe7aaf4a Switch to variable 2018-01-30 12:12:44 +00:00
Stanislav Mazur c692c0a869 Make 'woocommerce_email_downloads_column_' hook format aware (#18598) 2018-01-25 18:04:17 +02:00
Jared Burke 8c62d76aee Fix: use string escape for order numbers 2018-01-24 09:45:35 -06:00
Mike Jolley b9a4a342e6 Remove the lone price/label/quantity class in grouped template
Closes #18542
2018-01-22 14:27:46 +00:00
Claudiu Lodromanean bb47315fdd
Merge pull request #18459 from woocommerce/fix/18451
Auth screen escaping
2018-01-12 07:26:54 -08:00
Claudio Sanches 7290d6e42e Fixed test string #18430 2018-01-12 11:59:17 -02:00
Mike Jolley ac7bdd1a56 Fix escaping and PHPCS 2018-01-12 13:04:26 +00:00
Claudio Sanches cac9e0d872 Fixed number of args passed to woocommerce_order_item_meta
Part of #18437
2018-01-11 14:47:19 -02:00
Claudio Sanches 452cc738cb Fixed number of args passsed to woocommerce_order_item_meta_start
Closes #18437
2018-01-11 14:21:49 -02:00
Mike Jolley b17ef15f7d phpcs 2018-01-11 12:28:08 +00:00
Mike Jolley f1e0d4929b Implement get_edit_order_url method. 2018-01-11 12:04:39 +00:00
ElectricFeet 21c5b36113
Remove non-standard outdated CSS
Removed `-moz-osx-font-smoothing: grayscale;` and `-webkit-font-smoothing: antialiased;`, as suggested in woocommerce/storefront#698
2018-01-03 17:58:02 +01:00
claudiulodro 7fcbceaae5 Refactor logic 2017-12-21 11:31:58 -08:00
claudiulodro d0bc5964ea Actually use correct template version 2017-12-21 11:25:22 -08:00
claudiulodro 59a174985b Use correct template version and phpcs 2017-12-21 11:20:30 -08:00
claudiulodro 2d88654a0a Always use contrasting color for links 2017-12-21 11:14:14 -08:00
claudiulodro 28db1c270a Use text color for links 2017-12-21 06:35:55 -08:00
Chetan Prajapati 325cbf443d
Remove space before comma in function call
There is PHPCS error about "Remove space before comma in function call". That needs to be removed.
2017-12-20 22:07:48 +05:30
Claudio Sanches 9413589e8f Apply woocommerce_short_description filter before check if excerpt is empty
Closes #18225
2017-12-19 14:19:12 -02:00
Caleb Burks 82c5975b37 Prevent duplicate IDs on checkout page 2017-12-17 22:43:51 -06:00
Claudiu Lodromanean 906efe1ffc
Merge pull request #18189 from woocommerce/fix/17897
Add getter for tax_display_cart variable, with filter
2017-12-15 08:44:43 -08:00
Mike Jolley 06a7570f4b Out of stock should not show qty in grouped products. 2017-12-15 15:32:50 +00:00
Mike Jolley 01871fd2c8 Add getter for tax_display_cart variable, with filter 2017-12-15 13:39:35 +00:00
Mike Jolley 755647ec5c Improve subcat display to see if subcats can actually be displayed 2017-12-13 15:46:09 +00:00
Mike Jolley 87fd8b2feb Update pay link wording 2017-12-12 16:38:50 +00:00
Mike Jolley 6bd89b6106 Template version bumps
@claudiulodro
2017-12-12 13:13:00 +00:00
Mike Jolley e6b4b36e7d
Merge pull request #18096 from ramiy/patch-2
a11y: add `role=alert` to woocommerce error msgs
2017-12-12 13:10:19 +00:00
Mike Jolley 466cb3e1cb
Merge pull request #18074 from ramiy/patch-1
a11y: add `role=alert` to woocommerce message div
2017-12-12 13:10:10 +00:00
Rami Yushuvaev 255c3211ab
a11y: add `role=alert` to woocommerce error msgs
See #18074
2017-12-11 16:40:25 +02:00
Mike Jolley f4927ea837 Give control over loop button attributes
Closes #18079
2017-12-11 13:09:21 +00:00
Mike Jolley bd944cb664 Using $args makes it clearer what's in the variable. 2017-12-11 12:36:47 +00:00
Caleb Burks 92ee7da0aa Pass $args to woocommerce_loop_add_to_cart_link 2017-12-09 20:54:40 -06:00
Mike Jolley 1fbcff023d Include city field by default 2017-12-08 14:11:51 +00:00
Rami Yushuvaev 29019b7713
a11y: add `role=alert` to woocommerce message div
Help assistive technology and to mark the message as important message. When this role is added to an element, the browser will send out an accessible alert event to assistive technology products which can then notify the user about it.
2017-12-08 15:22:07 +02:00
Boro Sitnikovski d0f9aaa99a Merge branch 'master' into tweak/decouple-cart-template-methods 2017-12-07 20:16:08 +01:00
Boro Sitnikovski c9d06bb4b9 Bump templates version 2017-12-07 16:00:30 +01:00
Boro Sitnikovski 588c5f3779 Change method name 2017-12-07 15:53:16 +01:00
Mike Jolley 119ee7f27c Use new loop functions 2017-12-06 18:10:44 +00:00
Mike Jolley 8dcffa660e Normalise get_query_results names and add new param for pagination 2017-12-06 13:13:43 +00:00
Boro Sitnikovski 145d47c580 Decouple cart templating methods from WC_Cart class 2017-12-05 13:00:21 +01:00
claudiulodro d60456cc73 Resolve conflicts and bring up to date with master 2017-12-04 13:56:59 -08:00
Claudiu Lodromanean b05cd3f3a7
Merge pull request #17934 from woocommerce/fix/17925
Display product URL only if is not hidden in downloads list
2017-11-29 10:33:34 -08:00
Andrew Lazarus db65913d3c
Removed whitespace in variations
Whitespace is added by formatting the lines with whitespace. This stops you from being able to target the element & check if it's empty with :empty etc.
2017-11-29 10:55:09 +01:00
Claudio Sanches fd4fa0cf71 Fixed coding standards 2017-11-28 11:04:38 -02:00
Claudio Sanches def87b74bf Display product URL only if is not hidden in downloads list
Fixes #17925
2017-11-28 10:18:43 -02:00
Arif Widianto ebbdf2da0e Change description as of mikejolley's suggestion 2017-11-28 08:50:20 +07:00
Arif Widianto 51948b7ae5 Fix account page for providing display_name edit 2017-11-28 07:56:36 +07:00
Arif Widianto 0b42515c93 Provides edit display name in my-account page (#17606) 2017-11-22 15:20:49 +07:00
Mike Jolley b9bfc4a26b
Merge pull request #17753 from willgorham/fix/17597
Responsive table for order downloads
2017-11-20 12:18:54 +00:00
Brandon Kraft e34551c6b7
Correct nesting of args 2017-11-17 15:40:54 -06:00
Brandon Kraft b77dadf5ba
Bump template version 2017-11-17 15:16:53 -06:00
Brandon Kraft 7e9068ac53
Correct errors per PHPCS 2017-11-17 12:10:58 -06:00
Brandon Kraft 5974901124
Change default text for checkout page link 2017-11-17 11:17:22 -06:00
Mike Jolley 21e51b9fc6
Merge pull request #17692 from woocommerce/update/16925
Add add_to_cart_description method and aria-labels to cart buttons in the loop
2017-11-17 12:35:50 +00:00
Will G 07431b0620
Responsive table for order downloads 2017-11-17 00:21:28 -05:00
Mike Jolley ef4859aaf0
Merge pull request #17711 from woocommerce/update/17502
Improve the Add Payment Methods display
2017-11-15 11:05:11 +00:00
Mike Jolley bb2e506a2b Tweak wording 2017-11-15 11:04:20 +00:00
Mike Jolley babde741db Add add_to_cart_description method and aria-labels to cart buttons in the loop 2017-11-14 11:45:16 +00:00
Mike Jolley 1d93d8f577 Columns styling 2017-11-10 17:50:56 +00:00
Mike Jolley 2a3ace9853 Merge branch 'master' into feature/17550-archives-template-support 2017-11-09 17:34:57 +00:00
Chase Wiseman 9558c49e72 Review tweaks 2017-11-09 09:26:17 -08:00
Mike Jolley 6e08ff0284
Merge pull request #17610 from woocommerce/update/17557
Theme support to declare image sizes
2017-11-09 16:04:22 +00:00
Mike Jolley c058921c9c Optimisation of product subcats template functions 2017-11-08 20:00:23 +00:00
Mike Jolley a0e2e59f9b Orderby support 2017-11-08 18:09:39 +00:00
Mike Jolley 8da485e911 Allow reuse of pagination template file 2017-11-08 16:39:28 +00:00
Mike Jolley 9f6f5f9f17
Merge pull request #17609 from woocommerce/update/17254-input-to-button
Convert input submit elements to button submit elements
2017-11-07 19:21:04 +00:00
Mike Jolley db4e630600 Replace thumbnail names 2017-11-07 18:48:51 +00:00
claudiulodro 6b514aaab8 Make underscores the default 2017-11-07 08:45:05 -08:00
Gerhard Potgieter 8b16bdcf42 input to button for submit in product-searchform.php template 2017-11-07 12:35:32 +02:00
Gerhard Potgieter 7f5ed6e95c PHPCS fixes for product-searchform.php template 2017-11-07 12:34:30 +02:00
Gerhard Potgieter bb172ea930 input to button for submit in order/form-tracking.php template 2017-11-07 12:32:20 +02:00
Gerhard Potgieter 96b8fad138 PHPCS fixes for order/form-tracking.php template 2017-11-07 12:30:13 +02:00
Gerhard Potgieter 23de60b56c input to button for submit in myaccount/form-reset-password.php template 2017-11-07 12:24:11 +02:00
Gerhard Potgieter f9d14cbc06 PHPCS fixes for myaccount/form-reset-password.php template 2017-11-07 12:23:31 +02:00
Gerhard Potgieter 91b23d8d03 input to button for submit in myaccount/form-lost-password.php template 2017-11-07 12:21:50 +02:00
Gerhard Potgieter a0d29aeb30 PHPCS fixes for myaccount/form-lost-password.php template 2017-11-07 12:21:05 +02:00
Gerhard Potgieter 978e69374f input to button for submit in myaccount/form-login.php template 2017-11-07 12:19:57 +02:00
Gerhard Potgieter 5c3918b738 PHPCS fixes for myaccount/form-login.php template 2017-11-07 12:18:26 +02:00
Gerhard Potgieter 10f13c45fc input to button for submit in myaccount/form-edit-address.php template 2017-11-07 12:15:00 +02:00
Gerhard Potgieter a6a63ad939 PHPCS fixes for myaccount/form-edit-address.php template 2017-11-07 12:14:05 +02:00
Gerhard Potgieter 86b20dd76b input to button for submit in myaccount/form-edit-account.php template 2017-11-07 12:09:12 +02:00
Gerhard Potgieter 62c20de262 PHPCS fixes for myaccount/form-edit-account.php template 2017-11-07 12:07:34 +02:00
Gerhard Potgieter ea585b119b input to button for submit in myaccount/form-add-payment-method.php template 2017-11-07 12:05:29 +02:00
Gerhard Potgieter b24f16f492 PHPCS fixes for myaccount/form-add-payment-method.php template 2017-11-07 12:03:42 +02:00
Gerhard Potgieter 05e539c85e input to button for submit in global/form-login.php template 2017-11-07 12:01:25 +02:00
Gerhard Potgieter 8cf3bd8b80 PHPCS fixes for global/form-login.php 2017-11-07 12:00:13 +02:00
Gerhard Potgieter 23a4342b2a Remove escaping around filter, breaks remove button 2017-11-07 11:58:17 +02:00
Gerhard Potgieter 35876dc06f input to button for submit in payments.php template 2017-11-07 11:55:38 +02:00
Gerhard Potgieter afdefc06c2 PHPCS fixes for payments.php template 2017-11-07 11:54:18 +02:00
Gerhard Potgieter 674252ae47 input to button for submit in form-pay.php template 2017-11-07 11:51:25 +02:00
Gerhard Potgieter 702c085ab9 PHPCS fixes for template form-pay.php 2017-11-07 11:50:15 +02:00
Gerhard Potgieter fdd9ff325b input to button for submit in form-coupon.php template 2017-11-07 11:40:30 +02:00
Gerhard Potgieter 31825e8f60 input to button for submit in cart.php template 2017-11-07 11:39:08 +02:00
Gerhard Potgieter 68ee7d6fde PHPCS fixes for cart.php template 2017-11-07 11:37:48 +02:00
Gerhard Potgieter a5562cc31d Bump template version 2017-11-07 11:34:44 +02:00
Gerhard Potgieter 491c9f0abe input to button for submit in form-login.php 2017-11-07 11:01:25 +02:00
Gerhard Potgieter 8cbef7359e PHPCS fixes in form-login.php 2017-11-07 10:59:55 +02:00
claudiulodro c3689134d0 Underscores wrappers 2017-11-06 13:46:50 -08:00
Chase Wiseman c7df19f3ab Return the "no payment methods" message to the Add Payment Method page 2017-11-01 10:13:26 -07:00
Chase Wiseman 5c57be18b0 Conditionally display the Add Payment Method button if there are available gateways 2017-11-01 10:13:01 -07:00
Mike Jolley ecb90b4ae5 Merge branch 'master' into pr/17111
# Conflicts:
#	templates/single-product/add-to-cart/grouped.php
2017-10-31 16:08:32 +00:00
Mike Jolley b8e0016dcd Grouped products; allow custom columns and changes to values 2017-10-31 16:07:30 +00:00
Mike Jolley d08548c3a9 Version 2017-10-27 18:49:48 +01:00
Mike Jolley ba3d959e66 Merge branch 'master' into pr/17183 2017-10-27 18:49:27 +01:00
Mike Jolley 349e37399f Merge branch 'pr/17315' 2017-10-27 16:42:32 +01:00
Mike Jolley 3c3173b2f8 Rename actions and handle deprecation 2017-10-27 16:42:19 +01:00
Mike Jolley 8695d46637 Merge branch 'pr/17041' 2017-10-27 15:35:43 +01:00
Mike Jolley bfebd204ee Code standards and better action names 2017-10-27 15:35:34 +01:00
Mike Jolley 9d7960a6ce Wrap table in div with margin
Closes #17362
2017-10-26 14:52:40 +01:00
Justin Sternberg 0748c6b090 Update template file version to 3.3.0 2017-10-24 13:34:30 -04:00
Mike Jolley 3340d5c7cc Add form action
Closes #17280
2017-10-20 16:12:56 -07:00
Mike Jolley 164f77add4 phpcs 2017-10-20 16:06:02 -07:00
Justin Sternberg fe28187bc5 Add order-details `before` hooks to complement existing hooks.
Includes:

* `woocommerce_order_details_before_order_table` to complement `woocommerce_order_details_after_order_table`
* `woocommerce_order_items_table_before` to complement the unfortunately-named `woocommerce_order_items_table`
2017-10-20 13:26:52 -04:00
Truong Giang 5f43592689 Correct indentation 2017-10-17 22:16:50 +07:00
Claudio Sanches 73e5d3c7de Merge pull request #17153 from woocommerce/fix/17140
Use base text color for links in emails
2017-10-16 22:48:58 -07:00
Mike Jolley 7419168e65 More cleanup and new fallback option for addresses 2017-10-16 08:12:07 -07:00
Gareth McCumskey adcf83441b Re-adjusted all other style changes to better match back to project style requirements 2017-10-16 09:16:43 +02:00
Mike Jolley c2c213fe05 Include date in customer emails again 2017-10-13 15:09:21 +01:00
Gareth McCumskey 96032fc771 Adjusted the formatting to better match the if's and endif's 2017-10-13 08:47:48 +02:00
claudiulodro 660d663149 Revert order detail header behavior 2017-10-12 10:58:04 -07:00
claudiulodro 8acba76696 Add email to email address template 2017-10-12 08:07:10 -07:00
Mike Jolley 819951815e Use base text color for links in emails 2017-10-12 12:27:15 +01:00
Kathy Darling 0c18d8bab4 add woocommerce_grouped_product_list_after_price hook 2017-10-09 14:03:55 -05:00
Kathy Darling 98485d8bbf move woocommerce_grouped_product_list_before_price hook into <td> element 2017-10-09 14:03:35 -05:00
Mike Jolley ce11605287 Classname was using total instead of email 2017-10-09 11:37:00 +01:00
Filipe Seabra 0dad12537b Version was bumped 2017-10-04 12:54:00 -03:00
Filipe Seabra 872fed68dc Added to new actions in content-widget-product.php so plugins can easily and specifacally do sth within product widgets. There's no issue/reference, sorry. 2017-10-03 17:52:36 -03:00
Claudio Sanches bd13b066c8 Fixed coding standards 2017-10-02 14:13:15 -03:00
nishitlangaliya 65464d3a02 Tab to intent, space to align the => and localization done #16966 2017-10-02 22:29:00 +05:30
nishitlangaliya 40e88afd62 indenting code, and necessary changes done ref #16966 2017-10-01 13:52:02 +05:30
nishitlangaliya eb73972afa As per suggestions required changes done ref #16966 2017-09-29 10:38:14 +05:30
nishitlangaliya a30819092c aria-labelledby added to quantity field ref #16966 2017-09-29 01:52:48 +05:30
Claudio Sanches 966dd0d3be Merge pull request #16939 from woocommerce/update/16909
Added screen reader text to quantity input template
2017-09-26 10:40:23 -03:00
Mike Jolley 3a17d48af2 Added screen reader text to quantity input template
Closes #16909
2017-09-26 12:05:09 +01:00
Jim f30b0573c9 Bump template version single-product-reviews.php 2017-09-25 16:01:54 +02:00
claudiulodro 02e33b3cd7 Update template version 2017-09-21 09:05:04 -07:00
Mike Jolley c91cd01379 remove spam field
Closes #16862
2017-09-20 11:51:33 +01:00