Commit Graph

306 Commits

Author SHA1 Message Date
Claudio Sanches 68b864313a Fixed conflicts 2016-10-13 16:58:20 -03:00
James Koster 3823b78318 Add/product galleries (#11665)
* register prettyPhoto but don't enqueue. #10721

* Remove lightbox option. #10721

Also registers the prettyPhoto styles instead of enqueueing

* Stip all prettyPhoto related stuff from the templates and tidy up some logic. #10721

* Add flexslider assets #10721

* styling and re-adds `woocommerce_single_product_image_thumbnail_html`. #10721.

* Add zoom functionality. #10721

* Move js to single-product.js. #10721

* styling of the gallery thumbnails when using the `product_page` shortcode. #10721

* Only enable the zoom if the image is large enough. #10721

* Use a 4 column layout by default. #10721

* Make the carousel options filterable. #10721

* rtl styles for gallery. #10721

* Don't zoom on handheld devices. #10721

* markup tweaks in prep for photoswipe

* disable zoom for now

* Add and enqueue photoswipe assets

* add the photoswipe template

* initialise photoswipe - it's alive!

* tidy up js. add title. add separate trigger. #10721

* Move photoswipe functions to single-product.js. #10721

* reactivate the zoom! #10721

* style the photoswipe trigger. #10721

* disable flexslider animation loop. #10721

* js tidy up. #10721

* Fix jshint

* Abstract the product gallery scripts

* Minify

* Fixed conflict with the admin bar

* Photoswipe conflict with admin bar

* Index. #10721

* photoswipe button styles. #10721

* Styling. #10721

* No animation on zoom
* Image width on mobile

* No shadows please. #10721

Looking at you, Twenty Twelve.

* code tidy and add class to placeholder figure. #10721

* simplify rtl query

* photoswipe button styles

* Comma should not be here

* zoom icon #10721

* gallery thumb styles. #10721

* trigger icon. #10721

* Image margins. #10721

* icon hover states. #10721

* Variation handling

* Fix zoom and heights

* Resize after timeout
2016-10-13 15:25:42 +01:00
Mike Jolley 705dc18991 Merge branch 'pr/12064' 2016-10-12 11:54:40 +01:00
Mike Jolley a42d021807 We can still include empty meta here - change not needed 2016-10-12 11:54:34 +01:00
Claudio Sanches 657c312cae Fix strings case (#12069)
* Fixed case for all _e, esc_attr_e and esc_html_e strings

* Fixed case for all _n_noop strings

* Fixed case for all _x strings

* Fixed case for all __, esc_html__ and esc_attr__ strings

* Fixed a few more strings

* Fixed strings in unit tests

* Fix PayPal Standard case.

* Save Order text
2016-10-12 11:16:30 +01:00
Lucas Stark 3e11e168cd Only display price meta when price is not empty 2016-10-11 09:15:45 -04:00
Rami Yushuvaev 83e938af1e i18n: Merge similar translation strings to reduce the total strings count #11905 2016-10-11 04:39:13 +03:00
opportus 8123ba6184 improved structured data - merge conflict fix 2016-09-14 22:15:49 +02:00
Aristeides Stathopoulos 9668247b95 WordPress.PHP.YodaConditions.NotYoda 2016-09-09 03:14:28 +03:00
Aristeides Stathopoulos 8fe4cd65a4 PEAR.Functions.FunctionCallSignature.SpaceBeforeOpenBracket 2016-09-02 04:12:22 +03:00
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