One can prove that if $A$ is a noetherian ring and an integral domain then we can write every $a\not\in A ^\times$, $a\neq0$, as a product of finite irreducible elements.
So I am looking for an example of a ring $A$, such there exist at least one irreducible element and there exist $a\not\in A^\times$ that we can't decomposed as a finite product of irreducible elements.
I tried to look at $\mathcal{C}^0(\mathbb{R},\mathbb{R})$ but it doesn't seen to work ($f$ inversible $\iff$ $f$ does not vanish).
Any help will be greatly appreciate