I think you have to specify what brick you want to be bought into the cart in the function, but i'm not entirely sure.