Adding cart item resets shipping - so free shipping etc is selected when going over a threshold. Closes #116.
This commit is contained in:
parent
223f9ccad3
commit
b5850a7087
|
@ -80,9 +80,14 @@ class woocommerce_cart {
|
|||
function set_session() {
|
||||
$cart = array();
|
||||
|
||||
// Set cart and coupon session data
|
||||
$_SESSION['cart'] = $this->cart_contents;
|
||||
|
||||
$_SESSION['coupons'] = $this->applied_coupons;
|
||||
|
||||
// Cart contents change so reset shipping
|
||||
unset($_SESSION['_chosen_shipping_method']);
|
||||
|
||||
// Calculate totals
|
||||
$this->calculate_totals();
|
||||
}
|
||||
|
||||
|
|
|
@ -94,6 +94,7 @@ Yes you can! Join in on our GitHub repository :) https://github.com/woothemes/wo
|
|||
* Added functions which show tax/vat conditionally
|
||||
* Fixed variations - Incorrectly used instead $product_custom_fields of $parent_custom_fields
|
||||
* Made use of transients to store average ratings and improve performance
|
||||
* Adding cart item resets shipping - so free shipping etc is selected when going over a threshold
|
||||
|
||||
= 1.1.3 - 27/10/2011 =
|
||||
* Improved Force SSL Setting - now forces https urls for enqueued scripts and styles
|
||||
|
|
Loading…
Reference in New Issue