Commit Graph

2343 Commits

Author SHA1 Message Date
Claudio Sanches 442f357c29 Bump templates for 5.6 release 2021-07-20 20:58:47 -03:00
Mike Jolley d19c31dee3 Add shipping phone to user facing emails 2021-06-03 13:55:56 +01:00
Marco Almeida f7a4aba2cb
Check for needs_payment() instead of has_status( 'pending' )
If an order needs payment, it should include the payment link, no matter the status.

Fixes #29832
2021-05-05 18:21:54 +01:00
roykho 9c59b80820
Bump version for template closes #29595 2021-04-06 11:37:52 -07:00
Nestor Soriano 0045df2cb0 Make product name escaping consistent in the front-end 2021-03-30 11:04:44 +02:00
Roy Ho 2fe19892bc
Merge pull request #28523 from Dedi-Data/master
Fix for RTL direction for pagination arrows
2021-03-03 12:13:13 -08:00
jahir07 fe38d20f51 Added instead of ->get_image_id() 2021-01-25 17:42:27 +06:00
DediData 5f6e6244d8
Merge pull request #1 from Dedi-Data/patch-1
Update pagination.php
2020-12-09 13:28:54 +03:30
DediData a8834ee84c
Update single-product-reviews.php
fix for RTL direction
2020-12-09 13:21:54 +03:30
DediData a6d2c0e0b4
Update pagination.php
fix for RTL directions
2020-12-09 13:18:17 +03:30
roykho ab0ede4603
Hide add to cart button if all products in group are out of stock closes #27710 2020-10-27 16:00:19 -07:00
Claudio Sanches c5ff759d61 Revert changes introduced in #27289 2020-10-26 10:26:29 -03:00
Ron Rennick 4a8898dfbd restore $attachment_ids for product thumbnails template 2020-10-08 15:08:03 -03:00
Claudio Sanches 11a886a91a
Merge pull request #27845 from woocommerce/fix-string-capitalization
Revert string capitalization to the original version
2020-10-08 10:22:01 -03:00
Ron Rennick 577494796c
Merge pull request #27736 from woocommerce/fix/27681
Update taxonomy template file names to `-`
2020-10-07 15:23:11 -03:00
Ron Rennick 67a54b3aa3
Merge pull request #27289 from woocommerce/fix/27222
use first gallery image on single product when image not assigned
2020-10-07 15:06:30 -03:00
Rodrigo Primo b1a1984bdd Revert string capitalization to the original version
PR #25419 added a filter to change the value of the text in a button in
the cart-empty.php template. But it mistakenly changed the
capitalization of the string from 'Return to shop' to 'Return To Shop'.
This commit simply restores the string to its original version.
2020-10-02 08:41:25 -03:00
Ron Rennick bb6ded857d phpcs fixes 2020-09-21 13:34:14 -03:00
Ron Rennick 57fa6aff83 update taxonomy template names from `_` to `-` 2020-09-21 13:30:29 -03:00
Claudio Sanches 70c7adfeb7 Fixed usage of package tag in REST API and templates 2020-09-17 11:56:08 -03:00
Nestor Soriano 70a1cb2f1f Revert improved filtering for variations.
This commit reverts the functionality introduced in PR #26260
(later refined by #27175, #27190, #27508) in which filtering by
attribute using the layered nav widget was improved to handle the
cases of variations out of stock. The revert is a response to the
numerous problems reported by users in Woo 4.4 and 4.5

Not all the code has been reverted, only the code that resulted in
visible functionality changes. Thus, the code that generates
term relationships for variations is still in place to keep database
consistency and to keep the reverting changes to the minimum needed.
2020-09-09 17:36:26 +02:00
Rodrigo Primo 33a74f5f04 Update version in which woocommerce_return_to_shop_text was added 2020-09-05 11:43:43 -03:00
Aezaz Shaikh e7f474ef21
Add filter to change "Return to Shop" button text (#25419)
* Update cart-empty.php

Added filter to change "Return to Shop" button text

* Update cart-empty.php

* Escape HTML and add docblock

Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2020-09-05 11:37:29 -03:00
Kevin Hagerty 69758c38da
Define a background-color for the H1 in the header
To prevent the email client from setting something different.
2020-08-30 11:28:23 -04:00
Ron Rennick 38190e2dcd
Merge branch 'master' into patch-1 2020-08-28 15:26:56 -03:00
Ron Rennick 122de48325
Update template version 2020-08-28 15:25:26 -03:00
Ron Rennick e49527cf9d apply changes from feedback 2020-08-28 11:34:32 -03:00
jonathansadowski 09176808c7
Revert "Fixed HTML entities in product name not showing correctly in cart pag…" 2020-08-24 14:44:20 -05:00
jonathansadowski 19eef38a39
Merge pull request #26897 from CHEWX/patch-1
[styling] - remove whitespace in a link
2020-08-14 13:38:29 -05:00
Ron Rennick 84d6d6c525 move image id logic to woocommerce_show_product_* 2020-08-12 15:31:27 -03:00
Ron Rennick 41d53a9880 use first gallery image on single product when image not assigned 2020-08-11 13:33:47 -03:00
Claudio Sanches d48f1d4e2e Fixed package tag usage 2020-08-05 13:36:24 -03:00
Nestor Soriano 50e8f27bc7 Fix visibility of variable products with layered nav filtering.
The layered nav filtering doesn't work well with variable products
when some variations have stock and other don't. When a term is
selected in the widget, a variable product having no stock for
the variation corresponding to that term but having stock for
other variations will be displayed, but it shouldn't.

This commit fixes that by introducing two changes:

- A new override of "is_visible" for WC_Product_Variable that
  looks at the supplied filters, compares them against the corresponding
  available variations and calculates the visibility based on
  the query type (OR or AND).

- A hook on the "found_posts" filter in WC_Query, that adjusts
  the posts count based on the found products visibility
  when there are filters available; this is needed to sync the
  "displaying X posts" messages and the paging when variable
  products are hidden due to stock status.

Additionally, the visibility calculated in "found_posts" is cached
as loop variables so that it isn't calculated again when actually
displaying the products.
2020-07-28 08:55:52 +02:00
Nestor Soriano ff7884bdb6 Fix total products count display when there's one single result.
Fix from "Showing all 1 results" to "Showing the single result".
2020-07-28 08:47:29 +02:00
Nestor Soriano c27283dffe Fix code sniffer errors in some files.
Fixed files:

includes/abstracts/abstract-wc-product.php
includes/class-wc-query.php
includes/wc-template-functions.php
includes/widgets/class-wc-widget-layered-nav.php
templates/loop/result-count.php
tests/unit-tests/util/class-wc-tests-wc-query.php
2020-07-28 08:47:29 +02:00
Ron Rennick e218d25d6e
Merge pull request #26989 from adamradocz/patch-1
Remove leftover note.
2020-07-24 14:44:05 -03:00
Mahdi Yazdani c3c15a4f2a
Removed dot "." from the generated password string
There is an extra dot "." right after the generated password string which is not part of the actual password and creates confusion for the users who want to login. It would be great if we can remove it.
2020-07-19 13:45:46 +03:00
Adam Radocz 558a052983
Remove leftover note. 2020-07-09 09:44:13 +02:00
Peter Fabian e20568be7d Update template versions for 4.3. 2020-07-04 21:57:39 +02:00
Claudio Sanches b772d0eaf3 Merge branch 'fix/26780' of https://github.com/priyankabehera/woocommerce into priyankabehera-fix/26780 2020-07-01 18:01:51 -03:00
Claudio Sanches ee2087a7d3
Updated template version 2020-07-01 17:42:33 -03:00
Claudio Sanches bdf996eec8
Fixed use of esc_html() and bumped the template version
Also fixed some coding standards
2020-07-01 17:39:49 -03:00
Claudio Sanches 525025b866
Merge pull request #26591 from mellooor/master
fix #26209 - email link color clash
2020-07-01 14:27:18 -03:00
Claudio Sanches f6a1708a95
Merge pull request #26613 from woocommerce/remove_html_from_plain_text_email
Remove html tags from plain text email template
2020-07-01 14:23:14 -03:00
Claudio Sanches 5db9afca28 Bump template version 2020-07-01 14:16:10 -03:00
Claudio Sanches 44348502cc
Merge pull request #26545 from damiencarbery/patch-1
Allow heading filter for cross sells component.
2020-07-01 14:14:37 -03:00
Claudio Sanches fddaed2899
Merge pull request #26325 from twoelevenjay/master
Conditionally change my account dashboard desc
2020-07-01 13:13:22 -03:00
Claudio Sanches 3b45cf2443
Merge pull request #26758 from IanDelMar/patch-1
Fix WPCS sniff exclusion
2020-07-01 12:35:25 -03:00
Tom Hopcraft e38b887812
[styling] - remove whitespace in a link 2020-06-30 11:40:13 +01:00
Néstor Soriano ca963af1b1
Merge pull request #26541 from jeffreyscottfrench/Fix--calc_shipping_country-default-value
Fixes #26540 - Set Select a country option value as default on shipping calculator
2020-06-30 10:35:19 +02:00