adds strip function to product controller