To display scrolling text (marquee effect) in your product grid, you can achieve it with a simple setup. Here are the steps:
Step 1 :
From your store admin –> Click Settings –> Metafields and metaobjects –> Click Products
Click on “Add definition” and add data as below
Name: Scrolling Text
Namespace and Key: custom.scrolling_text (must)
Content type:Text ( Select Multi-line text )

Step 2: Now go to your products and Scroll down to “Product metafields” and find Scrolling Text
Add text that you would like to show on products grid.

Step 3 : Go to theme customize -> Theme Settings -> Products Grid -> Enable Scrolling Text