Commit Graph

2308 Commits

Author SHA1 Message Date
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
Mike Jolley d86ce7a0d8 Fixed padding of addresses in email template 2019-01-15 15:59:25 +00:00
Mike Jolley 35a01fd06a Update select placeholders on locale change 2019-01-15 15:50:55 +00:00
Mike Jolley d3d1864b4e Select an option vs state 2019-01-15 15:24:17 +00:00
Gerhard 2974154ae8 Update processing order email copy as per feedback https://github.com/woocommerce/woocommerce/pull/22418#discussion_r247105693 2019-01-11 15:04:06 +02:00
Gerhard 77537d2cd3 Update copy for processing order emails to not mention payment as some stores take payment after orders are placed. 2019-01-11 14:29:21 +02:00
Mike Jolley f0772e6b2c Merge branch 'pr/21235' 2019-01-10 12:25:07 +00:00
Mike Jolley 8c0e0b62cd Add legacy class and version bump 2019-01-10 12:24:48 +00:00
Rodrigo Primo b4db23a4fc Bump template version after change in #22078 2019-01-09 17:39:02 -02:00
Rodrigo Primo edd8f14e40 Merge branch 'master' of github.com:woocommerce/woocommerce 2019-01-09 17:38:32 -02:00
Rodrigo Primo 0b09bef386
Merge pull request #22078 from unfulvio/make-shipping-options-available-text-filterable
Make shipping may be available text filterable
2019-01-09 17:38:00 -02:00
Rodrigo Primo 7daf97d1f8 phpcs fixes
this indentation change is a bit odd but makes phpcs happy
2019-01-09 17:32:27 -02:00
Mike Jolley fe02144d0a
Merge pull request #21927 from woocommerce/add/21925
Make links in order notes clickable.
2019-01-09 16:52:37 +00:00
Mike Jolley a07cadf510
Merge pull request #21958 from mahdiyazdani/patch-2
Updated conditional statements to Yoda style
2019-01-09 12:11:53 +00:00
Bradley Davis 44bfd1127f Removed indent after <?php to be match other files (#22390) 2019-01-09 11:31:14 +00:00
Mike Jolley 127965419b
Merge pull request #22333 from Prospress/fix/21607
fix W3C validation errors in quantity-input.php template
2019-01-09 11:26:48 +00:00
Rodrigo Primo d71cb562aa Properly align order item meta in RTL emails
Since commit
4082222f7a (diff-30dd34631dd7461f75c05ded270e9ee4R60), order item meta is not aligned properly in order e-mails when using a RTL language. This commit fixes this problem by using the is_rtl() function to determine the float side for the element that contains the order item meta information.
2019-01-08 14:17:55 -02:00
Rodrigo Primo a48639b7bc Fix PHPCS violations automatilly with PHPCBF 2019-01-08 13:57:25 -02:00
Mike Jolley dcdc7657c3 This is for 3.6 2019-01-08 15:00:34 +00:00
Mike Jolley eef05fafe9 update from master 2019-01-08 15:00:23 +00:00
Mike Jolley 038a1a103a
Merge pull request #21496 from kukac7/feature/img-optim
images, svgs optim
2019-01-08 11:25:10 +00:00
Mike Jolley 04d7e54d42 Set country value when loading fields rather than in template files 2019-01-07 16:04:01 +00:00
Mike Jolley 2724fd76cd
Merge pull request #22017 from Bradley-D/feature/wpcs-inline-php
WPCS: inline PHP semicolon and spacing
2019-01-07 12:47:08 +00:00
Ron Rennick 38a7e77a44 fix W3C validation errors in quantity-input.php template 2019-01-03 14:05:43 -04:00