sell function in product