The country’s continued economic doldrums have stores scrambling for the once-ignored low-end customer, as people make fewer costly shopping trips to stock their pantries, and increasingly, can only afford inexpensive items in small quantities like those sold at dollar stores.

Dollar stores have shown the biggest gain in shopper visits over the last year out of all the retailers that sell basic consumer goods, according to market research data. Manufacturers are racing to package more affordable versions of products common at those stores, and other budget retailers, feeling the loss of customers, are trying to duplicate their success.

Wal-Mart, the world’s largest retailer, is adding thousands of items to its shelves, including inexpensive ones, and is asking dollar-store suppliers to create small, under-a-dollar packages for its stores, too. In areas with high unemployment, Wal-Mart is grouping together its less than $1 items in a clear challenge to the dollar stores.

The impetus for the downmarket trend is the continued tightening of household budgets, retailers and analysts said.