'only x left' badge on product card

Hi there.

I have some products low in stock, and want to display a badge on the product card itself (before you click into the product page).

I currently have code that displays ‘ONLY X LEFT’ inside the product page, but I want to display a small lil badge so when people are scrolling through the collection they see it there. Example pic attached.

I am using the Dawn theme.

Thank you for your help!

Hi @lunaritycollect ,

This will need to test the code, can I send you a collaborator invite? it will help me test everything

Sure.

Hi @lunaritycollect ,

Please send me the collaborator code in private message, I will send you the invitation and check it

I don’t see a private message option on your profile, sorry new to the community forums

Hi @lunaritycollect ,

The app Product Labels & Badges will help you create these kinds of badges/labels. Here are the instructions:

Step 1: Install and enable the app embed

Step 2: Navigate to the left side bar and create a text label by clicking on the labels tab

Step 3: Add texts and variables

Step 4: Add products in Product settings section

Step 5: Go to Genaral settings > Show on Homepage and Collection pages.

Hi @lunaritycollect ,

You can also send it via email at the signature if you want. I will send you the request and check it.