Closed GoogleCodeExporter closed 9 years ago
this seems to be fixed in the current bakesale 1.2.2 bugfix2?
the method below only converts the order once in my case:
function success() {
$data = $this->cart_contents();
if(!empty($data)) {
$data['Order'] = array_merge($data['Order'], $this->Session->read('Order'));
$data['Order']['session'] = '';
$data['Order'] = $this->convert($data['Order']);
$this->Order->save($data);
$this->LineItem->convert($data['LineItem']);
$this->__emailOrder($data['Order']['id']);
$this->set(compact($data));
}
}
Original comment by m.willer...@gmail.com
on 16 Oct 2008 at 1:46
Original comment by putkonen...@gmail.com
on 13 Apr 2009 at 8:58
Original issue reported on code.google.com by
jaime.it...@gmail.com
on 19 Mar 2008 at 1:10