A new year, a new law. After introducing medicinal marijuana some time ago, the state has now given the green light to sales of recreational pot.

Despite the more accepting nature of marijuana, there are not a lot of ways to play it in the stock market. Part of that is due to the differences between federal and state laws, but as acceptance grows, so too could the number (and size) of pot stocks.

One way to play the trend? Scotts Miracle-Gro (SMG) . The state of California houses more than 10% of the country's total population and this new legislation could lead to plenty of potential going forward, TheStreet's Jim Cramer said on CNBC's first "Mad Dash" segment of 2018.

The company's hydroponic devices allow consumers to grow plants indoors. While many may be familiar with the products when it comes to other plants and herbs, Cramer makes the case that this business may benefit from growers looking to dabble with marijuana plants.

Most of Scotts Miracle-Gro revenue comes from big box retailers like Walmart (WMT) , Home Depot (HD) and Lowe's (LOW) , as customers use its products for gardening. However, hydroponic sales could become more significant down the line.

"Recreational marijuana is really a boom and there are not many ways to play it," concluded Cramer, who also manages the Action Alerts PLUS charitable trust portfolio. This could be one.

More of What's Trending on TheStreet:

This article is commentary by an independent contributor. At the time of publication, the author had no positions in the stocks mentioned.

More from Stocks

Santa Claus Rally? Machines Render Old Stock Market Adages Worthless

Santa Claus Rally? Machines Render Old Stock Market Adages Worthless

Procter & Gamble Helps Lead Dow Jones After Upgrade From Morgan Stanley

Procter & Gamble Helps Lead Dow Jones After Upgrade From Morgan Stanley

Hey Investors, Don't Let the Bad Times Pollute Your Mind

Hey Investors, Don't Let the Bad Times Pollute Your Mind

Make This Dividend Aristocrat a Staple of Your Portfolio

Make This Dividend Aristocrat a Staple of Your Portfolio

Join Jim Cramer's Club During Our '12 Days of Holiday Deals' Sale and Save 66%!

Join Jim Cramer's Club During Our '12 Days of Holiday Deals' Sale and Save 66%!