Snack companies have been notorious for shrinking the contents of goods while maintaining the same price.

A version of this story appeared in CNN Business’ Nightcap newsletter. To get it in your inbox, sign up for free, here.

New York CNN  — 

These past few years, it seems like food companies have been playing some serious mind games with us.

When something you’ve always enjoyed eating suddenly started to taste a bit different, or the portion size felt smaller, there’s a pretty good chance your experience wasn’t an anomaly.

As food companies have seen their costs rise substantially over the past few years, many have used two sneaky strategies, dubbed shrinkflation and skimpflation, to avoid having to raise the prices of their goods.

Shrinkflation happens when something has been reduced in size or volume, but the price stays the same — or, in some cases, even grows. Skimpflation refers to more subtle tweaks like, for instance, substituting cheaper ingredients to cut costs.

Both tactics have drawn the ire of consumers across social media who, understandably, feel like they’re being deceived. Yet when companies simply pass along price increases to consumers, there’s also no shortage of backlash — just ask McDonald’s.

Up until recently, companies got away with giving angry customers the silent treatment or by putting out some carefully worded statement in an attempt to get back in their good graces. Their statements would often read something like: We hear your frustration but c’mon, have some pity on us too. Oh, and by the way, we didn’t raise our prices as much as everyone is claiming so we’re not the bad guys here.

Then, after companies like McDonald’s, Wendy’s and Burger King started seeing their revenue slide, they unveiled value menus and promos and, in some cases, promised to be more judicious about raising prices.

Still, complaints about shrinkflation and skimpflation seemingly went unaddressed by companies. That’s finally starting to change.

After fans of Whole Foods’ iconic Berry Chantilly Cake took to social media to rant about ingredient changes, the Amazon-owned grocery chain had an usually quick response, informing customers that the cake would soon revert to its original recipe.

But wait — it gets even better!

PepsiCo, the owner of Lay’s, Doritos, Tostitos and Ruffles chips, announced it will put more chips in some bags that had mysteriously gotten lighter. A PepsiCo spokesperson told my colleague Nathaniel Meyersohn that Tostitos and Ruffles “bonus” bags will contain 20% more chips for the same price as standard bags in select locations. The company is also adding two additional small chip bags to its 18-bag variety pack, the spokesperson said.

The timing of PepsiCo’s changes is, on the surface, peculiar. The company’s customers have been complaining about shrinkflation for years now.

However, it’s one thing for people to complain about shrinkflation, but if they continue giving in by purchasing the goods, companies have no reason to stop testing the limits of how much shrinkflation they can get away with.

And for PepsiCo, it looks like customers have reached their limit, with snack sales and volume both dropping last quarter, according to the company’s latest earnings report.

Now you may be wondering: How are they able to maintain the same price if they add more chips?

It’s likely the profit margins on the snacks are high enough that adding in a few extra chips is “a relatively low cost for them,” said Chris Hydock, a marketing professor at Tulane University’s Freeman School of Business. That’s especially true since many of their own input costs have fallen after spiking during the pandemic. But the move, nonetheless, is “their way of giving customers more value.” (PepsiCo didn’t respond to CNN’s request for comment.)

Sure, PepsiCo could’ve done what many retailers have started to do: slash prices. But it can quickly become an “If You Give a Mouse a Cookie” situation, where consumers will start expecting more discounts and more promotions, Hydock told CNN.

The move by PepsiCo is likely to lead other snack manufacturers to follow suit, Robert Moskow, an analyst at TD Cowen, told Meyersohn. So the days of shrinkflation, at least when it comes to food, could be numbered.

But don’t count on the mind games ending entirely.

“I would expect (food companies) to shift their strategy and find a different mind game to play that maybe people are not quite looking out for yet,” Hydock said.