Don't reset shipping method on cart during every update. Closes #664.

This commit is contained in:
Mike Jolley 2012-02-17 20:19:21 +00:00
parent f3b0d40a2f
commit 2db4f40751
2 changed files with 1 additions and 3 deletions

View File

@ -129,9 +129,6 @@ class WC_Cart {
* Sets the php session data for the cart and coupons and re-calculates totals
*/
function set_session() {
// Cart contents change so reset shipping
unset($_SESSION['_chosen_shipping_method']);
// Re-calc totals
$this->calculate_totals();

View File

@ -88,6 +88,7 @@ Yes you can! Join in on our GitHub repository :) https://github.com/woothemes/wo
* Trigger 'change' event on the hidden variation_id input
* Load non-minified woocommerce.js file if SCRIPT_DEBUG is on
* Fix for reducing/increasing stock notifications
* Don't reset shipping method on cart during every update
= 1.4.3 - 16/02/2012 =
* Fix for variation shipping class detection