validation:add detail in purchase