Is FulfillmentGroup required for an Order?
Posted: Tue Jun 05, 2012 3:14 am
It looks like an order requires at least one fulfillment group from following code in CheckoutController's processCheckout:
List<FulfillmentGroup> groups = order.getFulfillmentGroups();
if(groups.size() < 1){
return "redirect:/basket/currentCart.htm";
}
What if the order contains no shippable item?
Another question is the totaling logic. In an example I tried, an order with a single fulfillment, the fulfillment total is different than the total charged to customer. The difference is due to 0 tax on fulfillment. Can you explain it?
Thank you!
List<FulfillmentGroup> groups = order.getFulfillmentGroups();
if(groups.size() < 1){
return "redirect:/basket/currentCart.htm";
}
What if the order contains no shippable item?
Another question is the totaling logic. In an example I tried, an order with a single fulfillment, the fulfillment total is different than the total charged to customer. The difference is due to 0 tax on fulfillment. Can you explain it?
Thank you!