set up total and cart order association properly