Aristeides Stathopoulos
fde1037757
fix failing tests.
2016-09-01 23:50:14 +03:00
opportus
53a257bb91
improved structured data - merge conflict fix
2016-09-01 14:15:15 +02:00
Aristeides Stathopoulos
dcd5495af9
WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon
2016-08-27 07:32:21 +03:00
Aristeides Stathopoulos
ff852038c9
WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys
2016-08-27 06:11:30 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
opportus
9001f094ff
improved structured data - branch update
2016-08-23 15:49:20 +02:00
opportus
26367d1108
seo tweaks - branch update
2016-08-16 12:19:29 +02:00
opportus
17cc4bbd63
improved structured data - branch update
2016-08-15 14:16:14 +02:00
opportus
5535da6a5b
improved structured data - added generate_output_structured_data() method
...
| modified some methods names | few other tweaks
2016-08-15 00:39:01 +02:00
Mike Jolley
04869ab784
Merge pull request #11685 from Ninos/json_encode
...
Use wp_json_encode() instead of json_encode()
2016-08-12 10:36:12 +01:00
Ninos Ego
a191ab7aaa
Use wp_json_encode() instead of json_encode()
2016-08-12 05:57:08 +02:00
opportus
27befde3bd
improved structured data - tabulation fix - revision1
2016-08-11 12:35:03 +02:00
opportus
b61aae01bf
improved structured data - email order structured data integration +
...
WC_Structured_Data refactor + coding standards tweaks
2016-08-11 00:23:26 +02:00
opportus
79ef06b6ad
improved structured data - added div into short description template
2016-08-06 00:49:31 +02:00
James Koster
8708273401
review meta template tidy up. closes #11417
...
* Adds class for ‘comment awaiting approval’ message
* Replaces ‘comment’ for ‘review’ in aforementioned message
* Adds class for author
* Adds class for review date
* Adds new-style class for verification notice
* Wraps dash in a span with new-style class
* Removes unnecessary colon
2016-08-05 14:41:02 +01:00
Mike Jolley
5a9dacd595
Show variable weights/dimensions even when parent values are not set.
2016-08-03 16:07:34 +01:00
opportus
fc5fe55bd5
seo tweaks - revision2
2016-08-02 23:17:15 +02:00
opportus
e105548605
seo tweaks - revision1
2016-08-01 19:55:00 +02:00
opportus
b899a8991d
seo tweaks
2016-07-29 20:42:33 +02:00
opportus
0c5b11802b
improved structured data - patch9 - merge conflict fix
2016-07-27 13:28:20 +02:00
Mike Jolley
33aa884648
broken bracket
2016-07-22 12:36:31 +01:00
Mike Jolley
caea27e722
get_the_title does not need escape
2016-07-22 12:22:53 +01:00
opportus
b59d512774
improved structured data - patch2 - merge conflict fix
2016-07-19 22:42:24 +02:00
opportus
d89cbbec23
improved structured data - patch2
2016-07-19 21:36:52 +02:00
Mike Jolley
e1a5bb1f28
Escape caption in product-images.php
2016-07-19 19:09:33 +01:00
Mike Jolley
40351f7e63
Escape caption in product-thumbnail template
2016-07-19 19:09:33 +01:00
Claudio Sanches
14eeee15ee
Welcome to docs.woocommerce.com
2016-07-19 07:30:31 -03:00
opportus
d74a3408b3
improved structured data
2016-07-17 04:57:03 +02:00
Claudio Sanches
7d9d091767
Fixed mixed tabs and spaces
2016-07-11 16:56:35 +02:00
Damien Carbery
4d72279c0d
Update grouped.php
...
Pass $product->single_add_to_cart_text() through esc_html() to be consistent with simple.php and variation-add-to-cart-button.php.
2016-06-09 12:20:27 +01:00
Guido Scialfa
79e046bfb2
Passing the heading tag as parameter for the_title able users to filter the title by using 'the_title' filter, in this way we can for example hide the title product without output the empty heading tag.
2016-06-05 12:01:52 +02:00
Claudio Sanches
e39274e753
HTTPS for everybody
2016-05-26 22:48:49 -03:00
Mike Jolley
fce8dc0868
Ensure alt text is set for product attachments
...
@claudiosmweb Fixes #10822
2016-05-03 16:41:51 +01:00
Oliver Juhas
c5c94b6bbd
Updating the classes to new new naming convention
2016-04-22 22:24:54 +02:00
Oliver Juhas
287d537349
Adding tab specific class
...
Allow targeting specific tab with a class instead of id.
2016-04-22 13:00:14 +02:00
Mike Jolley
9d1abd8a10
Bump version
2016-04-21 17:23:47 +01:00
Mike Jolley
3fcc68e2f8
Replace http hrefs with https
...
Closes #10716
2016-04-18 11:58:12 +01:00
Mike Jolley
da92201f5a
Use display price in schema
2016-04-06 10:22:45 -05:00
Mike Jolley
84d3fe2d82
wc_format_localized_decimal on dimensions
2016-03-30 13:19:01 +01:00
James Koster
850134fc20
Makes the review template easier to customise without forcing a template override. #10339
...
* Adds `woocommerce_review_before`,
`woocommerce_review_before_comment_meta`, `woocommerce_review_meta` and
`woocommerce_review_comment_text` actions.
* Adds `woocommerce_review_display_gravatar()`,
`woocommerce_review_display_rating()`,
`woocommerce_review_display_meta()` and
`woocommerce_review_display_comment_text()` template functions.
* Adds template files for review rating and meta.
2016-03-07 15:33:47 +00:00
Mike Jolley
a778c0b234
Give loops names, and set class outside of template files
...
Closes #10028
2016-02-12 13:32:58 +00:00
Mike Jolley
bd4c90dbec
Docblocks
...
Fixes #10336
2016-02-12 11:28:44 +00:00
Mike Jolley
cae1fe6b85
Refactors/improvements to layered nav to support slugs
...
#7806
2016-02-09 14:41:17 +00:00
Mike Jolley
25e02ac6f1
Alt text is set by WP
...
Fixes #10215
2016-01-29 11:25:43 +00:00
Gregory Karpinsky
17b16b4dd2
Omit closing PHP tag to avoid "Headers already sent" issues.
2016-01-26 18:35:24 -05:00
Mike Jolley
8093194a44
[2.5] Qty button can be hidden for variables sold individually
2016-01-22 17:53:12 +00:00
Kathy Darling
67c06f313e
add filter for reset variations link html
2016-01-07 09:43:34 -05:00
Mike Jolley
0ebba8b0be
flip desc and price
2015-12-04 13:34:38 +00:00
Mike Jolley
b7d8091a44
pass full variation object into script instead of parts
2015-12-04 13:31:36 +00:00
Mike Jolley
2c023a2847
Pass the wp.template to the script and append so its added to the page once when needed
2015-12-04 13:26:44 +00:00
mitogh
d3804dc16c
Forece strict comparisons on single products template
2015-11-14 20:31:23 -06:00
Claudio Sanches
1f24a22de6
Escape price.php template
2015-11-09 00:57:36 -02:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Mike Jolley
d1d9ff1b59
Adjust how the 'clear' link appears
2015-10-29 16:51:05 +00:00
Mike Jolley
edd2e4f2cb
wp.template is not required for cart button
2015-10-28 14:59:40 +00:00
Mike Jolley
6a64f3ba7a
Remove global
2015-10-28 14:19:44 +00:00
Mike Jolley
1ff6a27951
Split button from variation display
2015-10-28 13:09:34 +00:00
Mike Jolley
f050c804e1
Use wp.template for variation and variation button
2015-10-28 13:04:28 +00:00
Claudio Sanches
ad29047d3c
Created woocommerce_review_before_comment_text hook on templates/single-product/review.php #9432
2015-10-27 11:13:22 -02:00
Claudio Sanches
e9fb395471
Introduce two new actions on templates/single-product/review.php
...
New actions:
- woocommerce_review_before_comment_meta
- woocommerce_review_after_comment_text
Closes #9432
2015-10-26 13:36:02 -02:00
Mike Jolley
002bfa45e4
Ensure grouped product exists
...
Fixes #9382
2015-10-22 16:35:29 +01:00
Jeff Stieler
58ec17f76d
Use new review verification status retrieval method on single review template and in APIs.
2015-10-20 22:05:17 -06:00
Jeff Stieler
cfdef778bf
Use review comment meta to determine if the customer bought the product.
2015-10-20 22:03:29 -06:00
Mike Jolley
cf54ea8fc0
esc_attr does not double encode
...
fixes #9287
2015-10-07 12:03:10 +01:00
Caleb Burks
ee2757c08f
Specific template override paths
2015-10-03 02:58:08 -05:00
Mike Jolley
de4a80f950
Add disclaimer to template files
...
Closes #8942
2015-10-01 16:07:35 +02:00
Claudio Sanches
ad80f2188b
Updated the /single-product/add-to-cart/variable.php version
2015-09-22 13:53:19 -03:00
Claudio Sanches
605db1cf3a
hijax for variations on frontend
2015-09-22 13:22:12 -03:00
Mike Jolley
1b45bcde0b
URL encode to preserve text attributes in permalinks
2015-07-28 10:37:24 +01:00
Mike Jolley
808c01cb90
Added woocommerce_single_variation hook for variation data and cart button to reduce code in template file and used hooks. @claudiosmweb
...
Removed woocommerce_before_variations_button @Ninos. Use
woocommerce_single_variation
2015-07-28 10:32:28 +01:00
Mike Jolley
9a7893ba23
Moved variation dropdowns logic into wc_dropdown_variation_attribute_options()
2015-07-27 16:42:22 +01:00
Manos Psychogyiopoulos
18a7c6b7fb
back-compat with text-based attributes: defaults don't work in WC2.4
2015-07-18 12:34:41 +03:00
Ninos Ego
147c589bda
Add hook e.g. for wgm
2015-07-10 16:37:52 +02:00
Mike Jolley
eaed944048
Tweak template logic to load variations when needed
2015-07-09 15:58:58 +01:00
Mike Jolley
65f19d5ca7
Ajax variation handling
...
If there are more variations than the threshold allows (set to 20
currently) this loads the matching variation via ajax instead of inline
in the HTML. #8477
2015-07-09 15:56:20 +01:00
Claudio Sanches
af3dfce73f
Escape tabs key and title, closes #8449
...
@mikejolley
2015-06-26 13:21:26 -03:00
Justin Shreve
5b7c51b5de
Wrap the quantity from $_POST in wc_stock_amount to cast it properly
2015-06-18 23:16:00 +00:00
Justin Shreve
eddec91b5a
If a quantity is set in the $_POST request, use that over the field default. This way, if a validation error occurs, the user's requested quantity stays the same.
2015-06-18 20:51:17 +00:00
Mike Jolley
89f7e15052
Save full version of text based attributes when dealing with variations
2015-06-11 14:43:02 +01:00
Claudio Sanches
b2a612dba2
[2.3] Revert some changes from a65616c
2015-05-29 12:27:38 -03:00
Mike Jolley
ffab4feb0c
Remove #reset anchor. Unused.
...
Closes #8134
2015-05-26 17:45:19 +01:00
Claudio Sanches
b06428a63a
Updated some templates versions to 2.4.0
2015-05-21 14:26:15 -03:00
Claudio Sanches
e559452c28
[2.3] Escape product titles, closes #8197
2015-05-21 14:20:37 -03:00
Mike Jolley
1a9336a4dc
[2.3] Remove email alt text from get_avatar
...
Closes #8152
2015-05-13 13:46:03 +01:00
Gabor Javorszky
72bb8fb553
New filter on grouped products' permalinks
...
Closes #8065
* adds new filter: 'woocommerce_grouped_product_list_link'
2015-04-29 03:07:47 +01:00
Gabor Javorszky
7de4d6ad49
Adds escaping to url and title in link for grouped product page
2015-04-29 03:00:01 +01:00
Mike Jolley
4997ed0efb
Cleaned up tabs JS and fixed conflicts with bootstrap
...
Fixes #8000
2015-04-23 12:24:15 +01:00
Claudio Sanches
b2eb52298e
Updated the template version for #7962
2015-04-15 10:39:14 -03:00
Nicola Mustone
c8f8ee33be
Action woocommerce_before_variations_form
...
Added action `woocommerce_before_variations_form` to hook before the variations dropdowns
2015-04-15 15:26:46 +02:00
Nicola Mustone
94fa49655f
using wc_date_format
2015-04-13 17:58:03 +02:00
Nicola Mustone
cf89d78b7d
removing localization
2015-04-13 17:56:41 +02:00
James Koster
5b1411c771
gallery img title/caption. closes #7857
2015-04-02 18:55:12 +01:00
Almaz Mannanov
169f4cefe6
Remove dots after SKU, Categories and Tags
...
Some people think that the dots should not be there. If we want to keep them we can include them to localization file.
2015-03-22 13:02:53 +03:00
Mike Jolley
08e6f5acfb
Skip hidden grouped products
...
Closes #7711
2015-03-13 09:44:37 +00:00
James Koster
0973dec1e3
lightbox uses image title / caption correctly.
2015-03-02 12:15:10 +00:00
Mike Jolley
a786fba802
Min and max for grouped products Closes #7577
2015-03-02 12:11:57 +00:00
Mike Jolley
560a6bec87
Correct review itemprop Closes #7587
2015-03-02 10:34:23 +00:00
Tamara Zuk
7eaae2d561
Fix average product rating when ratings are not required
...
If ratings are not required, the total rating count was counting all
reviews which skewed the average rating. In other words, reviews with
no rating were counted as a “zero” rating in the average rating
calculation. This bug was introduced in
83a457b29c
which provided a fix for #6839 .
This change introduces a new product method `get_review_count()` which
can be used to accurately calculate the total number of reviews for a
product. Some instances of `get_rating_count()` were replaced with
`get_review_count()` where appropriate. Additionally, the
`single-product/rating.php` template was adjusted to display the
correct number of customer reviews and ratings in rich snippets. I’ve
also included the `bestRating` rich snippet detailed
[here](http://schema.org/AggregateRating ). The version number was
adjusted to 2.3.2 on that template as I think this is a larger change.
2015-02-11 17:55:16 -05:00
Claudio Sanches
55258fc426
Fixed variable fields on frontend, closes #6868
2014-12-22 13:29:13 -02:00