Commit Graph

1851 Commits

Author SHA1 Message Date
Chase Wiseman c7df19f3ab Return the "no payment methods" message to the Add Payment Method page 2017-11-01 10:13:26 -07:00
Chase Wiseman 5c57be18b0 Conditionally display the Add Payment Method button if there are available gateways 2017-11-01 10:13:01 -07: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 d08548c3a9 Version 2017-10-27 18:49:48 +01:00
Mike Jolley ba3d959e66 Merge branch 'master' into pr/17183 2017-10-27 18:49:27 +01:00
Mike Jolley 349e37399f Merge branch 'pr/17315' 2017-10-27 16:42:32 +01:00
Mike Jolley 3c3173b2f8 Rename actions and handle deprecation 2017-10-27 16:42:19 +01:00
Mike Jolley 8695d46637 Merge branch 'pr/17041' 2017-10-27 15:35:43 +01:00
Mike Jolley bfebd204ee Code standards and better action names 2017-10-27 15:35:34 +01:00
Mike Jolley 9d7960a6ce Wrap table in div with margin
Closes #17362
2017-10-26 14:52:40 +01:00
Justin Sternberg 0748c6b090 Update template file version to 3.3.0 2017-10-24 13:34:30 -04:00
Mike Jolley 3340d5c7cc Add form action
Closes #17280
2017-10-20 16:12:56 -07:00
Mike Jolley 164f77add4 phpcs 2017-10-20 16:06:02 -07:00
Justin Sternberg fe28187bc5 Add order-details `before` hooks to complement existing hooks.
Includes:

