Add do_action hooks. #1684
Ensure subtotal is set in cart_details
Only save Download files if modified and adjust do_action hooks. #1684