Custom product badges
Updated yesterday
Available since Cama version 2.
Configure badges
Create a metaobject from Settings > Custom data > Metaobjects > Add definition, following the same field structure and naming shown here.
Then create a product metafield from Custom data > Metafield > Add definition. Use the namespace and key trafik-plus.product_badge, reference the metaobject you just created, and select "One entry".
The metafield then appears on every product page for you to configure.
You can reuse metaobjects you already created for other badges.
Schedule badges
Available since Cama version 3.1.2.
Add two "Date and time" fields to the metaobject: start_date and end_date, both set to "One value" with "Required field" unchecked.
Examples
A "Limited offer" badge scheduled from June 12 9:00 AM to June 17 7:00 PM displays on all matching products only within that exact window.
A "New" badge created May 27 with an end date of June 27 7:30 PM displays from the moment you save it until June 27 7:30 PM.
A "Best seller" badge with a start date of June 12 9:30 AM and no end date displays from that moment until you remove the metaobject from the product.