Added ability change cart type in save_cart_records