Let $(X,\mathcal O_X)$ be an integral affine scheme. Then clearly the injection $\mathcal O_X(X) \hookrightarrow K(X)$ of $\mathcal O_X(X)$ into its fraction field $K(X)$, makes $K(X)$ a flat $\mathcal O_X(X)$ module.
Now, let $X$ be a reduced scheme with finitely many irreducible components $\{X_\lambda\}$. Each $X_\lambda$ can be given a reduced closed subscheme structure and hence each $X_\lambda$ becomes integral subschemes of $X$. And therefore, as before we can say that $K(X_\lambda)$ is a flat $\mathcal O_X(X_\lambda)$ module. Indeed we have a map,
$$\mathcal O_X(X)\longrightarrow \mathcal O_{X_\lambda}(X_\lambda)\hookrightarrow K(X_\lambda).$$ This induces the map $$\mathcal O_X(X)\longrightarrow \prod K(X_\lambda).$$ I want to understand if it true that $\prod K(X_\lambda)$ is a flat $\mathcal O_X(X)$ module? Even if it's not true, I would like to understand the relation between $\mathcal O_X(X)$ and $\prod K(X_\lambda)$.
Thanks in advance!