cash sale need to be fixed with ajax