Commit Graph

15665 Commits

Author SHA1 Message Date
Mike Jolley 4b3d06821e Update wording 2016-04-18 15:58:22 +01:00
Mike Jolley 53b867e03e Merge branch 'pr/10724' 2016-04-18 15:39:25 +01:00
Mike Jolley 6dc0fecaa0 CB should be first 2016-04-18 15:39:19 +01:00
Mike Jolley 586587b5ec Merge pull request #10719 from JeroenSormani/zones-output-tweak
Only ouput zones UI when in that section, don't default to it
2016-04-18 09:37:45 -05:00
Mike Jolley 826613db3c Grunt dev 2016-04-18 15:37:19 +01:00
Mike Jolley 7d7241ba68 Merge branch 'pr/10696'
# Conflicts:
#	assets/css/woocommerce.css
2016-04-18 15:36:03 +01:00
Mike Jolley 48fabea5b0 Pass product object to wc_attribute_label
Fixes #10692
2016-04-18 15:21:26 +01:00
EmilEriksen a9d7315048 Fix undefined index "cb" 2016-04-18 16:08:54 +02:00
Mike Jolley c5ccc65856 [API] Don't expand non-existant coupons
Fixes #10687
2016-04-18 14:57:06 +01:00
Mike Jolley 6ae2fea045 Allow default address to be empty.
Fixes #10664
2016-04-18 14:51:39 +01:00
Mike Jolley b1d32b3f8c Change error events for inline validation
Fixes #10691
2016-04-18 13:27:05 +01:00
Mike Jolley 70d334395d Shipping calculation in backend should be based on line items
Fixes #10718
2016-04-18 12:56:59 +01:00
Mike Jolley 8fe7f46855 Use order currency in JS
Fixes #10693
2016-04-18 12:36:29 +01:00
Mike Jolley 62e6c9dbfa Merge pull request #10722 from shivapoudel/select-option
Fix - Close option as its not the list-item
2016-04-18 06:08:13 -05:00
Mike Jolley 3fcc68e2f8 Replace http hrefs with https
Closes #10716
2016-04-18 11:58:12 +01:00
Mike Jolley dd99c7fb17 Redirect to product screen if referer is missing.
Fixes #10713
2016-04-18 11:48:57 +01:00
Shiva Poudel 31b5530c3e Its option not the list-item to close :P 2016-04-18 16:26:51 +05:45
Mike Jolley 3112c76939 Made postcode non required for ireland
Closes #10663
2016-04-18 11:41:24 +01:00
Mike Jolley a77735432b Use get_displayed_subtotal() to determine if conditions for coupons and free shipping is met.
@claudiosmweb

