"New" badge on collection page - add and remove automatically

Hi community!

Up to now I manually added the “new” badge through a tag.

I’d love to have the badge automatically displayed with products, that have been added within the last 4 weeks.

Is there a way to automatize this, possibly through code on the collection page?

I’d be very happy for any hints, pointers and helpful lines of code.

Kind regards from Hamburg, Germany

Ben

Hi @WurfelundZucker

We’d love to help, but we’ll need more details. There are plenty of different ways to add badges to your page. We’d like to know how you add badges on your page (custom codes, app, etc.) to make the process automatic.

Besides, you might consider using Product Labels & Badge app, which will make your work easier.

Hi BSS-commerce,

thanks for your reply.

I have tried adding badges through costum code and software, so any way to tackle the issue is very welcome while a coding solution would be preferable.

I do also understand that you recommended your own product in your message - I assume that means your product offers the demanded feature, is that right?
How do I find said feature in your application?

Thank you.

this message was removed by the author

Hi @WurfelundZucker ,

Yes, we aim to help you solve your problem. You can add your badges on the product page and many other pages that feature your products (Home page, search page, etc.) with the Product Labels and Badges app.

You also have multiple options to display badges on your products. The feature you’re looking for displays badges on products with specific tags. See the following demo image for more information.

I hope that you find it useful. Let me know if you need any further help.