The effects of tariffs and the war in Iran — even if it ends soon — will be felt at the till all year long.