Mike Jolley
6ccf385f8b
Merge pull request #22005 from woocommerce/add/21992
...
Add woocommerce_gallery_image_html_attachment_image_params filter
2019-01-07 13:05:53 +00:00
claudiulodro
13371c7e8b
Check product exists before getting title
2018-11-26 11:16:58 -08:00
Gerhard
06d7d50f9d
Include main_image variable in the woocommerce_gallery_image_html_attachment_image_params filter.
2018-11-21 13:52:55 +02:00
Gerhard
7e4e0de090
PHPCS fixes
2018-11-21 13:48:35 +02:00
Gerhard
9eb31f5d14
Add woocommerce_gallery_image_html_attachment_image_params filter so you can modify the params passed to wp_get_attachment_image for thumbnails.
2018-11-21 13:47:24 +02:00
Gerhard
8d6d95935a
Populare arealabelledby attribute by actually passing the product_name in the $args.
2018-11-21 09:49:38 +02:00
Rodrigo Primo
9b094fc74d
Use $product->get_image_id() instead of has_post_thumbnail()
...
This commit replaces all instances where has_post_thumbnail() was used with $product->get_image_id(). This is a continuation of 64b589f032
and is needed to support the custom product tables plugin as has_post_thumbnail() relies on a post meta.
2018-10-18 09:28:20 -03:00
Rodrigo Primo
f53b696ddf
Remove unnecessary call to urldecode()
...
This commit removes an unnecessary call to urldecode() as the superglobal $_REQUEST is already decoded by PHP (see http://php.net/urldecode ). Calling urldecode() on a previously decoded value was causing the issue described in #21542 .
2018-10-15 12:27:12 -03:00
claudiulodro
4082222f7a
Add inline float style for email label to match order details styling
2018-09-26 11:13:29 -07:00
Gerhard Potgieter
9849228442
Logical not bitwise operator
2018-09-18 15:11:26 +02:00
Trafikbyran
b27980dae7
Update wc-template-functions.php
...
it's supposed to check if it isn't (&!) in the array of taxonomies that are stated on the following rows not if it is (&&)... before rows 623 to 630 did nothing..
one could argue that it should be possible to set the taxonomies in the array it checks "( 'product_cat', 'product_tag' )" in the filter but i haven't thought that through
2018-09-18 15:10:50 +02:00
Gerhard Potgieter
8b51ceaca2
Sort by latest instead of Sort by newness
2018-09-10 10:26:04 +02:00
Peter Fabian
5b0cc306a5
Moved the wc_kses_notice to wc-notice-functions.php and applied it in wc_print_notices().
2018-08-21 12:00:48 +02:00
Peter Fabian
9845c3c131
PHPCS.
2018-08-21 11:48:29 +02:00
Peter Fabian
ae05d6e5ea
Removed author tag and bumped version of templates to 3.5.0, factored out function to one common place.
2018-08-21 11:47:50 +02:00
Peter Fabian
5459d1149d
Add ajax-add-to-cart class to button only if product can be purchased.
2018-07-02 18:58:42 +02:00
Mike Jolley
211ef53a53
Pass link to template file. Use cart URL to avoid redirects.
2018-06-22 10:40:56 +01:00
therealgilles
43db16a708
Merge branch 'master' of https://github.com/woocommerce/woocommerce
2018-06-11 18:14:30 +00:00
Mike Jolley
588be3a780
merge master
2018-06-11 13:46:04 +01:00
therealgilles
9adff87a1c
Rename woocommerce_checkout_skip_cart_is_empty_check to woocommerce_checkout_redirect_empty_cart and invert filter polarity.
2018-06-10 18:58:47 +00:00
therealgilles
1d733236e0
Merge branch 'master' of https://github.com/woocommerce/woocommerce
2018-06-10 18:53:13 +00:00
Mike Jolley
4df54b4e53
Merge branch 'master'
2018-06-07 11:24:12 +01:00
therealgilles
0a6e5f7d16
Merge branch 'master' of https://github.com/woocommerce/woocommerce
2018-06-04 20:13:45 +00:00
Mike Jolley
4daa28daee
woocommerce_shipping_calculator to support custom button text
2018-06-01 21:29:33 +01:00
Mike Jolley
45d6c55f2a
selected logic, with added sanitize_title
2018-05-29 14:32:20 +01:00
Mike Jolley
786641e976
Merge pull request #20232 from rnaby/250518-161500-wc-template-functions-wc_logout_url
...
wc_logout_url refactored
2018-05-25 11:40:00 +01:00
Khan M Rashedun-Naby
49f76ebb5b
wc_logout_url refactored
2018-05-25 16:34:06 +06:00
Mike Jolley
717fd61a16
Merge pull request #20226 from rnaby/250518-104427-wc-template-functions-get_product_search_form
...
Removed get_product_search_form else
2018-05-25 11:29:07 +01:00
Mike Jolley
416a4785b2
Merge pull request #20230 from rnaby/250518-154433-wc-template-functions-wc_get_rating_html
...
wc_get_rating_html refactored
2018-05-25 11:28:27 +01:00
Mike Jolley
fc24e2f440
Merge pull request #20214 from rnaby/240518-232027-wc-template-functions-woocommerce_pagination
...
woocommerce_pagination refactored
2018-05-25 11:23:36 +01:00
Khan M Rashedun-Naby
c3f4826caf
wc_get_rating_html refactored
2018-05-25 16:10:26 +06:00
Khan M Rashedun-Naby
52d28b69c2
Removed Else
2018-05-25 10:45:38 +06:00
Khan M Rashedun-Naby
4a8b7b876e
woocommerce_pagination refactored
2018-05-24 23:23:10 +06:00
Khan M Rashedun-Naby
18ae4c8d5c
wc_setup_product_data refactored
2018-05-24 23:11:13 +06:00
Mike Jolley
2f87873ca5
Merge pull request #20093 from rnaby/160518-090545
...
Little clean up and fix
2018-05-24 16:26:15 +01:00
Mike Jolley
83a9831dc0
Merge pull request #20092 from rnaby/160518-084433
...
wc_get_loop_class logic simplified
2018-05-24 16:25:26 +01:00
therealgilles
830e42794e
Add woocommerce_checkout_skip_update_order_review_expired and woocommerce_checkout_skip_cart_is_empty_check filter calls.
2018-05-23 20:40:23 +00:00
Mike Jolley
5afb40fcbb
Merge pull request #20162 from woocommerce/fix/20133-string-parsing
...
Improve external product string parsing
2018-05-22 13:54:03 +01:00
Mike Jolley
a3c18696e8
Fix terms display in preview
2018-05-22 11:19:39 +01:00
Mike Jolley
7609ed82da
Make wc_query_string_form_fields handle strings
2018-05-22 10:53:08 +01:00
Khan M Rashedun-Naby
0c70ed69f3
Little clean up and fix
2018-05-16 09:08:49 +06:00
Khan M Rashedun-Naby
3f824ae000
wc_get_loop_class logic simplified
2018-05-16 08:47:35 +06:00
Gerhard Potgieter
6ab75247f7
Check that the terms condtions page actually exists and not just for an saved ID.
2018-05-07 11:05:38 +02:00
Mike Jolley
2f8f30cd29
Make some strings easier to translate for translators
2018-05-03 14:50:39 +01:00
Mike Jolley
8e0f0cbc29
Lazy load children and attributes for variable products
2018-05-01 11:57:00 +01:00
Mike Jolley
ccff8ecd17
Fix policy text preview in customizer.
2018-04-26 12:11:11 +01:00
Mike Jolley
fe30b4900e
Merge pull request #19798 from tivnet/patch-6
...
Update wc-template-functions.php
2018-04-20 11:37:39 +01:00
Gregory Karpinsky
88b9f3763e
Update wc-template-functions.php
...
`wc_privacy_policy_page_id()` has no parameters.
2018-04-19 21:35:02 -04:00
Gregory Karpinsky
02a4538c82
Update wc-template-functions.php
...
Spelling
2018-04-19 21:19:36 -04:00
Mike Jolley
8aa214bab5
Better callback
2018-04-19 18:37:07 +01:00