Aristeides Stathopoulos
82f3cc221e
WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis
2016-08-27 07:23:02 +03:00
Aristeides Stathopoulos
478a914494
WordPress.Arrays.ArrayDeclaration.SpaceInEmptyArray
2016-08-27 05:48:53 +03:00
Aristeides Stathopoulos
ec8a0b288b
PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast
2016-08-27 05:08:49 +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
Claudio Sanches
d3e732322e
Fixed indentation for #11583
2016-08-19 19:37:03 -03:00
opportus
363ec85c91
improved structured data - some code optimization
2016-08-18 20:37:34 +02:00
opportus
c04cfa9d15
seo tweaks - adds to loop product and loop category headings a specific css class
2016-08-16 12:34:38 +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
cfc31dd311
wc_prevent_adjacent_posts_rel_link_wp_head
...
Closes #11683
2016-08-12 11:03:28 +01:00
opportus
1e52d903f0
improved structured data - class refactor - revision3
2016-08-12 01:29:35 +02:00
opportus
39dce5a450
improved structured data - tabulation fix
2016-08-11 11:17:14 +02:00
opportus
93088f45ac
improved structured data - merge conflict fix
2016-08-11 00:49:20 +02:00
Mike Jolley
efd390e951
Merge pull request #11645 from woothemes/orders-crud-function-update
...
Orders crud functions
2016-08-10 12:19:38 +01:00
Mike Jolley
51f3efd5c4
Don't need both cases
2016-08-10 10:36:51 +01:00
Gregory Karpinsky
b08d0bc1d2
woocommerce_taxonomy_archive_description
...
Check for `is_product_taxonomy()` to show the description on the product attribute archives.
2016-08-09 16:22:50 -04:00
Mike Jolley
39eb584321
Merge branch 'master' into orders-crud-function-update
2016-08-08 17:24:40 +01:00
Mike Jolley
30742798ed
Order table
2016-08-08 16:31:06 +01:00
Mike Jolley
87443763d8
Hook in the no products found template
...
Closes #11257
cc @jameskoster
2016-08-08 13:43:42 +01:00
opportus
79ef06b6ad
improved structured data - added div into short description template
2016-08-06 00:49:31 +02:00
Mike Jolley
1c592b3872
Merge pull request #11208 from woothemes/orders-crud-classes
...
Orders crud classes
2016-08-05 15:44:15 +01:00
Mike Jolley
644cf79866
Move all query string vars to form in price widget using wc_query_string_form_fields
...
Closes #11593
@claudiosmweb @justinshreve look fine to you?
2016-08-04 13:37:39 +01:00
Mike Jolley
75895f71f9
made comparison strict
...
#11326
2016-08-04 13:09:21 +01:00
Mike Jolley
c416a6d2d1
Merge pull request #11622 from WPprodigy/fix-responsive-category-images
...
Add responsive image markup for category thumbnails
2016-08-04 11:19:40 +01:00
Caleb Burks
a32f65df60
Formatting fix
2016-08-04 03:28:03 -04:00
Caleb Burks
abc954dc83
Add responsive image markup to category thumbnails
2016-08-04 03:16:58 -04:00
Mike Jolley
5a9dacd595
Show variable weights/dimensions even when parent values are not set.
2016-08-03 16:07:34 +01:00
Mike Jolley
837e08143b
Merge branch 'master' into orders-crud-classes
...
# Conflicts:
# includes/abstracts/abstract-wc-order.php
2016-08-03 12:32:27 +01:00
Mike Jolley
b61d9cd5f1
Add index to search form IDs
...
Fixes #11557
2016-08-02 17:43:23 +01:00
Mike Jolley
22133a92db
Avoid redirect if cart/checkout are the same
2016-08-01 16:19:41 +01:00
Mike Jolley
ecf9f500d8
Merge pull request #11541 from woothemes/form-fields-11326
...
Query string -> form field helper function
2016-08-01 11:55:58 +01:00
Mike Jolley
a2c7f2bf83
feedback
2016-08-01 11:55:45 +01:00
opportus
b899a8991d
seo tweaks
2016-07-29 20:42:33 +02:00
Mike Jolley
4a23c41ab2
Hook in woocommerce_widget_shopping_cart_buttons for greater flexibility
2016-07-28 15:06:55 +01:00
Mike Jolley
a5d036d91c
New function to generate query strings
2016-07-27 14:10:31 +01:00
opportus
0c5b11802b
improved structured data - patch9 - merge conflict fix
2016-07-27 13:28:20 +02:00
opportus
11ff1d535a
improved structured data - patch8
2016-07-24 23:46:30 +02:00
Oliver Juhas
aa00f5a2e5
Don't display the archive description on search results page
...
There is really no need to display the product archive description (the Shop page content) on product search results page.
2016-07-24 19:04:25 +02:00
opportus
913ddd6afc
improved structured data - patch5
2016-07-23 19:30:34 +02:00
opportus
d74a3408b3
improved structured data
2016-07-17 04:57:03 +02:00
Claudio Sanches
d7aea130b0
Fixed unformated reviews
...
cc @mikejolley
2016-07-14 13:52:04 +02:00
Claudio Sanches
7d9d091767
Fixed mixed tabs and spaces
2016-07-11 16:56:35 +02:00
Mike Jolley
930cc3fbd3
Use notice type
...
Closes #11307
2016-06-30 12:10:27 +01:00
Mike Jolley
b11794ceac
@Since changes
2016-06-29 12:58:38 +01:00
Fredrik Forsmo
755ede10a3
Set min and max value to empty string if not set
2016-06-29 13:13:11 +02:00
Mike Jolley
01a2acabdc
Should be empty check
...
#11283
2016-06-29 10:44:27 +01:00
Fredrik Forsmo
fd7b910afa
Add isset to `home` args to fix PHP Notice
...
Fixes #11282
2016-06-29 09:27:28 +02:00
Lorenzo
449b3a949d
Added $notice as second argument of "woocommerce_demo_store" filter
2016-06-28 16:26:26 +02:00
Mike Jolley
6898a79005
If the cart shortcode is used on checkout, hide the totals area
2016-06-27 11:42:50 +01:00
Mike Jolley
7b3a9b27ed
Function replacements for class methods
2016-06-21 20:26:35 +01:00
Mike Jolley
b188ad8250
Fix product feed when using shop base
2016-06-21 12:46:39 +01:00
Mike Jolley
0eaffe2ccd
woocommerce_redirect_single_search_result type check was incorrect.
2016-06-20 10:18:35 +01:00
Mike Jolley
3fd15ad50f
Unused vars and code docs
2016-06-06 18:57:24 +01:00
Mike Jolley
9abb1cebeb
woocommerce_account_content function controls account content
2016-06-06 12:04:53 +01:00
Mike Jolley
d0d3481091
Use get_comment_text to get output
2016-06-01 16:19:13 +01:00
Mike Jolley
b8d76baa99
Fix notice if term is not found
...
Fixes #11005
2016-05-31 11:17:28 +01:00
Antonino Scarfì
c8527468c5
Use hook to include navigation.php template
2016-05-30 15:16:26 +02:00
Claudio Sanches
e39274e753
HTTPS for everybody
2016-05-26 22:48:49 -03:00
Caleb Burks
3b3898d2a7
Use function argument as default filter value
...
Even though core never uses the $size argument in woocommerce_get_product_thumbnail(), it's probably best not to override it incase somebody is using the woocommerce_template_loop_product_thumbnail() function with the $size arg in the theme.
2016-05-24 18:55:43 -05:00
Caleb Burks
72a2c25536
Add single_product_archive_thumbnail_size filter
...
Add in a filter to allow for custom image sizes w/o needing to override the whole function.
2016-05-21 10:29:44 -05:00
Caleb Burks
fc2e611d1e
Rename filter in woocommerce_subcategory_thumbnail
...
The same filter is used here: fa30a38c58/templates/single-product/product-thumbnails.php (L51)
, but with a different default value.
2016-05-21 10:23:35 -05:00
Mike Jolley
fce8dc0868
Ensure alt text is set for product attachments
...
@claudiosmweb Fixes #10822
2016-05-03 16:41:51 +01:00
Claudio Sanches
7b6d5a8fd9
Fixed $has_orders on orders.php template, closes #10671
2016-04-11 16:03:09 -05:00
James Koster
2be24c3a33
tweak component name class
2016-03-15 13:44:59 +00:00
James Koster
362749acc9
add a class to the main product link
2016-03-15 13:41:33 +00:00
Mike Jolley
2e0f151039
Merge branch 'master' into wc-get-orders-10500
...
# Conflicts:
# includes/wc-order-functions.php
# includes/wc-template-functions.php
# templates/myaccount/my-orders.php
# templates/myaccount/orders.php
2016-03-09 16:23:01 +00:00
Mike Jolley
cc97de2315
Revert "Implement wc_get_orders() function"
...
This reverts commit 5075d4bab3
.
2016-03-09 16:16:22 +00:00
Mike Jolley
c1e8dd1fe8
Use wc_get_orders iternally
2016-03-09 16:11:05 +00:00
Mike Jolley
5075d4bab3
Implement wc_get_orders() function
...
#10500
2016-03-09 13:25:42 +00: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
723b4109d2
Add notice on empty cart when checking out
2016-03-07 10:31:01 +00:00
Claudio Sanches
3e955f6086
[2.5] Create new function to prevent endpoint indexing
2016-03-01 13:45:25 -03:00
Mike Jolley
e9ff396348
Only add when using intval for stock amounts
2016-02-26 14:36:53 +00:00
Mike Jolley
bd7072a8dc
Generate dynamic hook docs
...
Closes #10393
2016-02-22 14:41:14 +00:00
Justin Shreve
7fcbf08a9a
Prevent a notice by stopping a loop in woocommerce_products_will_display from stomping on other variables.
2016-02-18 12:20:22 -08:00
Claudio Sanches
2de00c61ff
Added account endpoint for customer payment methods
2016-02-16 13:57:46 -02:00
Claudio Sanches
d193caa987
Better pagination for account > orders
2016-02-16 13:50:06 -02:00
Claudio Sanches
02e3c6362d
Created my account > orders template
2016-02-16 13:50:06 -02:00
Claudio Sanches
6e319dfe8d
Allow custom endpoints for my account
2016-02-16 13:47:04 -02:00
Mike Jolley
58b185e7a6
Remove cat names from loops
2016-02-12 13:32:58 +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
f750d71409
Remove tags from post classes
2016-02-12 13:32:58 +00:00
Christian Schmidt
1cb50b9b53
Pass term object to get_term_link()
2016-02-06 02:00:28 +01:00
Mike Jolley
47a74f96cd
[2.5] Add context to category localisation
...
@claudiosmweb Closes #10183
2016-01-27 11:19:38 +00:00
Mike Jolley
3cfd4d7889
Merge pull request #10153 from helgatheviking/master
...
[2.5] pass $args to woocommerce_dropdown_variation_attribute_options_html hook
2016-01-25 11:07:38 +00:00
Kathy Darling
472e8d4618
pass $args to woocommerce_dropdown_variation_attribute_options_html hook
2016-01-23 15:03:47 -05:00
Claudio Sanches
b12f74a263
Merge pull request #9904 from jonkoops/autofill-checkout
...
Add autocomplete support to fields in checkout process
2016-01-21 20:10:31 -02:00
Mike Jolley
5afca45252
[2.5] Wrong function exists check.
...
Fixes #10100
2016-01-19 09:39:56 +00:00
Jon Koops
8f63668e16
Added autocomplete parameter to the woocommerce_form_field function
...
This makes it possible to add an autocomplete attribute to a variety of
WooCommerce form fields. Making it easier for plugin developers and
core developers to build forms with good autocomplete UX.
More information about the autocomplete attribute and it’s values see:
https://html.spec.whatwg.org/multipage/forms.html#autofill-field
2016-01-11 22:55:38 +01:00
Fredrik Forsmo
676525c2b7
Improve docblock comments in various functions
...
* Added missing param tags to functions
* Added comments to `wc_get_attachment_image_attributes` and
`wc_prepare_attachment_for_js`
* Fixed return type value for functions where it says bool but the code
returns array
* Renamed boolean to bool
2016-01-06 17:11:09 +01:00
Mike Jolley
0b6fdf5fe8
Use data-placeholder for selects since placeholder is not to W3C spec
...
Closes #9986
2016-01-06 12:20:06 +00:00
Kathy Darling
70778ad575
filter the variable product attribute dropdown html
2016-01-04 10:31:43 -05:00
Claudio Sanches
441530f54e
Do not espace maxlength and use the same html for password fields #9786
2015-12-07 21:53:39 -02:00
Claudio Sanches
26097b6e99
Escape attributes for #9786
2015-12-07 21:48:54 -02:00
Peter Elmered
44df7c1c34
Re-added password type attribute
2015-12-07 18:06:02 +01:00
Peter Elmered
d624196924
Added support for number field in woocommerce_form_field()
2015-12-07 17:28:10 +01:00
Peter Elmered
d18e5da09d
Removed unnecessary duplication in woocommerce_form_field()
2015-12-07 17:25:45 +01: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