Commit Graph

2331 Commits

Author SHA1 Message Date
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
Rodrigo Primo 353945f638
Merge pull request #23384 from CasperBraske/CasperBraske-patch-1
Moved HTML from widget code to template file
2019-08-08 15:46:45 -03:00
Gerhard 958bd7d0dd Bump version number of template that was never done with changes. 2019-08-05 10:02:31 +02:00
Gerhard e48c5491aa Add missing additional content output to customer-new-account email template. 2019-08-05 09:58:30 +02:00
Claudio Sanches 3dfe1037ba Use non-breaking space for product quantity in templates 2019-08-02 18:42:58 -03:00
Luis 802002a10a
Adding the "translators" comment. 2019-08-02 11:31:11 -03:00
Luis 3a435ef9e4
Changing filter names and bumping version 2019-08-02 11:19:43 -03:00
Claudio Sanches 1b4ac250a7 Change wording to "Browse products" 2019-08-01 19:12:29 -03:00
Claudio Sanches e9c6c06a81 Use default redirect page 2019-07-31 20:34:11 -03:00
Sandro Dzneladze 9fa62f8c3b Bring back class for backwards compatibility 2019-07-31 19:57:38 +04:00
Claudio Sanches 1ada2e8491 Use "Go to the shop" in downloads 2019-07-16 15:32:10 -03:00
Gerhard 6ba23a01f8 Bump template versions for 3.7 2019-07-16 10:36:45 +02:00
Gerhard 6e4e818170 Introduce woocommerce_widget_shopping_cart_subtotal function and move minicart template subtotal to use it. New woocommerce_before_cart_collaterals, woocommerce_widget_shopping_cart_total and woocommerce_widget_shopping_cart_after_buttons actions for making the cart and mini cart templates more flexible without having to override it. 2019-07-14 19:27:42 +02:00
Claudio Sanches b63cc12d2b Prevent escape twice 2019-07-09 16:23:53 -03:00
Claudio Sanches 62a32e41d0 Avoid extra escape 2019-07-09 16:23:09 -03:00
Claudio Sanches 86a58a05c3 Fixes based in feedback in #23460 2019-07-09 16:20:54 -03:00
Claudio Sanches c1a3c65e34
Merge branch 'master' into update/23390 2019-07-09 16:15:07 -03:00
Rodrigo Primo 50d26a4045
Merge pull request #23786 from woocommerce/fix/23120-1
Reviews: Respect "Comment author must fill out name and email" setting
2019-07-09 15:40:54 -03:00
Gerhard Potgieter 3abf11e569
Merge pull request #23969 from woocommerce/fix/23956
Display line breaks of customer notes in emails, and order details.
2019-07-04 13:11:44 +02:00
Gerhard Potgieter 12fbfa5677
Merge pull request #22927 from woocommerce/update/22895
Allow "Thanks" wording in emails to be reworded by admin
2019-07-04 12:43:00 +02:00
Sergey Biryukov 9b8a29ac9d
Correct plural forms usage in loop/result-count.php
Fixes #24004.
2019-06-26 05:23:15 +03:00
Claudio Sanches 7f826226b7 No nl2br in plain text emails 2019-06-24 12:16:07 -03:00
Claudio Sanches 6cfe7cb681 Fixed coding standards 2019-06-19 18:39:27 -03:00
Claudio Sanches 62f58daeed Update templates version 2019-06-19 18:33:30 -03:00
Claudio Sanches d46d62fcb7 Fixed line break from customer notes in emails 2019-06-19 18:28:49 -03:00
rmalviya 50d84e3e49 Remove shipping section from helpful message of login form
Shipping section may not always be present such as in case of only
virtual products in cart, so remove it from message shown for the
login form.
Fixes #23940 by removing shipping section from message. In case of
where shipping section needs to be shown, it is quite obvious for
customers to move to shipping section after filling out billing details.
2019-06-15 17:43:09 +05:30
Claudio Sanches b61ca1ded7 Fixed copy and paste 2019-05-28 00:03:08 -03:00
Claudio Sanches 2802a1def1
Merge pull request #23360 from klauspaiva/fix-for-margin-on-email-header-image
Alignment of the image used in the email header
2019-05-22 21:05:14 -03:00
Mike Jolley ec5ddd2387 Dynamically generate comment form fields and respect require_name_email option 2019-05-21 18:23:53 -03:00
Claudio Sanches 576182e44d Bump version of templates 2019-05-21 18:00:52 -03:00
Claudio Sanches de2a45510b Merge branch 'master' into fix/23003 2019-05-21 17:59:52 -03:00
Claudio Sanches edd0e7de8c Bump template versions 2019-05-21 17:53:03 -03:00
Claudio Sanches 4a99a11009 Merge branch 'master' into update/22895 2019-05-21 17:46:16 -03:00
Ewout Fernhout aee539e034
declare plain text email variables 2019-05-21 09:18:45 +02:00
Ewout Fernhout 5089c93969
coding standards 2019-05-18 16:36:34 +02:00
Ewout Fernhout 3819350aaa
remove stray parenthesis 2019-05-18 15:51:18 +02:00
Ewout Fernhout edce5277e5
check if product exists before calling get_sku() 2019-05-18 15:43:04 +02:00
Sandro Dzneladze 7abe7e5712
Normalize register/login submit button css classes 2019-05-14 15:54:01 +04:00
Hassan Yousefi a50464d781 WC_Structured_Data::generate_product_data() no more hooked in to woocommerce_shop_loop ,which has been removed in #22912 2019-05-11 20:45:54 +04:30
Claudio Sanches f4e7ffd180
Merge pull request #23653 from parmarhardip/enhance-23649
#23649 I have added the filter into the out of stock message in varia…
2019-05-10 12:51:12 -03:00
Gerhard Potgieter 292650ee63
Merge pull request #23538 from Mahjouba91/issue/23537
Add a woocommerce_before_thankyou hook, Fix Issue/23537
2019-05-10 11:45:24 +02:00
parmarhardip 5d540037d7 I have change escape 2019-05-10 07:31:11 +05:30
parmarhardip 7b2a331213 remove a phpcs ignore rule. 2019-05-09 17:42:08 +05:30
parmarhardip d56d24f8dd #23649 I have added the filter into the out of stock message in variable.php file 2019-05-08 17:13:25 +05:30
Florian TIAR 0baef94bef
FIX 2019-05-07 01:29:30 +01:00
Florian TIAR b92d3d1afa
Merge branch 'master' into issue/23537 2019-04-27 13:25:58 +02:00
Florian TIAR 499b63e5e4 Add a before thank you hook 2019-04-27 13:10:40 +02:00
Florian TIAR 782c7a944d Fix spaces/tabs 2019-04-27 12:56:11 +02:00
Florian TIAR 1849ab51d8 Code refactoring : Avoid extra lines 2019-04-27 12:53:51 +02:00
Florian TIAR 8cb080ac9b
Improve wording 2019-04-26 17:40:05 +02:00
Klaus Paiva 529a5701c1 Merge branch 'master' of https://github.com/woocommerce/woocommerce into fix-for-margin-on-email-header-image 2019-04-25 10:43:18 +10:00
Mike Jolley 8b4cebfc7c Missing textdomain 2019-04-23 17:05:22 +01:00
Mike Jolley b37d58c934 phpcs in touched files 2019-04-23 17:04:11 +01:00
Mike Jolley ff61a4ab73 __ -> esc_html__ 2019-04-23 16:15:05 +01:00
Mike Jolley 9d5eb07373 _e -> esc_html_e 2019-04-23 15:53:58 +01:00
Peter Fabian bd619d0b91 Fixed incorrect sprintf specifier which caused missing closing <a> tag. 2019-04-23 10:51:04 +02:00
Luis fb77653423
Updating with newest version of WC 2019-04-19 00:19:43 -03:00
Luis e9131fa909
Uploaded file to the wrong place 2019-04-18 23:57:35 -03:00
Luis bfe327a831 Split widget code from HTML
Split widget code from HTML. Added "translator" message to tell verb from noun.
2019-04-18 23:39:36 -03:00
Klaus Paiva 158d7b1885 Image used in the email header has no margin as to align perfectly with the main table 2019-04-18 16:56:45 +10:00
Mike Jolley a4f2446350 Merge branch 'pr/23186' 2019-04-16 14:43:05 +01:00
Zacchaeus 5f0eb2d312
Update label and remove aria-labelledby 2019-04-01 16:32:23 +01:00
Zacchaeus a107fe6be2
Update if condition 2019-04-01 13:31:27 +01:00
Michael Silber 80d400b5ab Add quantity input action hooks 2019-03-28 20:18:46 -04:00
Mike Jolley 0a44c124be Change completed email wording to "We have finished processing your order" 2019-03-25 10:53:57 +00:00
Mike Jolley 827c861577 phpcs 2019-03-15 12:57:20 +00:00
Mike Jolley 6329f61d08 Show refunded items in customer facing screens 2019-03-15 12:54:40 +00:00
Gerhard 89b485e8da Update translators comment to match changes. 2019-03-14 09:39:19 +02:00
Mike Jolley efc46344fc Bump template version 2019-03-13 14:35:51 +00:00
Mike Jolley df02507c47 Fix double escape 2019-03-13 14:35:16 +00:00
Mike Jolley f511718996 Reword email 2019-03-08 11:58:35 +00:00
Claudio Sanches 1064e2bbb8 Removed URL from translatable string 2019-03-07 14:28:48 -03:00
Mike Jolley b33554a4bf Update troubleshooting link 2019-03-06 09:45:57 +00:00
Mike Jolley 138ac3297d Make plain text templates clearer 2019-03-04 17:40:44 +00:00
Mike Jolley 0563a5269b Add content to plain text emails 2019-03-04 17:11:16 +00:00
Mike Jolley f41070f91e Add content to html emails 2019-03-04 17:04:58 +00:00
Mike Jolley 0c21ebd037 Move footer out of content table so it appears below email content 2019-03-04 14:54:09 +00:00
Mike Jolley 0658fb7b69 phpcs 2019-03-01 16:23:43 +00:00
Mike Jolley a7ef260b2c Remove thanks for reading 2019-03-01 16:22:16 +00:00
Mike Jolley 7def966e4f Impoved JSON handling 2019-02-20 12:00:47 +00:00
Mike Jolley 1e74b2567f
Merge pull request #22357 from woocommerce/pr/22125
State and country field handling improvements
2019-02-19 09:52:34 +00:00
Mike Jolley b1c4dfa32d
Merge pull request #22748 from yratof/yratof-patch-price-class
Hard coded class now filterable
2019-02-19 09:48:25 +00:00
Mike Jolley 4672a47d67 Update from master 2019-02-18 11:41:05 +00:00
Andrew Lazarus 07a8183f2a
Hard coded class now filterable
Ability to add library classes to price instead of overwriting template
2019-02-15 09:49:29 +01:00
Mike Jolley 56265f3de4
Merge pull request #22683 from woocommerce/fix/22679
Add aria label for shop orderby selector
2019-02-13 14:12:02 +00:00
Mike Jolley cab45fafb3
Merge pull request #22650 from woocommerce/update/20995
Registration success notices
2019-02-08 13:04:36 +00:00
claudiulodro baf6f15baa Add aria label for shop orderby 2019-02-07 10:59:23 -08:00
Mike Jolley 889cf64ac4 Merge branch 'performance/wc-get-product-class' 2019-02-07 13:34:18 +00:00
Mike Jolley b5eecbf6a7 Add note to reg form 2019-02-04 14:17:33 +00:00
Mike Jolley 0f731d9c3f
Merge pull request #22642 from nishitlangaliya/issue-22601
fix:No alert for mis-matched password reset
2019-02-04 13:41:32 +00:00
Mike Jolley a5d62b83a8 Merge branch 'enhancement/woocommerce_display_product_attributes' 2019-02-04 11:25:13 +00:00
nishitlangaliya 3925e9a282 fix: reverted bump version to 3.5.5 2019-02-04 13:14:30 +05:30
nishitlangaliya e375ffd6e7 fix:No alert for mis-matched password reset 2019-02-04 12:02:59 +05:30
Mike Jolley 20b65a421c Merge branch 'pr/21454' 2019-01-31 16:30:27 +00:00
Mike Jolley 4952fbc475 Adjust both login templates 2019-01-31 16:28:32 +00:00
Mike Jolley c0b9491b1e Pass product objects to wc_get_product_class to avoid reloading the product object 2019-01-30 16:02:09 +00:00
Gerhard b8dc401f86 Bump template version 2019-01-29 12:19:10 +02:00
Gerhard 47d1a02ff6 PHPCS Fixes. 2019-01-29 12:18:55 +02:00
Gerhard 5317be3206 Do not escape output of wc_get_rating_html. 2019-01-29 12:18:05 +02: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 574e98060d Bump template versions to 3.6.0 2019-01-22 15:18:15 +02:00
Mike Jolley 6534653f53
Merge pull request #22309 from cynepkot/master
Update to email-styles.php to fix the iOS email app layout issue
2019-01-21 16:10:56 +00:00
Sandesh 1c4f02d2e2 Before action for order heading in checkout form template (#22481)
* Before and After actions for order heading

To modify checkout HTML structure effectively through action.

* Remove unnecessary action.
2019-01-21 14:55:16 +00:00
Mike Jolley d7476c7217
Merge pull request #22466 from woocommerce/fix/22036
Fixed padding of addresses in email template
2019-01-17 13:34:30 +00:00
Mike Jolley 34a4457a0d phpcs 2019-01-17 13:33:57 +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
Claudiu Lodromanean c2c7cbeccb
Merge pull request #22444 from woocommerce/fix/22119
Fix checkout field locales on first load
2019-01-16 09:39:42 -08:00
Mike Jolley 2ea7e4fb6a woocommerce_display_product_attributes filter 2019-01-16 12:25:19 +00:00
Gerhard 7b3fb815c9 Bump template version 2019-01-16 11:56:32 +02:00
Gerhard 75e47a4cc1 PHPCS fixes 2019-01-16 11:56:07 +02:00
Gerhard beb35db6c3 Fix star rating on product loop, it should not output when reviews also also disabled since ratings form part of reviews. 2019-01-16 11:54:23 +02:00
Mike Jolley 753410bddf methods->options, estimate->shipping 2019-01-15 17:14:23 +00:00