Commit Graph

2343 Commits

Author SHA1 Message Date
priyankabehera 995cedbcfe Fixed HTML entities in product name not showing correctly in cart page #26780 2020-06-27 17:42:47 +05:30
Claudio Sanches a804d0f408
Add docblock 2020-06-25 21:35:32 -03:00
Claudio Sanches c3afafee76
Update template version 2020-06-24 11:53:39 -03:00
Leon Francis Shelhamer 80d6b94b42 Preserve anchors when escaping text.
Signed-off-by: Leon Francis Shelhamer <leon@211j.com>
2020-06-16 03:59:43 -04:00
IanDelMar 5e8af1b599 Fix WPCS sniff exclusion
The `WordPress.WP.GlobalVariablesOverride.OverrideProhibited` error code has been replaced by the `WordPress.WP.GlobalVariablesOverride.Prohibited` error code in WPCS v2.0.0.
2020-06-12 15:33:28 +02:00
IanDelMar 9bfa9599e6
Fix WPCS sniff exclusion
Checking `templates/checkout/form-pay.php` against the WordPress Coding Standards throws an error because the `WordPress.WP.GlobalVariablesOverride.OverrideProhibited` error code has been replaced by the `WordPress.WP.GlobalVariablesOverride.Prohibited` error code in WPCS v2.0.0.
2020-06-12 15:29:35 +02:00
IanDelMar 56592ce140
Fix WPCS sniff exclusion
The `WordPress.WP.GlobalVariablesOverride.OverrideProhibited` error code has been replaced by the `WordPress.WP.GlobalVariablesOverride.Prohibited` error code in WPCS v2.0.0.
2020-06-12 14:30:54 +02:00
Zack Katz 846f8ab4fe
Fix unbalanced tag 2020-06-08 14:08:00 -06:00
Claudio Sanches a82dc05e1c
Bump template version 2020-06-03 11:55:20 -03:00
Menaka S 0fa121b810 Remove html tags from plain text email template 2020-05-27 17:07:10 +05:30
Julia Amosova 4756d4c911 Add asterisk to star ratings if required checkbox is enabled 2020-05-24 18:27:08 -04:00
Alex a581daf3dc fix #26209 - email link color clash 2020-05-23 14:07:09 +01:00
Damien Carbery 3132f14c77
Allow heading filter for cross sells component
Copying a similar change to templates/single-product/up-sells.php by @jacobarriola on 2020-02-10.
eea787e0e8 (diff-26fe493bd38552d971b507f64e87a879)
I do not have a use case for this but saw a blog post this morning that used 'gettext' filter to change this text (I suggested a custom PO file with just this string).
2020-05-19 10:51:51 +01:00
Jeffrey Scott French a75c118c02 Sets Select a country option value as default on shipping-calculator country select input. 2020-05-18 13:48:21 -04:00
Néstor Soriano b9875a4fc1
Merge pull request #26445 from tsteur/issue_26414
Add hooks to "Add payment method form" to show additional fields and validate input
2020-05-15 10:16:53 +02:00
Thomas Steur 630b7f436d apply review feedback: better naming and coding style fix 2020-05-15 09:08:35 +12:00
Christopher Allford 472dcfe562
Merge pull request #26245 from slavicd/master
Correct DocBlock in email template file
2020-05-11 19:56:09 -07:00
Thomas Steur 19b074f46b
Trigger action to add additional fields before the add payment method save button 2020-05-11 13:09:39 +12:00
Leon Francis Shelhamer ea9e2f72f9 Add full stop to comment
Signed-off-by: Leon Francis Shelhamer <leon@211j.com>
2020-05-07 23:07:51 -04:00
Leon Francis Shelhamer 2e0cfa51ca Fix PHPCS errors
Signed-off-by: Leon Francis Shelhamer <leon@211j.com>
2020-05-07 22:45:41 -04:00
Leon Francis Shelhamer fe3de4f02c Change conditional to wc_shipping_enabled
Signed-off-by: Leon Francis Shelhamer <leon@211j.com>
2020-05-02 18:12:16 -04:00
Sandesh 414d4276ff
New after order details action added
'woocommerce_after_order_details' action is required to add extra data in table format after order details section
2020-04-29 13:31:38 +05:30
Leon Francis Shelhamer 3a585c4e23 Conditionally change my account dashboard desc
Conditionally change my account dashboard description to reflect whether or not shipping has been disabled in WooCommerce > Settings > General > General options.