Closes #10711
2016-04-18 11:39:00 +01:00
bucketpress 6cca7029fc Make product tabs and ratings work when product page is loaded via ajax
.wc-tabs-wrapper, .woocommerce-tabs, #rating set as delegated events, so that on ajax loading a product page, we can call 
$( '.wc-tabs-wrapper, .woocommerce-tabs, #rating' ).trigger('init'); to make them work.
2016-04-18 18:08:42 +08:00
Mike Jolley 5ce2ab7cfa Allow a filter of products with no shipping class 2016-04-18 09:44:14 +01:00
JeroenSormani f53b59dbc4 Remove unneeded returns 2016-04-18 08:26:24 +02:00
JeroenSormani 88bcaa585c Only ouput zones UI when in that section, don't default to it 2016-04-18 08:23:37 +02:00
James Koster 04539d1ab3 button class names in account orders pagination 2016-04-17 18:16:13 +01:00
toddlahman 6003fb3303 ftruncate failed at times, so fopen() in w mode used instead. 2016-04-15 21:26:19 -07:00
Mike Jolley 65f2c24358 Handle tab-reviews click 2016-04-15 18:25:18 +01:00
Mike Jolley 2deb8ec0d6 Merge pull request #10695 from woothemes/fix/button-opacity
Buttons: Remove opacity on non-disabled buttons
2016-04-15 10:13:22 -05:00
Mike Jolley 1824b61355 Merge pull request #10677 from shivapoudel/wp-json-encode
Use of wp_json_encode since WC 2.6 requires at least WP 4.4+
2016-04-15 10:12:16 -05:00
Mike Jolley c2820f608a Merge pull request #10667 from Dev49net/master
Add fallback to company name if customer names are not specified
2016-04-15 10:07:29 -05:00
Mike Jolley 1c21505b0b Make shop page display wording more clear
Closes #10699
2016-04-15 15:57:06 +01:00
Mike Jolley 3aa07c08e3 woocommerce_cart_item_permalink filter
Closes #10690
2016-04-15 15:44:52 +01:00
James Koster 9e65542d98 Apply Suit CSS naming conventions to classes in account area. closes #10660 2016-04-15 15:11:14 +01:00
Mike Jolley 8d733377a3 Merge pull request #10688 from WPprodigy/nz-country-locale-fix
Add NZ locale labels
2016-04-15 07:57:33 -05:00
James Koster ba009c6fc5 Fixes the layout on shop pages when using Twenty Eleven. closes #10665 2016-04-15 13:24:17 +01:00
Puneet Sahalot 774e86172a Compiled CSS for Order Details list element
removed list element's bullet styling.
2016-04-14 11:45:50 +05:30
Puneet Sahalot 2480b18076 remove ugly bullets from order details 2016-04-14 11:42:55 +05:30
kellychoffman a65a80aa37 button: remove opacity 2016-04-13 13:46:42 -04:00
Mike Jolley 2b20a5cbc1 Merge pull request #10682 from EmilEriksen/master
Change AJAX add coupon generic error notice type
2016-04-13 10:05:30 -05:00
toddlahman 157c50df0a return boolean log add and clear method result 2016-04-12 23:46:30 -07:00
Caleb Burks c11c0cb51b Add NZ locale labels 2016-04-12 22:39:04 -05:00
EmilEriksen a0ae25ca24 Change AJAX add coupon generic error notice type 2016-04-12 17:07:11 +02:00
Claudio Sanches 930798779a Merge pull request #10675 from javorszky/user-functions-meta-false
Fixes comparison functions for customer total orders / spent
2016-04-12 01:42:58 -05:00
Shiva Poudel dd37b82f9c Use of wp_json_encode since WC 2.6 requires at least WP 4.4+ 2016-04-12 11:22:26 +05:45
Gabor Javorszky 49ff906322 Fixes comparison functions for customer total orders / spent
No issue. For much performance improvement.

If the moeny spent is 0, or the total order count is also 0, but actually set, the if clause will return false. Even after the body recalculates, for example the money spent, it will still be 0, which means it will never be stored on the user meta, and that body won't be short circuited.

In the case of sites with a lot of orders (customer has ~100k), that query takes about 13 seconds, and due to how the API works, during one request, it runs 4 times (we're working on solving that one though).

We probably want to see whether the meta is set or not. If it's not set, it will be an empty string.
2016-04-11 18:06:36 -05:00
Claudio Sanches 7094bf6fbc WooCommerce 2.6 requires at least WP 4.4 2016-04-11 16:52:13 -05:00
Claudio Sanches 7b6d5a8fd9 Fixed $has_orders on orders.php template, closes #10671 2016-04-11 16:03:09 -05:00
Dev49.net 5eb3888045 Added fallback to company name if names are not specified
Use case described in Issue #10666
2016-04-11 04:13:46 +02:00
Kevin Killingsworth 00c3bf9ce3 Fix: Update message on update cart/shipping
This adds the messages to the ajaz update cart
and shipping operations.
2016-04-08 12:02:45 -05:00
James Koster 475992e595 Add links to the welcome message on my account. 2016-04-08 09:16:26 -05:00
Mike Jolley db6b6ebb5a Merge pull request #10642 from matheuscl/fixing_product_category_thumbnail_issue
Fix product category thumbnail issue
2016-04-07 10:31:52 -05:00