RuffRuff Selling Periods

thumbnail

Display countdown timer

Add the app block and enable it in a selling period rule

To show a countdown timer, add the app block to the product page of the published theme. Then enable it in the selling period rule.

  • Use an Online Store 2.0 theme. The countdown timer is displayed with an app block.

  • Subscribe to a paid plan. On the free plan, the countdown timer does not appear on the online store. For pricing, see About pricing plans.

Add the app block, then enable it in the selling period rule.

Add "Countdown Timer" to the product template of the published theme.

(1) Open the theme editor

From Shopify admin, go to Online Store → Themes, then select "Customize" for the published theme. If you add it to an unpublished theme, it does not appear on the online store until you publish that theme.

(2) Open the product template

In the theme editor, open the product template used by the product you want to show.

(3) Add Countdown Timer

Select "Add section" or "Add block," open "Apps," then add "Countdown Timer." Move it to the position you want.

(4) Optional: Show the demo in the theme editor

Select the block you added, and check "Show demo in theme editor." You can check the timer in the theme editor regardless of the conditions. After you finish, uncheck it so the demo does not overlap the real timer.

(5) Adjust the design and save

If needed, change the unit labels and design, then select "Save." For the items you can change, see "App block settings" in this article.

Adding the app block alone does not show it on the online store. Enable it in the rule as well.

(1) Open the selling period rule

Open the selling period rule you want to display.

(2) Enable the display

In "Before selling period" or "During selling period," check "Show countdown timer."

(3) Enter the title and description

Enter "Title" and "Description" for the countdown timer.

(4) Save

Select "Save."

Open a product page with the rule in the online store, and confirm that the remaining time appears. Before the selling period, it shows the time remaining until the start date and time. During the selling period, it shows the time remaining until the end date and time.

When you select the countdown timer block in the theme editor, you can change the unit labels, spacing, and design.

  • Preview Settings: "Show demo in theme editor" shows a demo timer only in the theme editor.

  • Content Settings: "Days unit label," "Hours unit label," "Minutes unit label," and "Seconds unit label" change the unit text under the numbers. The defaults are "Days," "Hours," "Mins," and "Secs."

  • Spacing: Set "Top margin" and "Bottom margin," and "Top padding," "Bottom padding," "Left padding," and "Right padding," from 0 to 100 px.

  • Appearance: Set "Background color," "Text color," and "Border color." Set "Border width" from 0 to 10 px, "Corner radius" from 0 to 50 px, and "Font size" from 12 to 48 px.

The days, hours, minutes, and seconds fields are always shown. There is no setting to hide only the days field. When less than 24 hours remain, the days field shows "00."