Commit Graph

1790 Commits

Author SHA1 Message Date
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
Mike Jolley 41553930cd Template version bump
Closes #13988
2017-04-06 09:59:24 +01:00
Claudio Sanches f250cac8d1 Merge pull request #13967 from woocommerce/fix/13933
Use parent settings for determining if variations are sold individually.
2017-04-05 15:33:17 -03:00
Claudiu Lodromanean 5389844a1b Use parent data for sold_individually 2017-04-05 11:02:26 -07:00
Md. Kowsar Hossain 2bbf5ed42f version number updated in up-sells template 2017-04-05 18:26:23 +06:00
Mike Jolley 71ce5b85bc Merge pull request #13884 from woocommerce/fix-13875-13877
Private and variable product fixes
2017-04-03 19:16:35 +01:00
Manos Psychogyiopoulos d4c58588fd Fix unnecessary margin in #13879 2017-04-03 15:03:32 +03: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 bec1f9b113 Use `small` 2017-04-03 11:50:02 +03:00
Manos Psychogyiopoulos 196c317ab1 Fix order item meta e-mails style 2017-04-03 11:37:51 +03:00
Mike Jolley 62bd505bda CSS transition 2017-03-31 15:16:10 +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
Mike Jolley e8974f709d docblock
Closes #13740
2017-03-23 14:25:56 +00:00
terenceneedssurgery a86d4f62f3 Checkout: Order Pay to Template 2017-03-23 11:25:08 +00:00
Mike Jolley 47f363a463 data-src on all gallery images
#13710
2017-03-22 13:26:00 +00:00
Mike Jolley e2f1449553 Set data-src
Closes #13710
2017-03-22 12:51:27 +00:00
Claudio Sanches f1dab3fdce Fixed coding standards 2017-03-21 12:38:35 -03:00
refael iliaguyev e13ba40254 use variable for aligning 2017-03-20 22:26:20 +02:00
refael iliaguyev af55947f87 Revert "Drop repeated conditions for rtl aligning, use variable instead"
This reverts commit a894e7b241.
2017-03-20 22:21:44 +02:00
refael iliaguyev a894e7b241 Drop repeated conditions for rtl aligning, use variable instead 2017-03-20 20:53:16 +02:00
refael iliaguyev 6aed418b6f replace hard coded aligning with rtl conditions 2017-03-19 22:23:18 +02:00
Mike Jolley 476041698f tabs 2017-03-17 11:27:23 +00:00
Krzysztof Grabania b1af09c550 Hide Customer details section in email if $fields are empty 2017-03-16 14:02:19 +01:00
Claudio Sanches 59c2849736 Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
Mike Jolley d55653a408 Merge branch 'master' into fix-13498
# Conflicts:
#	includes/class-wc-order.php
#	tests/unit-tests/crud/data.php
2017-03-15 15:52:40 +00:00
Mike Jolley 448954b9ad Merge pull request #13592 from woocommerce/13572-prototype-pattern
Reusable galleries
2017-03-14 18:26:22 +00:00
Mike Jolley 1a2989376d Revert "Remove clear divs from address forms"
This reverts commit 4f8030aafb.
2017-03-14 17:32:04 +00:00
Mike Jolley 1b8e4612ee Load markup for photoswipe so shortcodes can use it 2017-03-14 16:32:59 +00:00
Manos Psychogyiopoulos 20d2c8b269 merge branch 'master' into multiple-and-dynamic-galleries 2017-03-14 15:31:01 +02:00
Mike Jolley 4f8030aafb Remove clear divs from address forms
#13583
2017-03-14 11:19:59 +00:00
Manos Psychogyiopoulos 9181f1c151 allow init with args 2017-03-14 12:55:25 +02:00
James Koster 53b7844412 Replace figure tags with divs. closes #13546
For easier theme support
2017-03-14 10:42:21 +00:00
Claudio Sanches ad1073c212 Merge pull request #13575 from woocommerce/fix-13573
Only show thumbs if there is a main post thumbnail
2017-03-13 16:25:48 -03:00
Mike Jolley ee0896a7ec Only show thumbs if there is a main post thumbnail 2017-03-13 18:04:43 +00:00
Mike Jolley 7fd4005475 Wrap hidden input in div
Closes #13541
2017-03-13 17:56:25 +00:00
Rami Yushuvaev d2457fe922 i18n: escape translation strings and fix wrong usage of i18n functions 2017-03-13 07:39:46 +02:00
Mike Jolley 8ab839a030 Replace template usage of dates 2017-03-10 16:35:47 +00:00
Aristeides Stathopoulos 10ffc92a73 Inline control structures are not allowed 2017-03-07 22:24:24 +02:00
Claudio Sanches 88f32a782e Fixed download file in downloads.php template 2017-03-06 19:45:13 -03:00
Mike Jolley 31b10d861e Add wrappers around sortable checkout fields
Fixes #13432
Fixes #13434
2017-03-02 15:08:02 +00:00
Mike Jolley f7fe5812d0 Revert "Wrap order notes field"
This reverts commit 8500beb56d.
2017-03-02 14:42:08 +00:00
Mike Jolley 8500beb56d Wrap order notes field
Fixes #13432
2017-03-02 14:23:17 +00:00
Mike Jolley d390aca2d5 Incorrect nesting of account fields 2017-02-28 09:26:59 +00:00
mik-laj 0c0676fb68 Add language attributes to e-mail header 2017-02-26 04:31:45 +01:00
Mike Jolley dc30c264c9 Move account wrapper to prevent field reordering
Fixes #13301
2017-02-23 11:35:03 +00:00
Claudio Sanches 486a81bf12 Fixed coding standards 2017-02-17 16:10:15 -02:00
Mike Jolley 89be42e5a3 woocommerce_before_add_to_cart_quantity and after actions 2017-02-17 15:53:28 +00:00
Mike Jolley 81bad72c78 When showing sold individually item in grouped template, use checkbox 2017-02-17 15:53:15 +00:00
Mike Jolley 846e1ca25c If max and min value are identical, don't show qty input 2017-02-17 15:51:59 +00:00
Mike Jolley 4271352502 Escaping dates and statuses 2017-02-16 15:59:28 +00:00
Mike Jolley b81e56b597 Escape $args['list_class'] 2017-02-10 11:23:47 +00:00
Mike Jolley 234b4cfa91 Merge pull request #13009 from woocommerce/gallery-tweaks
Gallery tweaks
2017-02-09 12:34:23 +00:00
Mike Jolley 9c523d2bc1 Merge branch 'pr/12937'
# Conflicts:
#	templates/single-product/product-image.php
2017-01-27 16:52:46 +00:00
Mike Jolley 9bc5eefc98 Use array for class filter 2017-01-27 16:52:23 +00:00
Mike Jolley db77ad96e1 Add image links to template files 2017-01-27 15:35:20 +00:00
Mike Jolley d2f4859f18 Merge branch 'pr/12938' 2017-01-26 14:50:49 +00:00
Mike Jolley e99d8c9ef6 Name filter woocommerce_single_product_image_thumbnail_html 2017-01-26 14:50:40 +00:00
Maximus80 be3a77be32 add column data attr to the single product image gallery wrapper 2017-01-23 14:27:25 +01:00
Maximus80 afc3d3a26a add filter for single product image gallery wrapper classes 2017-01-23 14:25:31 +01:00
Maximus80 5dca57f239 add filter for the additional single product image gallery thumbnails 2017-01-23 14:25:05 +01:00
Claudiu Lodromanean 20da494eb6 Nope I was right before. Dont commit before coffee. 2017-01-20 06:56:09 -08:00
Claudiu Lodromanean a04ccb1941 12518 Missed an esc_html 2017-01-20 06:54:50 -08:00