I launched my first site using satchmo yesterday and encountered this same 
issue. This thread is is over two years old, but since this issue is still 
present and (as far as I can tell) unexplained, I thought it would be worth 
adding my thoughts. After a bit of sleuthing I think I've come up with the 
reason this happens.

As soon as a customer submits the form on the first page of the checkout 
process, an order record is created. If that customer then leaves the 
checkout process and modifies the contents of their cart in any way, that 
incomplete order record is deleted. Simple as that.

The fix would be to patch Satchmo to keep order information in the session, 
and only create the record when checkout process is completed.

On Wednesday, January 19, 2011 4:51:06 PM UTC-5, Stephen McDonald wrote:
>
> Thanks hynecker. 
>
> I hadn't considered the Contact model, but again I've gone through the 
> admin_log history and no contacts or sites have been deleted. 
>
> Nothing shows in the log either unfortunately. 
>
> On Jan 20, 7:45 am, hynekcer <hy...@sdb.cz> wrote: 
> > On 19 led, 07:31, Stephen McDonald <stephen...@gmail.com> wrote: 
> > 
> > > Would deleting a product simply not remove it from the order? 
> > 
> > Yes, the mystery. Deleting of Order Line Item is required by reference 
> > integrity, not whole order. 
> > 
> > It seems that only deleting of contact (or site) should cause deleting 
> > of order due to reference integrity. 
> > 
> > Hmm. It is easily verified that neither paying customer's contact nor 
> > whole site record was deleted. :-) 
> > 
> > Have not you a message "Deleting incomplete order #... from database" 
> > in the log.info? 
> > (I only made "grep -irC5 order.*delete .")

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to satchmo-users+unsubscr...@googlegroups.com.
To post to this group, send email to satchmo-users@googlegroups.com.
Visit this group at http://groups.google.com/group/satchmo-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to