South African consumers are bracing for higher food costs after the Iran war drove up petrol and fertiliser prices.