Refactoring of getting product by id and defaultSeoName