no shipping session clear on adding new items to the cart
1. Add item to cart
2. Goto Checkout (shipping)
3. Add something else to cart
4. Goto Checkout (shipping)
5. Shipping is still using session. (BAD)
Only if something like cart "update" is clicked, or address is changed, then it will reset.
But adding new item to cart is bugged.
1. Add item to cart
2. Goto Checkout (shipping)
3. Add something else to cart
4. Goto Checkout (shipping)
5. Shipping is still using session. (BAD)
Only if something like cart "update" is clicked, or address is changed, then it will reset.
But adding new item to cart is bugged.
Daniel,
Is there a quick fix we can "MOD" into existing installations? I've done quite a bit of modding in the current version (1.2.9), and I'd hate to lose all that / have to do it all again by updating.
This is quite a serious bug, as it could lead to huge over/under charges. In fact, I don't think I can launch our new store (otherwise working perfectly!) without a fix for this.
Thanks for any help you can provide.
Is there a quick fix we can "MOD" into existing installations? I've done quite a bit of modding in the current version (1.2.9), and I'd hate to lose all that / have to do it all again by updating.
This is quite a serious bug, as it could lead to huge over/under charges. In fact, I don't think I can launch our new store (otherwise working perfectly!) without a fix for this.
Thanks for any help you can provide.
If you pay me $10 you can use this fix 
EDIT: catalog/controller/module/cart.php
FIND:
AFTER ADD:

EDIT: catalog/controller/module/cart.php
FIND:
Code: Select all
$this->cart->add($this->request->post['product_id'], $this->request->post['quantity'], $option);
Code: Select all
unset($this->session->data['shipping_methods']);
unset($this->session->data['shipping_method']);
unset($this->session->data['payment_methods']);
unset($this->session->data['payment_method']);
Hey! I just paid you $20 for the shipping mod - don't get greedyQphoria wrote:If you pay me $10 you can use this fix
EDIT: catalog/controller/module/cart.php
FIND:AFTER ADD:Code: Select all
$this->cart->add($this->request->post['product_id'], $this->request->post['quantity'], $option);
Code: Select all
unset($this->session->data['shipping_methods']); unset($this->session->data['shipping_method']); unset($this->session->data['payment_methods']); unset($this->session->data['payment_method']);

All kidding aside, thanks for posting this. I know the new version fixes it, but I've got a lot of custom code, and I need to get this store up soon without the risk of reinstalling everything.
Who is online
Users browsing this forum: No registered users and 13 guests