add some functions to Product Model
add some functions to Product Model