The article states that the two products in question here are identical except for cost and color.
The razors are identical except for color and price, not cost of production. Tesco implied that scale economies make the larger number of blue (men’s) razors sold les expensive to produce.