Store config switcher only worked if a product was in the cart (#1008)