[guided]We need to produce an open neighbourhood of $p$ that constrains the $\beta$-th coordinate, which none of the $B_n$ do.
**Degenerate case.** If every $X_\alpha$ for $\alpha \in A \setminus S$ is indiscrete (only open sets are $\varnothing$ and $X_\alpha$), then the subbasis elements $\pi_\alpha^{-1}(U_\alpha)$ for $\alpha \in A \setminus S$ are either $\varnothing$ or $X$, contributing nothing to the topology. The product topology depends only on the countably many factors indexed by $S$. But each indiscrete $X_\alpha$ with $|X_\alpha| \ge 2$ is not $T_0$: if $a, b \in X_\alpha$ with $a \ne b$, every open set containing $a$ also contains $b$ and vice versa. The product inherits this: the two points in $X$ that agree with $p$ on all coordinates except $\alpha_0 \in A \setminus S$ (where they take distinct values) cannot be topologically distinguished. Since every [metric space](/page/Metric%20Space) is $T_0$ (the open ball $B(x, d(x,y)/2)$ contains $x$ but not $y$), the product is not metrizable.
**Main case.** We may assume there exists $\beta \in A \setminus S$ and a proper open subset $V_\beta \subsetneq X_\beta$ with $p_\beta \in V_\beta$. (Why can we find $V_\beta$ containing $p_\beta$? If $X_\beta$ has a non-indiscrete topology but every proper nonempty open set misses $p_\beta$, then $p_\beta$ is not contained in any proper open set. But then for any $q_\beta \ne p_\beta$ belonging to a proper open set $W$, the points $p$ and $q$ (agreeing on all coordinates except $\beta$) satisfy: $q$ has the open neighbourhood $\pi_\beta^{-1}(W)$ that does not contain $p$, while $p$ has no open neighbourhood excluding $q$. This makes the product non-$T_1$, hence non-metrizable.)
Define
\begin{align*}
V := \pi_\beta^{-1}(V_\beta) = \{x \in X : x_\beta \in V_\beta\}.
\end{align*}
This is a subbasis element of the product topology, hence open, and $p \in V$ since $p_\beta \in V_\beta$.
If the neighbourhood basis property holds, there exists $n_0 \in \mathbb{N}$ with $W_{n_0} \subset V$, hence $B_{n_0} \subset V$. Every element of $B_{n_0}$ must then have its $\beta$-th coordinate in $V_\beta$. We show this is impossible.
Since $\beta \notin \operatorname{supp}(B_{n_0})$, the set $B_{n_0}$ imposes no restriction on the $\beta$-th coordinate: $U_\beta^{(n_0)} = X_\beta$. Since $V_\beta \subsetneq X_\beta$, there exists $q_\beta \in X_\beta \setminus V_\beta$. Construct the point $z \in X$ by
\begin{align*}
z_\alpha := \begin{cases} p_\alpha & \text{if } \alpha \ne \beta, \\ q_\beta & \text{if } \alpha = \beta. \end{cases}
\end{align*}
We verify $z \in B_{n_0}$ coordinate by coordinate:
- For $\alpha \in \operatorname{supp}(B_{n_0})$: since $\beta \notin \operatorname{supp}(B_{n_0})$, we have $\alpha \ne \beta$, so $z_\alpha = p_\alpha$. Since $p \in B_{n_0}$, we know $p_\alpha \in U_\alpha^{(n_0)}$, hence $z_\alpha \in U_\alpha^{(n_0)}$.
- For $\alpha \notin \operatorname{supp}(B_{n_0})$: $U_\alpha^{(n_0)} = X_\alpha$, so $z_\alpha \in U_\alpha^{(n_0)}$ regardless.
Therefore $z \in B_{n_0} \subset V$. But $z_\beta = q_\beta \notin V_\beta$, so $z \notin V$. This contradicts $B_{n_0} \subset V$.[/guided]