Commit Graph

11171 Commits

Author SHA1 Message Date
Claudio Sanches 2dbfadd9fa Improved the WC_Geo_IP removing some not useful const and vars 2015-02-13 10:28:51 -02:00
Claudio Sanches 6a31212d33 Merge pull request #7407 from SiR-DanieL/patch-5
Wrong product ID
2015-02-13 09:46:05 -02:00
Nicola Mustone ca3deba1c7 getting wrong ID 2015-02-13 11:00:41 +01:00
Mike Jolley f0d0fa9394 Auto-generation of slug when adding new attribute. 2015-02-12 23:25:10 +00:00
Mike Jolley 323faed337 Taxes by code - include refunds Closes #7397 2015-02-12 22:58:19 +00:00
Mike Jolley 62cb430eaa Run coupon codes through html_entity_decode.
Closes #7395
2015-02-12 22:50:22 +00:00
Mike Jolley e99b3a9bf8 limit_usage_to_x_items option in coupons.
Closes #7396
2015-02-12 22:39:40 +00:00
Claudio Sanches 5772356eb2 Re-added the woocommerce_breadcrumb_home_url filter 2015-02-12 18:34:40 -02:00
Mike Jolley a6944daa62 Upgrade Notice version 2015-02-12 16:47:18 +00:00
Claudio Sanches aa55a64010 POT 2015-02-12 14:44:47 -02:00
Mike Jolley accdf17f3c Version bump 2015-02-12 16:41:13 +00:00
Mike Jolley c2d8b058dc Query in uninstall script. 2015-02-12 16:38:07 +00:00
Mike Jolley c71bff2844 Only apply product/cat coupon checks for cart to cart coupons.
Closes #7389
2015-02-12 16:15:28 +00:00
Mike Jolley 0ef336d97c Change hooks used to output post columns - fixes columns after quick edit. 2015-02-12 14:26:00 +00:00
Mike Jolley 61ef1662b2 Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	readme.txt
2015-02-12 13:20:56 +00:00
Mike Jolley 2347af7e73 Typo in get_from_name method.
Closes #7388
2015-02-12 13:20:23 +00:00
Claudio Sanches fa9806b682 Updated the readme.txt 2015-02-12 10:24:24 -02:00
Claudio Sanches 07537878f0 Fixed the indentation in includes/libraries/class-emogrifier.php 2015-02-12 09:42:15 -02:00
Claudio Sanches 455b27e125 Added alternative to mb_convert_encoding in Emogrifier, closes #7378 2015-02-12 09:40:41 -02:00
Claudio Sanches a17bd25c96 Merge pull request #7387 from woothemes/revert-7379-master
Revert "Add code to check if mb_convert_encoding function is exsited the...
2015-02-12 09:36:18 -02:00
Claudio Sanches 1845049665 Revert "Add code to check if mb_convert_encoding function is exsited then can called it for emogrifier lib" 2015-02-12 09:36:12 -02:00
Mike Jolley 16e14914d8 Enqueue tracking js when needed only 2015-02-12 11:35:12 +00:00
Mike Jolley 1eb29d0acf Merge pull request #7386 from woothemes/tracking-duplicate-optins
Tracking duplicate optins
2015-02-12 11:30:14 +00:00
Mike Jolley 891016df28 Merge pull request #7379 from a3rev/master
Add code to check if mb_convert_encoding function is exsited then can called it for emogrifier lib
2015-02-12 11:09:45 +00:00
Mike Jolley 2a472e64e8 Only run the uninstaller if the "Uninstall on Delete" option is checked in system status. 2015-02-12 11:09:13 +00:00
Mike Jolley 8aa0e5ea24 Potential notice with preg_match wildcard search, if used incorrectly. 2015-02-12 10:53:53 +00:00
Gerhard f0dbb72437 Add 10min buffer to override tracking calls. 2015-02-12 11:58:04 +02:00
Gerhard 9add60ef76 Add minified WooCommerce_notices js 2015-02-12 11:50:07 +02:00
Gerhard 1ac68adf20 Hide the tracker notice once clicked to avoid double clicks. 2015-02-12 11:41:04 +02:00
a3rev 0137249175 Add code to check if mb_convert_encoding function is exsited then can called it for emogrifier lib 2015-02-12 12:38:50 +07:00
Mike Jolley a80d069a21 Version bump 2015-02-12 00:39:58 +00:00
Mike Jolley 77716b1c1f attribute_public option. 2015-02-12 00:31:32 +00:00
Mike Jolley f17a84c9a2 Readme for prev merge 2015-02-12 00:21:42 +00:00
Mike Jolley 30abed2f9e Merge pull request #7375 from tamarazuk/rating-count-fix
Fix average product rating when ratings are not required
2015-02-12 00:04:26 +00:00
Mike Jolley 518cca7326 WC_TEMPLATE_DEBUG_MODE in admin.
Fixes #7336
2015-02-11 23:32:27 +00:00
Mike Jolley d2040eca4d When updating shipping in cart, keep shipping calculator in DOM. 2015-02-11 23:25:31 +00:00
Mike Jolley 1f9b9c0ae0 When ratings are required for reviews, ensure validation is performed if the rating element is removed from DOM.
Closes #7371
2015-02-11 23:06:18 +00:00
Tamara Zuk 7eaae2d561 Fix average product rating when ratings are not required
If ratings are not required, the total rating count was counting all
reviews which skewed the average rating. In other words, reviews with
no rating were counted as a “zero” rating in the average rating
calculation. This bug was introduced in
83a457b29c which provided a fix for #6839.

This change introduces a new product method `get_review_count()` which
can be used to accurately calculate the total number of reviews for a
product. Some instances of `get_rating_count()` were replaced with
`get_review_count()` where appropriate. Additionally, the
`single-product/rating.php` template was adjusted to display the
correct number of customer reviews and ratings in rich snippets. I’ve
also included the `bestRating` rich snippet detailed
[here](http://schema.org/AggregateRating). The version number was
adjusted to 2.3.2 on that template as I think this is a larger change.
2015-02-11 17:55:16 -05:00
Mike Jolley bce209c21d Flat rate extra costs when costs are an array. 2015-02-11 22:24:13 +00:00
Mike Jolley afff86c033 Pass correct shipping cost to PayPal. 2015-02-11 22:17:58 +00:00
Mike Jolley 43c24feffd Item meta removal query in order class. 2015-02-11 22:14:24 +00:00
Claudio Sanches dd0d8b7b26 POT 2015-02-11 16:11:25 -02:00
Mike Jolley 9330f8ccd6 Readme + version 2015-02-11 18:10:37 +00:00
Claudio Sanches 22570ff4bf Updated the readme.txt 2015-02-11 16:08:10 -02:00
Claudio Sanches 3593df34b3 Merge pull request #7367 from woothemes/wc-geo-ip
WC_Geo_IP class
2015-02-11 16:04:56 -02:00
Claudio Sanches caed859f99 Removed the old geoip class 2015-02-11 16:03:54 -02:00
Mike Jolley f57b26cbe6 is_available() check in local pickup. 2015-02-11 18:02:44 +00:00
Claudio Sanches 3a9e459b2c Created WC_Geo_IP_Record class 2015-02-11 15:57:16 -02:00
Claudio Sanches 5389dc3812 Created WC_Geo_IP class 2015-02-11 15:51:50 -02:00
Mike Jolley 3e9f06a8eb Readme "Backwards compatibility for (deprecated) $tax variable in WC_Cart." 2015-02-11 17:47:48 +00:00