Commit Graph

11091 Commits

Author SHA1 Message Date
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
Mike Jolley bcb3e82567 Merge pull request #7366 from pbogdan/fix-wc-cart-tax-back-compat
Fix backward compatibility for $tax intance variable of WC_Cart.
2015-02-11 17:46:23 +00:00
Mike Jolley 7c28ea2e2d Merge pull request #7364 from SiR-DanieL/patch-4
Target _blank to the Storefront read more button
2015-02-11 17:23:04 +00:00
Mike Jolley 334ee4c108 Fix - [products] ids and sku args.
Closes #7365
2015-02-11 17:21:53 +00:00
Nicola Mustone 78bd357f56 missing _e 2015-02-11 18:15:00 +01:00
Nicola Mustone 5cab9f5f2a escape & 2015-02-11 18:14:03 +01:00
Nicola Mustone 2e6b571f09 added target _blank to the Storefront read more button 2015-02-11 18:12:18 +01:00
Piotr Bogdan 9d75ad17e8 Fix backward compatibility for WC_Cart::$tax. 2015-02-11 17:06:17 +00:00
Mike Jolley 44aa8339b2 Fix - attribute_public notice before DB upgrade. 2015-02-11 17:01:14 +00:00
Mike Jolley 4c7297c3b1 Merge pull request #7363 from tamarazuk/master
[2.3] Avoid a notice if select has no options
2015-02-11 16:50:51 +00:00
Mike Jolley c46f7f236d When the geolocation database cannot download, ensure the correct method is used to log the error. 2015-02-11 16:47:52 +00:00
Tamara Zuk bd8a57eb32 Avoid a fatal error if select has no options 2015-02-11 11:30:52 -05:00
Mike Jolley 2da86accc8 POT 2015-02-11 15:00:36 +00:00
Mike Jolley 03711ee1ec Fix change event on taxes and grunt dev 2015-02-11 15:00:28 +00:00
Mike Jolley bc2af10cc6 Update languages and geolocation when installed 2015-02-11 14:38:55 +00:00
Barry Kooij 14598bfd40 Typos 2015-02-11 15:16:36 +01:00
Barry Kooij 6cd77ea3b1 Typo fix 2015-02-11 15:14:42 +01:00
Mike Jolley 8c4ae7e43a Changelog + date 2015-02-11 12:32:02 +00:00
Mike Jolley 9afa2848d7 woocommerce_remove_cart_item_from_session with $key and $values
@helgatheviking

$this isn’t needed - WC()->cart to access cart class.
2015-02-11 12:30:54 +00:00
Claudio Sanches 039c496354 Language files for 2.3.0 2015-02-11 10:24:14 -02:00
Claudio Sanches b625097fec Version 2.3.0 2015-02-11 10:23:57 -02:00
Claudio Sanches 050286add6 Updated the changelog for 1452bde 2015-02-11 10:13:36 -02:00
Claudio Sanches 1452bde645 Merge pull request #7360 from helpforfitness/master
Filter api results by a list of ids, closes #7359
2015-02-11 10:09:21 -02:00
Guillermo Gette a95591502e #7359 filter api results by a list of ids 2015-02-11 22:51:56 +11:00
Mike Jolley b7750e6e6b Merge pull request #7358 from helgatheviking/fix/action-on-remove-from-cart-session
trigger an action if an item is dropped from the cart session
2015-02-11 11:26:02 +00:00
Mike Jolley 19b6350afc Changelog code should ignore WC core 2015-02-11 11:21:31 +00:00
Kathy Darling 39fcc19ff6 trigger an action if an item is dropped from the cart session 2015-02-11 12:12:27 +01:00
Mike Jolley 124dac4a24 Merge pull request #7355 from woothemes/better-ip-check
Better proxy server support for get_ip_address
2015-02-11 10:41:44 +00:00
Gerhard 2339f5aee9 Better proxy server support for get_ip_address 2015-02-11 12:07:12 +02:00
Mike Jolley 50d6643872 Merge pull request #7352 from thenbrent/fix_payment_complete_on_backend
[2.3] Fix WC_Order::payment_complete() on back-end
2015-02-11 10:01:31 +00:00
Brent Shepherd f1fa927f57 Fix WC_Order::payment_complete() on back-end
SHA: c038001eab changed `WC_Abstract_Order::payment_complete()` to use
WC()->session->set( 'order_awaiting_payment' ) instead of
`WC()->session->order_awaiting_payment`, but `WC()->session` is only
set on front-end requests, meaning any extension that tries to complete
payment on an order from the back-end would cause a fatal error.
2015-02-10 16:55:47 -08:00