extend product editing and deleting func