How is that shown by your example?
Kroger charges two different prices for the two different goods - the house brand is much cheaper. The price isn’t set by the higher cost good. It certainly costs Kroger far more to buy a bottle of Coke for resale than to produce/buy a bottle of the house brand, but they can’t charge the same price for their house brand as the more expensive Coke.