Cart/review page not showing changes

budda - July 2, 2008 - 11:56
Project:e-Commerce
Version:5.x-3.4
Component:cart
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

On the cart/review page a user can amend the billing/shipping address or their cart content quantities.
Upon returning to the cart/review page the old choices from the first time are still there.

This can cause a purchase to fail if the updated billing address is not updated on the review page before proceeding to the checkout - as well as not checking out the users correct quantities.

#1

budda - July 2, 2008 - 12:04

I suspect the problem is caused by the tmp data:

function ec_checkout_get_data($edit = NULL) {
  return unserialize(db_result(db_query("SELECT tmp FROM {ec_tmp} WHERE sid = '%s'", cart_get_id())));
}

I guess this needs to be deleted if any part of the cart data is changed? Where in EC should this be carried out?

 
 

Drupal is a registered trademark of Dries Buytaert.