* `woocommerce_order_details_before_order_table` to complement `woocommerce_order_details_after_order_table`
* `woocommerce_order_items_table_before` to complement the unfortunately-named `woocommerce_order_items_table`
2017-10-20 13:26:52 -04:00
Truong Giang 5f43592689 Correct indentation 2017-10-17 22:16:50 +07:00
Claudio Sanches 73e5d3c7de Merge pull request #17153 from woocommerce/fix/17140
Use base text color for links in emails
2017-10-16 22:48:58 -07:00
Mike Jolley 7419168e65 More cleanup and new fallback option for addresses 2017-10-16 08:12:07 -07:00
Gareth McCumskey adcf83441b Re-adjusted all other style changes to better match back to project style requirements 2017-10-16 09:16:43 +02:00
Mike Jolley c2c213fe05 Include date in customer emails again 2017-10-13 15:09:21 +01:00
Gareth McCumskey 96032fc771 Adjusted the formatting to better match the if's and endif's 2017-10-13 08:47:48 +02:00
claudiulodro 660d663149 Revert order detail header behavior 2017-10-12 10:58:04 -07:00
claudiulodro 8acba76696 Add email to email address template 2017-10-12 08:07:10 -07:00
Mike Jolley 819951815e Use base text color for links in emails 2017-10-12 12:27:15 +01: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 ce11605287 Classname was using total instead of email 2017-10-09 11:37:00 +01:00
Filipe Seabra 0dad12537b Version was bumped 2017-10-04 12:54:00 -03:00
Filipe Seabra 872fed68dc Added to new actions in content-widget-product.php so plugins can easily and specifacally do sth within product widgets. There's no issue/reference, sorry. 2017-10-03 17:52:36 -03:00
Claudio Sanches bd13b066c8 Fixed coding standards 2017-10-02 14:13:15 -03:00
nishitlangaliya 65464d3a02 Tab to intent, space to align the => and localization done #16966 2017-10-02 22:29:00 +05:30
nishitlangaliya 40e88afd62 indenting code, and necessary changes done ref #16966 2017-10-01 13:52:02 +05:30
nishitlangaliya eb73972afa As per suggestions required changes done ref #16966 2017-09-29 10:38:14 +05:30
nishitlangaliya a30819092c aria-labelledby added to quantity field ref #16966 2017-09-29 01:52:48 +05:30
Claudio Sanches 966dd0d3be Merge pull request #16939 from woocommerce/update/16909
Added screen reader text to quantity input template
2017-09-26 10:40:23 -03:00
Mike Jolley 3a17d48af2 Added screen reader text to quantity input template
Closes #16909
2017-09-26 12:05:09 +01:00
Jim f30b0573c9 Bump template version single-product-reviews.php 2017-09-25 16:01:54 +02:00
claudiulodro 02e33b3cd7 Update template version 2017-09-21 09:05:04 -07:00
Mike Jolley c91cd01379 remove spam field
Closes #16862
2017-09-20 11:51:33 +01:00
Mike Jolley d0d73f55a8 Add target blank
Closes #16832
2017-09-15 16:48:25 -07:00
Manos Psychogyiopoulos d42fc93be7 Resolve undefined product notice in email-order-items.php 2017-09-11 13:45:00 +03:00
claudiulodro b083b3608d Bump template version 2017-09-08 09:41:46 -07:00
Mike Jolley a7b2ae8661 Update shipping code to see if full address has been entered before showing no shipping notice
Fixes #16757
2017-09-08 14:54:15 +01:00
Boro Sitnikovski 99642215aa Fix email notice missing variable 2017-09-06 09:25:02 +02:00
Mike Jolley 645fb01aa8 Correct colspan
Closes #16698
2017-09-04 18:14:40 +01:00
Boro Sitnikovski fef2aabadd Use order->get_id instead of undefined order_id 2017-08-31 16:25:35 +02:00
Ralf Wiechers 2fb700723f Sanitize the whole class name
Data should be sanitized in whole not in part. Therefore the class prefix should be inside the function call.
2017-08-29 12:32:32 +02:00
Bing-Sheng Chen 3042d7a19c Fix "Undefined index: callback" notice 2017-08-29 16:29:39 +08:00
Claudio Sanches a7b402b035 Removed extra end of lines 2017-08-10 13:08:30 -03:00
Mike Jolley 30a85e9f8d Merge branch 'pr/16036' 2017-08-09 10:11:20 +01:00
Mike Jolley c1544e443a Version and escape 2017-08-09 10:11:07 +01:00
Mike Jolley a97d3470db Merge branch 'master' into pr/16164
# Conflicts:
#	includes/class-wc-cache-helper.php
2017-08-08 13:12:37 +01:00
Mike Jolley 73eb086696 Merge branch 'pr/16165' 2017-08-08 13:10:16 +01:00
Mike Jolley 2f6aaa85bb Avoid using meta directly 2017-08-08 13:04:27 +01:00
Mike Jolley dc1c8843a1 Correct escaping 2017-08-07 12:39:08 +01:00
Jesse Ostrander e07dae3005 Fix typo in the global form-login.php 2017-08-06 12:40:54 -04:00
Jesse Ostrander 393abc9619 Fix typo in login-form.php template.
Woocomerce -> woocommerce
2017-08-06 12:16:46 -04:00
Mike Jolley 2b9c8677eb Passing by reference breaks global functions in grouped template
Fixes #16236
2017-08-01 08:44:16 +02:00
Daniel Rey Lopez e441205811 Fixes incorrect "name" property of the State <select> in the Shopping Cart page. 2017-07-26 11:01:17 +01:00
Mike Jolley 889a3cfdd5 Merge pull request #16111 from woocommerce/fix/15986
Improve tracking page validation
2017-07-25 21:04:16 +01:00
Mike Jolley 15c4910014 Fix notices 2017-07-25 21:03:37 +01:00
Paul Wilde b64d855d96 Introduce `wc_get_account_formatted_address` function which removes a bunch of logic outside of the my-account template file. 2017-07-18 15:18:53 +01:00
Paul Wilde 60bbb41be8 Introduce `wc_get_account_orders_actions` function to reduce the amount of logic inside the account orders template files. 2017-07-18 15:03:26 +01:00
terence1990 f93413920b Changed template name to receipt 2017-07-15 17:41:34 +01:00
Mike Jolley ac4d2db43a Improve tracking page validation
Ensures error messages are vague but reflect the posted data.