Signed-off-by: Leon Francis Shelhamer <leon@211j.com>
2020-04-28 21:37:55 -04:00
Slavic Dragovtev a5d03828f4
Fix DocBlock in email template
Fixes issue [#26244](https://github.com/woocommerce/woocommerce/issues/26244)
2020-04-22 20:19:50 +03:00
Ameen Jalali 4fcb8921d5 Fix wrong hooked function, issue #25996 2020-04-08 07:28:34 +04:30
Christopher Allford 46f58faeca Updated the admin-cancelled-order plain template to match the rich one 2020-04-06 13:24:52 -07:00
Christopher Allford 999b933580 Bumped the version for the admin-cancelled-order template, missed in #25316 2020-04-06 12:37:10 -07:00
Claudio Sanches 4c889feb05
Merge pull request #25316 from michaelignacio/master
Update wording on admin cancelled order email
2020-03-31 17:20:25 -03:00
Rodrigo Primo 701f5bee3b Update template version after #25668 2020-03-06 09:46:40 -03:00
Rodrigo Primo 9a0ce76ee4
Merge pull request #25668 from douglas-johnson/fix/form-row-class-name
Fix Class Name In Login Form: Change -FormRow to -form-row
2020-03-06 09:45:51 -03:00
Douglas Johnson d927b70c56 change -FormRow to -form-row 2020-02-13 16:10:04 -05:00
Jacob Arriola acb9fd51e8 Fix coding standard errors 2020-02-11 11:59:16 -08:00
Jacob Arriola eea787e0e8 Allow heading filter for up sells component 2020-02-10 15:52:27 -08:00
Peter Fabian 67b6f2f710 Bumped template versions where templates got modified since 3.9. 2020-02-06 16:03:57 +01:00
Claudio Sanches 107995ab9a Bump template versions and fix coding standards 2020-02-04 14:16:07 -03:00
Claudio Sanches e0ee96cd37
Merge pull request #25418 from helgatheviking/feature/quantity-placeholders
Add support for placeholders in quantity inputs
2020-02-04 14:05:39 -03:00
Peter Fabian 4a506ebcf7
Merge pull request #25530 from woocommerce/fix/country-region-label
Fix/country region label
2020-02-04 13:54:22 +01:00
vedanshujain ee274be95a Modified "Country" to "country / Region" for more inclusiveness 2020-02-04 13:46:13 +05:30
Rodrigo Primo ee5dc5c0be
Merge pull request #25294 from woocommerce/tweak/email-header-width
Set header table width to 100% for full width
2020-01-31 15:14:28 -03:00
Kathy Daring 93665d0bb8 Use 0 placeholder in grouped products 2020-01-20 10:33:59 -07:00
Kathy Daring 2cb9bba89e update template version to 3.10.0 2020-01-20 10:28:11 -07:00
Kathy Daring bcb17b62c2 Add support for placeholders in quantity inputs
(cherry picked from commit 99eb5074f3)
2020-01-16 12:47:15 -07:00
Michael Ignacio bb93491c66 Fix missing closing tag (#25226) 2019-12-25 23:45:28 +08:00
Michael Ignacio 825feae7b2 Update wording on admin cancelled order email (#25244) 2019-12-25 10:45:04 +08:00
Boro Sitnikovski af7534190e Set header table width to 100% for full width 2019-12-23 11:36:41 +01:00
Rodrigo Primo 7337ab60c2 Fix PEAR.Functions.FunctionCallSignature violations
This commit fixes all violations of the PEAR.Functions.FunctionCallSignature sniff automatically using phpcbf.
2019-12-20 15:25:23 -03:00
Rodrigo Primo 90dbd8295f Fix Squiz.ControlStructures.ControlSignature violations
This commit fixes all violations of the Squiz.ControlStructures.ControlSignature sniff automatically using phpcbf.
2019-12-20 15:09:09 -03:00
Rodrigo Primo 24cc92e67a Fix Squiz.PHP.EmbeddedPhp violations
This commit fixes all violations of the Squiz.PHP.EmbeddedPhp sniff automatically using phpcbf.
2019-12-20 15:06:29 -03:00
Rodrigo Primo 86c1b61f03 Fix Generic.WhiteSpace.ScopeIndent violations
This commit fixes all violations of the Generic.WhiteSpace.ScopeIndent sniff automatically using phpcbf.
2019-12-20 14:48:11 -03:00
Rodrigo Primo 73b5fff29e Fix Squiz.Strings.DoubleQuoteUsage violations
This commit fixes all violations of the Squiz.Strings.DoubleQuoteUsage sniff automatically using phpcbf.
2019-12-20 14:41:46 -03:00
Rodrigo Primo 656b39b4e2 Fix PSR2.ControlStructures.SwitchDeclaration violations
This commit fixes all violations of the PSR2.ControlStructures.SwitchDeclaration sniff automatically using phpcbf.
2019-12-20 14:40:11 -03:00
Rodrigo Primo b574b0b56b Fix Squiz.WhiteSpace.SuperfluousWhitespace violations
This commit fixes all violations of the Squiz.WhiteSpace.SuperfluousWhitespace sniff automatically using phpcbf.
2019-12-20 14:31:29 -03:00
Rodrigo Primo 2c74233be2 Fix WordPress.WhiteSpace.DisallowInlineTabs violations
This commit fixes all violations of the WordPress.WhiteSpace.DisallowInlineTabs sniff automatically using phpcbf.
2019-12-20 14:27:07 -03:00
Rodrigo Primo 62d6b05b58 Fix Generic.Formatting.MultipleStatementAlignment violations
This commit fixes all violations of the Generic.Formatting.MultipleStatementAlignment sniff automatically using phpcbf.
2019-12-20 14:21:08 -03:00
Rodrigo Primo 94373f78ea Fix WordPress.Arrays.MultipleStatementAlignment errors automatically using phpcbf 2019-12-20 13:51:26 -03:00
Rodrigo Primo 23ebeceb0e Fix PHPCS errors automatically using PHPCBF 2019-12-13 16:30:29 -03:00
Rodrigo Primo eefab9d672
Merge pull request #25093 from JoryHogeveen/patch-1
Before and after product list hooks
2019-12-13 16:28:45 -03:00
Rodrigo Primo 19ea00c6ce
Merge pull request #24764 from webdados/patch-1
Set image CSS on emails to be max-width: 100%
2019-12-11 15:12:09 -03:00
Claudio Sanches 6152ac74fd Updated email-addresses.php template version 2019-12-10 18:40:07 -03:00
Garrett Hyder 5c85f3c63d Fix invalid comments in email templates (#24928)
* Fix comment

* Fix comment

* Fix comment

* Add missing colons : to translator comments

* Add missing colon to translator comment

* Add missing colons to translator comments

* Add missing colons to translator comments

* Add missing colon to translator comment
2019-12-09 09:08:11 -03:00
Rodrigo Primo 6ecf05a197
Merge pull request #24914 from woocommerce/fix/24674
Fixed misleading message for Shipping options in cart
2019-12-06 12:18:56 -03:00
Gerhard Potgieter e300bc47b4
Merge pull request #25059 from R33D3M33R/patch-1
Allow related title changes
2019-12-06 15:20:57 +02:00
Rodrigo Primo e34601458b Bump template version after changes added in commit 1ba02bc 2019-12-04 18:47:57 -03:00
Rodrigo Primo efc99cab41
Merge pull request #25096 from BrandynL/add-hooks-to-lost-password-confirmation-page
add password confirmation do_actions
2019-12-04 18:47:02 -03:00
Claudio Sanches e3b2d9f10c Merge branch 'master' into feature/inline-notices 2019-12-04 16:26:10 -03:00
Peter Fabian 8379e46772
Merge pull request #24278 from woocommerce/fix/23299
Display schema for the latest 5 reviews inside product's schema
2019-11-27 17:56:54 +01:00
Andrej Mernik 296cb8c3c8
Change phpcs:ignore syntax 2019-11-22 07:07:27 +01:00
BrandynL 1ba02bc581 add do_action before and after confirmation message in lost-password-confirmation.php 2019-11-21 15:46:16 -05:00
Jory Hogeveen 99407495b7
Add action parameters for context 2019-11-21 13:35:15 +01:00
Jory Hogeveen 2f39d0a6fb
Before and after product list hooks
Allows adding extra rows.
2019-11-21 13:28:43 +01:00
Andrej Mernik 70cd18d047
Globals check override
Use the cross-sells.php globals check override
2019-11-21 11:12:33 +01:00
Andrej Mernik c40c626886
Coding standard check fixes 2019-11-21 11:02:50 +01:00
Andrej Mernik 9aa8f5f5b3
Further coding standards refactoring 2019-11-20 14:23:57 +01:00
Andrej Mernik 45e8101e4a
Coding standard fixes 2019-11-20 14:16:13 +01:00
Andrej Mernik 8a949a3b77
Version bump 2019-11-18 13:44:11 +01:00
Andrej Mernik 147ad7e953
Rename filter 2019-11-18 13:39:14 +01:00
Andrej Mernik 36f2b7d744
Allow related title changes
This modification enables the change of the related products title via a filter
2019-11-18 07:58:46 +01:00
Claudio Sanches 08b761df4f Updated templates to handle new notices. 2019-11-07 20:24:37 -03:00
Claudio Sanches 0e80bd4573 Introduced woocommerce_shipping_not_enabled_on_cart_html filter 2019-10-27 14:38:47 -03:00
Dhaval Shah 0fb01e6886 Rework confusing shipping message on cart page when calculator is disabled and no methods are available. (#24807)
* Check if shipping calculator is enabled before showing related message in cart totals.

Fixes #24674

* Check if on cart then is shipping calculator is enabled before showing related message. Fixes #24674

* Update no shipping available on cart message

Fix #24674
2019-10-27 14:36:41 -03:00
wayheming 091e37d783 Updated wording of total of items in cart order table 2019-10-18 14:50:04 +03:00
itzmekhokan 00dfa57e5a Added fixed issue #24779 2019-10-08 22:16:29 +05:30
Marco Almeida a203bd76b3
Set image CSS on emails to be max-width: 100%
Fixes #24763
2019-10-03 10:28:04 +01:00
Rodrigo Primo 80c4793c18
Merge pull request #24311 from woocommerce/fix/24053
Use non-breaking space for product quantity in templates
2019-10-01 17:08:43 -03:00
Vedanshu Jain 7222f982e2
Merge pull request #24440 from woocommerce/fix/24421
Updated wording of subtotal of items in cart and review order
2019-09-30 20:40:53 +05:30
Gerhard Potgieter c88396cd4c
Merge pull request #24694 from woocommerce/add-action-hook-to-products-tab
Add action hook after products tab
2019-09-30 14:49:24 +02:00
Rodrigo Primo 417a7c0259 Bump template version 2019-09-26 14:26:09 -03:00
Rodrigo Primo 93a92abfd3 Rename action from woocommerce_after_tabs to woocommerce_product_after_tabs
Doing this to use a more specific name.
2019-09-26 14:19:39 -03:00
Rodrigo Primo a2d8de35e1 Fix phpcs violations 2019-09-26 14:18:56 -03:00
Rodrigo Primo 4550bb6661
Merge pull request #24544 from woocommerce/fix/checkout-permalink
Prefer wc_get_checkout_url() instead of wc_get_page_permalink( 'checkout' )
2019-09-25 20:38:38 -03:00
steveo2001 e65c5a5886
Add action to after tabs
If you have a long product description the space under the tabs is empty and is space that can be used to include banners, images, whatever. Therefore it seems appropriate to have an action to hook into after the tabs. A lot of sites we build we end up having to override the tabs.php file in the theme to achieve this as there is no hook.
2019-09-25 16:06:07 +01:00
Vedanshu Jain 8bd6a44763
Merge pull request #24172 from woocommerce/fix/wording-consistency
Update wording to redirect back to catalog when there's no orders or downloads in My Account
2019-09-24 01:38:29 +05:30
Keith Light 67332f9fa0 Amend typos in email templates 2019-09-10 09:47:07 +01:00
Gerhard Potgieter 3685171c52
Merge pull request #23701 from sandrodz/master
Consistent register/login submit button css class names
2019-09-03 13:45:56 +02:00
Claudio Sanches e814105728 Prefer wc_get_checkout_url() instead of wc_get_page_permalink( 'checkout' ) 2019-08-30 13:06:50 -03:00
Marco Almeida 231394967b
Replace wc_get_page_permalink( 'cart' ) with wc_get_cart_url() 2019-08-29 08:49:43 +01:00
Yash Kapoor 09cbc61521
Update mini-cart.php
Fixed escaping function for attribute value.
2019-08-28 19:51:21 +05:30
Yash Kapoor 36bd34ec68 Update mini-cart.php (#24465)
* Update mini-cart.php

Fixed spelling of woocommerce_widget_shopping_cart_total

* Update mini-cart.php
2019-08-27 17:20:14 -03:00
Claudio Sanches 2e179fb3dc Updated wording of total of items in cart and review order 2019-08-19 19:47:02 -03:00
Claudio Sanches 9cfde9caf4 Updated template docblocks 2019-08-12 11:06:18 -03:00