Commit Graph

15327 Commits

Author SHA1 Message Date
Mike Jolley dd99c7fb17 Redirect to product screen if referer is missing.
Fixes #10713
2016-04-18 11:48:57 +01:00
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
Mike Jolley 5ce2ab7cfa Allow a filter of products with no shipping class 2016-04-18 09:44:14 +01:00
James Koster 04539d1ab3 button class names in account orders pagination 2016-04-17 18:16:13 +01: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
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
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
Mike Jolley 143642acf5 Change default sort order for featured column 2016-04-07 08:58:28 -05:00
Kevin Killingsworth 3073437ea1 Fix: Make cart ajax selectore more specific
The previous jQuery selector was on div.woocommerce,
which was also selecting other divs on the page.
This is more specific to the cart table on the page.
2016-04-06 12:14:54 -05:00
Mike Jolley da92201f5a Use display price in schema 2016-04-06 10:22:45 -05:00
James Koster 77e78838eb reviews title - wrap product title in span
Also adds a class to there reviews wrapper and title
2016-04-05 15:41:29 -05:00
Claudio Sanches b99fbe560a Fixed tests for currencies 2016-04-05 15:31:15 -05:00
Matheus Lopes ed754fb23f working on coding standards 2016-04-05 17:28:45 -03:00
Mike Jolley fca1758f39 Merge pull request #10639 from reidbiztech/patch-1
Update class-wc-https.php
2016-04-05 14:28:01 -05:00
James Koster 938604a6d2 More appropriate icons in dashboard widget 2016-04-05 14:27:35 -05:00
Mike Jolley c0449f445d Merge pull request #10634 from JeroenSormani/product-visual-loading
Optimize the visuals when loading the product data meta box
2016-04-05 14:26:32 -05:00
Mike Jolley f8d483fd30 $updated_gallery_ids was not set 2016-04-05 07:42:03 -05:00
Matheus Lopes 61b8fece41 WooCommerce standards fix. 2016-04-04 17:59:53 +00:00
Matheus Lopes c9ee861f57 Check response before clear fields, now field 'Display type' is clean also. 2016-04-04 17:53:36 +00:00
reidbiztech f5293df3da Update class-wc-https.php
Paypal will not allow anything other than TLS 1.2 so just set it to that.
2016-04-04 14:37:45 -03:00
Matheus Lopes a1f398e756 Minor fix for issue #10637 2016-04-04 17:25:23 +00:00
Claudio Sanches e09374de17 Merge pull request #10633 from wampamba/ugandan-currency
Adds Ugandan Shilling currency and currency symbol.
2016-04-04 09:02:56 -03:00
JeroenSormani a8abfef5fa Optimize the visuals when loading the product data meta box 2016-04-03 19:07:46 +02:00
Wampamba David ff5c52b6bb Adds Ugandan Shilling currency and currency symbol. 2016-04-02 14:11:35 +03:00
Mike Jolley 00ba45512e Merge branch 'shipping-wizard-removal' 2016-04-01 11:20:14 +01:00
Mike Jolley 5a49394102 Justin code review 2016-04-01 11:19:55 +01:00
Mike Jolley 7c272a2d0e Merge pull request #10629 from misenhower/fix-wc-get-product
Make wc_get_product() return false if the specified post is not a product
2016-04-01 11:18:23 +01:00
Mike Jolley d1f363c356 Exclude geolocation of bots by user agent
Closes #10626
2016-04-01 11:14:26 +01:00
Mike Jolley b2dafc3b33 Merge pull request #10631 from mattallan/matt/webhook-async-filter-param
Add $arg param to the `woocommerce_deliver_webhook_async` filter
2016-04-01 10:54:37 +01:00
Mike Jolley 082a3bc2c9 Change system status nav markup 2016-04-01 10:53:30 +01:00