This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

TAMPA, Fla. — President Donald Trump has claimed that shoppers need to show photo identification to buy groceries, and he is accusing Democrats of obstructing his agenda and stalling confirmation of his Supreme Court nominee.

Trump also is defending his trade agenda and snapping at China and other U.S. competitors for having “targeted our farmers.”

The president addressed thousands of supporters Tuesday night at an event intended to boost two Republican candidates before the Aug. 28 primary in the battleground state.

Trump was railing against the idea of noncitizens voting and advocating stricter voting laws when he asserted that IDs are required at the supermarket checkout.

“If you go out and you want to buy groceries, you need a picture on a card, you need ID,” he said. “You go out and you want to buy anything, you need ID and you need your picture.”

A White House spokesman did not immediately respond to questions about when the billionaire president last bought groceries or anything else himself.

Photo IDs are required for certain purchases, such as alcohol, cigarettes or cold medicine.

People who write checks for their grocery bills frequently need to show ID, but that’s an increasingly less common form of payment.

According to the National Grocers Association’s most recent data, the use of checks as a percentage of total transactions dropped from 33 percent in 2000 to 6 percent in 2015.

At the rally, Trump picked his sides among Republicans as he embraced U.S. Rep. Ron DeSantis in the primary for governor and backed the U.S. Senate campaign of Gov. Rick Scott.

“We have to make sure Rick Scott wins and wins big” against the incumbent, Democrat Bill Nelson, the president said.

He also appealed for voters to elect more Republicans to Congress, saying Democrats are opposing his to-do list and slowing consideration of his Supreme Court nominee, Brett Kavanaugh.

Democrats “don’t want to give Trump any victory,” he said. “They will do anything they can to not help the Trump agenda.”

Trump has threatened to shut down the federal government over his push to overhaul the nation’s immigration system and pay for his promised wall along the U.S.-Mexico border.

But officials say Trump has reassured staff in private that he will not provoke a fiscal crisis before the November election, when the GOP hopes to retain its majority.

The president avoided making an outright reference to a government shutdown during the rally, saying, “We may have to do some pretty drastic things” unless Democrats support his agenda.

He spent much of the rally highlight strong economic numbers and praising DeSantis as “a tough, brilliant cookie.”

He predicted DeSantis will defeat Agriculture Commissioner Adam Putnam in this month’s primary.

Trump, who makes frequent trips to Florida and his private Palm Beach Mar-a-Lago club, criticized Nelson’s policies and claimed the only time he sees the senator is “five months before every election.”

“After a while, you forget who’s the senator,” Trump said.

Scott didn’t join Trump at the rally but appeared with him at an earlier event.

DeSantis has tied his campaign for governor to Trump, appearing on Fox News more than 100 times to talk about federal issues and defend the president.

DeSantis has campaigned with Fox’s Sean Hannity and Donald Trump Jr. and uses humor in a new ad to show his alliance with the president, teaching one of his two children to “build the wall” with blocks.

Putnam, a state agriculture commissioner and former congressman, has run a more traditional campaign for governor, aiming to build upon his family’s deep ties to the state.

Trump railed against the idea of allowing noncitizens to vote in some elections and said only citizens should vote. He also advocated requiring voters to present photo identification; Florida already has such a law.

“The time has come for voter ID like everything else,” Trump said, before making his claim about groceries.