Given that $K$ is a finite field of order $q\equiv1\text{ mod } 7$, I have to prove that $$K\times K[X]/(X^7-1)\cong K\times \dots \times K\ (8 \text{ times } K).$$ It's the same to prove that $$K[X]/(X^7-1)\cong K\times \dots \times K\ (7 \text{ times } K).$$
I thought I could make an isomorphism $\phi$ by $f=a_0+a_1X+\dots +a_6X^6\mapsto (a_0,a_1,\dots,a_n)$, because $X^7=1$ in $K[X]/(X^7-1)$, so there are only polynomials of degree 6 and lower. Showing that $\phi(f+g)=\phi(f)+\phi(g)$ is easy, but I don't know how to show its multiplicative. Is it correct what I have done so far? I need help.
Extended hints: