Skip to main content

Stock Countdown on Product page

How it works​

Stock Countdown shows how many items are left on your product pages, for example "Only 5 left in stock. Hurry up!", to encourage customers to buy before a product sells out. You can show it on all products or only the ones you select, at all times or only when stock is low.

Step 1: Open the feature​

From your Shopify admin, open LV - Product Badges → Store Optimizations → Stock Countdown on Product page.

Step 2: Add the widget​

This feature requires an app block on your product template. If the block is already added, go to step 4.

  1. Click Add widget to open the Shopify theme editor.
  2. Move the Stock Countdown block to your preferred position on the product template, then click Save in the theme editor.
  3. Return to the app and click Verify now.
  4. Turn on the toggle beside This setting is deactivated, then click Save at the top of the page.

For detailed instructions, see How to Enable App Embed and App Blocks in Lavar.

Step 3: Customize general settings​

Open the General settings tab. You can keep the default settings or adjust the options below.

  • Announcement text: Customize the message, up to 100 characters. Keep {stock_quantity} where you want the remaining stock quantity to appear.
  • Display settings: Choose All products, or Specific products and click Browse to select them.
  • When it shows: Choose Always, or Show if stock quantity is equal or less than and enter a number to show the widget only when stock is low.
info

Products must use a template containing the Stock Countdown app block. Selecting products in Display settings does not add the block to their templates.

Step 4: Customize appearance settings​

Open the Appearance settings tab. You can keep the default appearance or adjust the settings below.

  • Templates: Choose Default, Comfortable, or Compact, then check the Preview to compare them.
  • Colors: Change the Background color and Text color using the color swatches or hex codes. Adjust the opacity percentage: 100% is fully opaque; lower values make the color more transparent.
  • Position: Move the Stock Countdown block in the Shopify theme editor. Click Learn how to custom position on Product page for instructions.

Step 5: Configure the schedule​

Open the Schedule tab to choose when the widget appears. The schedule follows your store's timezone.

  • No schedule: Show the stock countdown at all times.
  • Specific date: Set a Start date and Start time. Select Set end date to choose when it stops.
  • Weekly: Show the stock countdown on a recurring weekly schedule.

Check the Preview panel to review your changes. If you change any settings, click Save at the top, then check the stock countdown on your storefront.

Need help?​

If the stock countdown doesn't appear on a product you selected, send us the product link and the display condition you set at [email protected], and we'll check it for you.

Was this article helpful?