Cart to order working with code