Closes #15986
2017-07-13 14:50:30 +01:00
Mike Jolley 7c321a2269 Ajaxify widget remove from cart button
Fixes #13171
2017-07-13 12:15:13 +01:00
Mike Jolley e04ef935a9 Merge branch 'master' into update/15563
# Conflicts:
#	templates/myaccount/my-downloads.php
#	templates/order/order-details.php
2017-07-11 16:13:04 +01:00
Mike Jolley ce94a1f921 Plain 2017-07-11 16:08:06 +01:00
Mike Jolley 94b32e644a HTML emails 2017-07-11 14:52:30 +01:00
Mike Jolley 3939f50ced Download display in account/checkout 2017-07-11 13:45:35 +01:00
Mike Jolley fb784930f6 Ensure a valid order is found in order-details.php template
Closes #16049
2017-07-11 11:10:40 +01:00
Terence O'Donoghue 8f6dc9588c Fixed reference to deprecated WC_Order properties 2017-07-11 09:57:56 +01:00
Terence O'Donoghue c5a75a5442 Use ::get_payment_method_title 2017-07-11 09:51:11 +01:00
Claudio Sanches a7582d50da Merge pull request #16050 from woocommerce/update/15985
Use select2 in cart
2017-07-10 15:40:56 -03:00
Mike Jolley 555f093ac3 Use select2 in cart
Fixes #15985
2017-07-10 13:14:27 +01:00
nishitlangaliya 1e8e41ffb6 Schema data out of date in review-meta removed ref #16018 2017-07-08 12:13:38 +05:30
Claudio Sanches 311e28d502 Merge pull request #15941 from urosmil/master
Filter in order details
2017-07-04 16:29:42 -03:00
Mike Jolley 671f052641 Tweak terms template to check the woocommerce_shortcode is not present in the content. 2017-07-04 14:03:08 +01:00
urosmil c563f1a6b9 Filter in order details
Added filter to order items so custom products from custom classes can be listed
2017-07-03 14:41:01 +02:00
andrebalza b41b2ebb82 Issue #15860 - Override instructions corrected 2017-06-29 12:26:28 +03:00
Caleb Burks 9d68638f48 Update some template comments 2017-06-27 23:04:09 -05:00
Mike Jolley b6929a8abb Template version bumps 2017-06-20 15:49:02 +01:00
Mike Jolley ccad987bac Allow state field to have the correct country set by passing it through
Fixes #15632
2017-06-16 11:45:53 +01:00
Mike Jolley 636ad8b652 Add a nonce and confirmation for logging out via the customer my account page 2017-06-12 14:02:29 +01:00
Mike Jolley 396c8aa4fc Fix comment
Closes #15560
2017-06-12 11:39:22 +01:00
Claudio Sanches 527fa0d07a Fixe CHMOD 2017-06-05 14:45:30 -03:00
Mike Jolley d39d882a4e use make clickable for urls
#15305
2017-06-01 15:29:17 +01:00
Mike Jolley 50dc533ebb Template bump 2017-05-30 11:03:51 +01:00
Mike Jolley 38bcdcfb28 Use get_max_purchase_quantityin cart template and fix logic
Closes #15329
2017-05-30 11:02:56 +01:00
Mike Jolley b140f61510 Merge branch 'master' into fix/14578
# Conflicts:
#	assets/js/frontend/single-product.min.js
2017-05-23 15:09:20 +01: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
Claudio Sanches c0e71a2238 Merge pull request #14797 from woocommerce/fix/14426-1
Standardize rating HTML in all templates
2017-05-05 17:47:28 -03:00
Rodrigo Primo 20b2ea58bd Remove extra unnecessary space 2017-05-03 14:06:18 -03:00
Gabor Javorszky 248ff51bea use yoda condition all incarnations of filter do
Fixes #14829
2017-05-02 11:43:06 +01:00
Claudio Sanches 5826a9bce0 Display total of customer reviews and applied to rating template 2017-04-28 19:56:05 -03:00
Claudio Sanches 915a4c7f59 Applied wc_get_rating_html() to review rating template 2017-04-28 19:33:39 -03:00
Mike Jolley e143a51cc7 Merge pull request #14463 from woocommerce/add/show-shipping-calculator-variable
Add variable so shipping calculator is shown on first row
2017-04-27 17:41:48 +01:00
Mike Jolley c247909e78 Merge branch 'pr/14375' 2017-04-27 17:32:47 +01:00
Mike Jolley cd4e23a864 Use correct classnames and tidy 2017-04-27 17:32:36 +01:00
Mike Jolley aacb01d1e7 Merge branch 'pr/13503'
# Conflicts:
#	assets/css/twenty-seventeen.css
#	assets/css/woocommerce-layout.css
#	assets/css/woocommerce-layout.scss
#	assets/css/woocommerce.css
2017-04-27 12:46:05 +01:00
Mike Jolley 5f63f81b72 Merge branch 'add/inline-terms'
# Conflicts:
#	assets/js/frontend/single-product.min.js
2017-04-27 12:37:46 +01:00
Mike Jolley 115da407c0 Correct notice 2017-04-27 12:34:20 +01:00
Mike Jolley d546613c25 Merge branch 'pr/14394'
# Conflicts:
#	assets/js/frontend/single-product.min.js
2017-04-27 11:53:08 +01:00
Mike Jolley 13a610d1d8 Merge branch 'pr/14612' 2017-04-26 13:26:26 +01:00
Mike Jolley 13bc235020 Bump template version and move to correct function files. 2017-04-26 13:25:14 +01:00
Mike Jolley 1e6d52a3bd Add a data-caption for captions and keep title around.
Fixes #14578
2017-04-25 14:31:24 +01:00
Claudio Sanches 1314b6845e Merge pull request #14432 from emgk/fix-14428
added new filter for product thumbnail size.
2017-04-24 21:05:27 -03:00
mdrahul c6bc8f7836 Fix Cart Empty message, ref #14519 2017-04-22 11:09:17 +05:30
Theme.al 79d3291ba5 Hook comments for each action on template files
As i'm working with my theme i have found difficult to keep track of all actions and hooks, i think all actions should be commented with their respective hooks like you have already done on archive-product.php
2017-04-20 09:48:36 +02:00
Mike Jolley cffe326e0e Add variable so shipping calculator is shown on first row
Ref: #14461
2017-04-17 16:35:33 +01:00
Mike Jolley df57e73eae use div for comment-form-rating to prevent bad nested markup due to star ratings
Fixes #14434
2017-04-17 12:23:43 +01:00
Govind Kumar fef8b8365b changed thumbnail image filter name 2017-04-17 15:43:17 +05:30
Govind Kumar d8f7deb92c added new filter for product thumbnail size. 2017-04-17 11:30:26 +05:30
refael iliaguyev 14806a4a6f Bump version for variable.php 2017-04-15 20:23:27 +03:00
AJ Clarke 3b09dc5793 Undo edits 2017-04-14 17:39:00 -07:00
AJ Clarke 3731d629f5 Undo product gallery mods 2017-04-14 17:37:54 -07:00
AJ Clarke e037635f18 Prevents duplicate thumbnail when featured image is added to the product gallery 2017-04-14 09:52:13 -07:00
Theme.al 969b0f4ee2 Notices hook information
Notices are hooked here on product archive pages but still im not sure if this is the right place. They should be above the page title probably in their own action like they are on the content-single-product.php template
2017-04-14 11:37:32 +02:00
Theme.al 52d56bed41 Update mini-cart.php
empty cart message should be outside of the cart UL list as of course its not a HTML list.
2017-04-14 11:01:18 +02:00
Claudio Sanches 3618cfa672 Bump cart/cart.php template version 2017-04-13 13:52:41 -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
Claudio Sanches 00f01af0bd Merge pull request #14346 from rwilliam/patch-1
Group Child porduct link visiblity isuues - Update grouped.php
2017-04-13 12:31:58 -03:00
Claudio Sanches f2dc15d09b Merge pull request #14339 from rellect/cart_escape_attr
Escape attributes in cart.php
2017-04-13 12:20:56 -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
Refael Iliaguyev ec47a7b35f Escape attributes 2017-04-13 10:39:21 +03:00
Claudio Sanches d04e1f42ea Merge pull request #14251 from woocommerce/fix/gallery-titles
Fix caption on thumbnails as well as main image
2017-04-11 17:33:04 -03:00
Mike Jolley 2d973503ee Merge pull request #14204 from rafsuntaskin/version-bump
Version bump on templates that were updated on milestone 2.7 and 3.0
2017-04-11 19:34:39 +01:00
Mike Jolley 34f2c66333 Merge pull request #14237 from dixitadusara/update-issue-14178
Updated templates/checkout/form-shipping.php template version
2017-04-11 12:54:57 +01:00
Mike Jolley 98b21b6be7 Fix caption on thumbnails as well as main image 2017-04-11 12:08:04 +01:00
Mike Jolley 4f2a46e83a Merge pull request #14223 from woocommerce/fix/14218
Gallery images should show caption not description
2017-04-11 10:31:04 +01:00
dixitadusara f5d40ce16d updated templates/checkout/form-shipping.php template version ref #14178 2017-04-11 10:43:03 +05:30
Mike Jolley d89567f0e6 Gallery images should show caption not description
Fixes #14218
2017-04-10 22:38:16 +01:00
rafsuntaskin d2287521df several other templates version bump those have labels milestone 2.7 and 3.0 2017-04-10 21:34:35 +06:00
rafsuntaskin 41f20d84da view-order.php version bump, resolves #14183 2017-04-10 21:14:42 +06:00
dixitadusara 3f6d851500 form-shipping.php template has not updated the version number ref #14178 2017-04-10 14:25:55 +05:30
refael iliaguyev 6b0ea403f3 fix #14133 2017-04-08 15:18:54 +03:00
Claudio Sanches 9c61914a14 Merge pull request #14116 from woocommerce/fix/14114
Prevent notice in thumbnails html
2017-04-07 13:30:20 -03:00
Mike Jolley 2638f61a86 Prevent notice in thumbnails html
Fixes #14114
2017-04-07 17:05:28 +01:00
refael iliaguyev 3e0daa8215 Bump template versions for changes 2017-04-07 14:22:52 +03:00
Claudio Sanches 567a551d83 Fixed shortcode render for variations and backwards compatibility
Fixes #13949
2017-04-06 13:00:02 -03:00
Claudio Sanches f2fa4f127d Added context to string in result-count.php to make GlotPress catch
Missing this string on GlotPress, since the first part is equal from the
previous translatable string.
2017-04-06 11:07:48 -03:00
Claudio Sanches 3ce04d2bee Merge pull request #14024 from dixitadusara/issue-14016
fixes issue-14016
2017-04-06 10:42:33 -03:00
Claudio Sanches 49ce6bdda5 Merge pull request #14022 from dixitadusara/issue-14015
fixes issue-14015
2017-04-06 10:41:13 -03:00
Claudio Sanches 954c45d01c Merge pull request #14021 from dixitadusara/issue-14020
fixes added issue-14020
2017-04-06 10:40:58 -03:00
dixitadusara a0843e8bb9 fixes issue-14016 2017-04-06 16:26:21 +05:30
dixitadusara 205a9b6c24 fixes issue-14015 2017-04-06 15:52:34 +05:30
dixitadusara fe87815d8d fixes added issue-14020 2017-04-06 15:44:22 +05:30