Commit Graph

189 Commits

Author SHA1 Message Date
Claudio Sanches 107995ab9a Bump template versions and fix coding standards 2020-02-04 14:16:07 -03:00
Kathy Daring 93665d0bb8 Use 0 placeholder in grouped products 2020-01-20 10:33:59 -07: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 23ebeceb0e Fix PHPCS errors automatically using PHPCBF 2019-12-13 16:30:29 -03: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
Claudio Sanches c1a3c65e34
Merge branch 'master' into update/23390 2019-07-09 16:15:07 -03: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
Mike Jolley b37d58c934 phpcs in touched files 2019-04-23 17:04:11 +01:00
Mike Jolley 9d5eb07373 _e -> esc_html_e 2019-04-23 15:53:58 +01:00
Mike Jolley 7def966e4f Impoved JSON handling 2019-02-20 12:00:47 +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
Bradley Davis e97204a483 Removed @author tag from docbloc in the template files 2018-12-06 12:13:39 -02:00
Mike Jolley 301e9339a9 Move selected logic to function 2018-05-29 14:31:50 +01:00
James Kemp 16785b33ab Do not escape HTML for attribute label 2018-05-24 15:29:53 +01:00
Mike Jolley 6e0d0fe6ed Simplify code in template 2018-05-22 10:53:33 +01:00
Mike Jolley 7fc75897cd Use GET in external product form 2018-05-18 22:16:59 +01:00
claudiulodro 2bd5feb51d Rename variable to prevent name collision 2018-05-08 14:14:32 -07:00
Claudio Sanches 933bcc32c3
Merge branch 'master' into fix/19620 2018-04-17 12:45:20 -03:00
claudiulodro 7342807674 Update comments 2018-04-16 11:17:39 -07:00
Mike Jolley 2983753809 Update action placement so all product types are consistent.
Also fixes phpcs.
2018-04-10 11:57:49 +01:00
Mike Jolley 6dff553548 Make markup in external product add to cart form mirror simple products with button/form elements. 2018-04-10 11:45:31 +01:00
Claudio Sanches 1e58c3f2a0 Replaced post_class() to wc_product_class() 2018-04-06 14:03:38 -03:00
Gerhard Potgieter fb76e1dd7d Revert tamplate version to 3.4.0 2018-03-07 12:53:27 +02:00
Gerhard Potgieter dce123bf23 Bump template version 2018-03-07 11:59:10 +02:00
Gerhard Potgieter 11c85c7b8d Do not pass the attribute name coming from the $_REQUEST variable through sanitize_title when working out the selected attribute as non english chars result in non matching checks. wc_dropdown_variation_attribute_options takes care of sanitization already. 2018-03-07 10:47:18 +02:00
Mike Jolley 90717295cf Remove globals/add woocommerce_add_to_cart_form_action filter 2018-02-20 11:12:29 +00:00
Kathy Darling e54009e652 Add grouped_form class to grouped product <form> element. Closes #18763 2018-02-02 11:17:42 -06:00
Mike Jolley b9a4a342e6 Remove the lone price/label/quantity class in grouped template
Closes #18542
2018-01-22 14:27:46 +00:00
Mike Jolley 06a7570f4b Out of stock should not show qty in grouped products. 2017-12-15 15:32:50 +00:00
Andrew Lazarus db65913d3c
Removed whitespace in variations
Whitespace is added by formatting the lines with whitespace. This stops you from being able to target the element & check if it's empty with :empty etc.
2017-11-29 10:55:09 +01:00
Mike Jolley ecb90b4ae5 Merge branch 'master' into pr/17111
# Conflicts:
#	templates/single-product/add-to-cart/grouped.php
2017-10-31 16:08:32 +00:00
Mike Jolley b8e0016dcd Grouped products; allow custom columns and changes to values 2017-10-31 16:07:30 +00:00
Mike Jolley 3340d5c7cc Add form action
Closes #17280
2017-10-20 16:12:56 -07:00
Kathy Darling 0c18d8bab4 add woocommerce_grouped_product_list_after_price hook 2017-10-09 14:03:55 -05:00
Kathy Darling 98485d8bbf move woocommerce_grouped_product_list_before_price hook into <td> element 2017-10-09 14:03:35 -05:00
Mike Jolley 2b9c8677eb Passing by reference breaks global functions in grouped template
Fixes #16236
2017-08-01 08:44:16 +02:00
Mike Jolley 690520a5b1 Setup postdata after grouped loop so description etc is correct
Closes #14995
2017-05-10 19:41:55 +01:00
Beka Rice 69752ec933 Bump template version + fix inconsistent alignment (use all spaces) 2017-05-10 04:23:08 -04:00
Beka Rice b9680e250f Fix: Grouped Product page add to cart template shows only the grouped product name / permalink 2017-05-10 04:06:58 -04:00
Mike Jolley 36f78230fc reset post data prevents grouped products working in shortcodes
Fixes #14825
2017-05-08 16:14:46 +01:00
refael iliaguyev 14806a4a6f Bump version for variable.php 2017-04-15 20:23:27 +03:00
Claudio Sanches daf8b3a39b Bump single-product/add-to-cart/grouped.php template version
Because fixes introduced in #14346
2017-04-13 12:33:21 -03:00
rwilliam 910588b91f Update grouped.php
Group child product link viable in main group product page if we set child product visibility to hidden 
if we change  $product->is_visible() to $grouped_product->is_visible() then it working fine
2017-04-13 19:05:13 +05:30
Claudio Sanches 567a551d83 Fixed shortcode render for variations and backwards compatibility
Fixes #13949
2017-04-06 13:00:02 -03:00
Claudiu Lodromanean 5389844a1b Use parent data for sold_individually 2017-04-05 11:02:26 -07:00
Mike Jolley c06fdc2e2e If product has_options, don't show qty in grouped product add to cart form
Fixes #13875
2017-04-03 12:05:28 +01:00
Manos Psychogyiopoulos eb43190e1e Stripslashes of posted variation attribute values
Resolves issues with values that contain quotes, for instance.
2017-03-24 12:00:46 +02:00