GET FREE VERSION GET THE PRO VERSION

How to Create Time-Sensitive Labels/Badges

Learn how to create time-sensitive labels/badges for WooCommerce products via Advanced Woo Labels plugin.

In this article

Overview

In this article we will cover how to create time-sensitive labels/badges for your WooCommerce shop.

Time-sensitive means that labels are created to be visible only for a specific amount of time and within specific timeframes.

Examples:

  • Show "Black Friday Deal" label on a specific date when Black Friday is in.

    "Black Friday Deal" product label

    "Black Friday Deal" product label

  • Show "Weekends Promo" label only on weekends.

    "Weekends Promo" product label

    "Weekends Promo" product label

  • Show "Happy Hours" label during a specific timeframe (e.g. from 2 pm to 4 pm).

    "Happy Hours" product label

    "Happy Hours" product label

Below we will cover how to create all such labels by using special label display conditions options.

Creating Time-Sensitive Labels

Let’s dive into how to create time-sensitive labels/badges based on different date/time parameters.

Conditions based on date

First, let’s look at how to create a product badge "Black Friday Deal" that must be visible only on a specific date. In our example, it will be Fri, Nov 27, 2026.

Time-Sensitive labels "Black Friday Deal"

Time-Sensitive labels "Black Friday Deal"

  1. Go to the Adv. Woo Label page and click the Add New label button.
  2. To display this label only on the date Nov 27, 2026, set the following rule for the Label Conditions option:

    Date -> equal to -> 27/11/2026

    Display conditions for "Black Friday Deal" badge

    Display conditions for "Black Friday Deal" badge

    Additionally, you can set any other display condition rules, such as showing the badge only for products with specific categories, tags, attributes, etc.

  3. For the Label text option, set the value:

    Black Friday Deal

    Label text option for "Black Friday Deal" badge

    Label text option for "Black Friday Deal" badge

  4. Other badge options are optional. You can set custom styles, animations, links, positions, etc.
  5. When you are ready, click the Publish button to save all changes.

    Now you can check your label. Just remember that it will be visible only on the specified date.

Conditions based on day of week

Now let’s create a "Weekends Promo" badge that is visible only on weekends - Saturday and Sunday.

"Weekends Promo" badge

"Weekends Promo" badge

  1. Go to the Adv. Woo Label page and click the Add New label button.
  2. To display this badge only on Saturday and Sunday, set the following rules for the Label Conditions option:

    Day of week -> equal to -> Saturday OR
    Day of week -> equal to -> Sunday

    Display conditions for "Weekends Promo" badge

    Display conditions for "Weekends Promo" badge

    You can also add other display condition rules based on categories, tags, etc.

  3. Set the Label text value to:

    Weekends Promo

  4. Label text option for "Weekends Promo" badge

    Label text option for "Weekends Promo" badge

  5. Optionally configure styling, animation, and other settings.
  6. Click Publish to save your changes.

    The label will now be visible only on weekends.

Conditions based on time

Let’s now create a "Happy Hours" badge that will be visible every day from 2 pm to 4 pm.

"Happy Hours" badge

"Happy Hours" badge

  1. Go to the Adv. Woo Label page and click the Add New label button.
  2. Set the following rule for the Label Conditions option:

    Time -> equal to -> 14:00 - 16:00

    Display conditions for "Happy Hours" badge

    Display conditions for "Happy Hours" badge

    As usual, you can add more conditions as needed.

  3. Set the Label text to:

    Happy Hours

  4. Label text option for "Happy Hours" badge

    Label text option for "Happy Hours" badge

  5. Optionally customize styling, animations, links, and positions.
  6. Click Publish to save.

    The label will now appear only during the specified hours.

Combine several conditions

We’ve covered how to create labels based on date, time, and day of the week. But what if you need to show a label only on a specific date and at a specific time?

Example: Show a label only on Nov 27, 2026, from 2 pm to 4 pm.

No problem! You can combine multiple display rules using logical groups. In this case, the display conditions would be:

Date -> equal to -> 27/11/2026 AND
Time -> equal to -> 14:00 - 16:00

Display conditions based on date and time

Display conditions based on date and time

Using this method, you can combine as many display conditions as you need - not just time-sensitive ones, but also those based on product data, page type, or current user parameters.

FAQ

Can I create recurring labels for multiple dates?

Yes, you can set conditions for multiple dates or use day-of-week and time combinations to simulate recurring schedules.

Will the label automatically disappear when the time or date passes?

Yes. Once the condition is no longer met, the label will stop displaying automatically.

Can I apply time-sensitive labels only to certain products?

Absolutely. You can combine time conditions with product conditions such as categories, tags, or custom attributes.