Official package · Automation and infrastructure

Real viewer counts and live stock for WooCommerce

A WooCommerce extension that shows how many shoppers have a product open right now, "Someone just bought" popups from paid orders, and stock that updates on open product pages. Every number is an open browser tab, never invented.

  • "3 people are viewing this right now" under the price, hidden below the minimum you set, and a store-wide count with [hibira_viewers scope="store"].
  • "Someone just bought" popups with the product only, never a customer’s name or place. Visitors who arrive later see one recent order.
  • "Only 2 left in stock" and "Out of stock" update on open product pages, and the add to cart button is disabled when a product sells out.
  • Works with classic and block themes, HPOS and the cart and checkout blocks. Admin in English, Chinese, Japanese, Korean, Thai and Vietnamese.
A WooCommerce product page: "2 people are viewing this right now" under the price, and the stock changed to Out of stock the moment another shopper bought the last one.
A WooCommerce product page: "2 people are viewing this right now" under the price, and the stock changed to Out of stock the moment another shopper bought the last one.

Sign in to see these snippets with your own cluster host. Sign in

  1. Install

    Download hibira-live-visitors.zip from the latest release,
    then Plugins → Add New → Upload Plugin → Activate.
  2. Set it up

    Hibira portal → your app → Settings → turn on Subscription count
    
    WooCommerce → Settings → Live visitors
      App ID:  YOUR_APP_ID
      Key:     YOUR_APP_KEY
      Secret:  YOUR_APP_SECRET
      → Save → Send test event
  3. Show the store-wide count

    WooCommerce → Settings → Live visitors → Store-wide count: on
    
    [hibira_viewers scope="store"]   shoppers on the whole shop
    [hibira_viewers min="1"]         this product, from one viewer

Before you start

  • The app secret is shown only once, when you create the app or rotate its secret. Keep it on your server, never in a browser or game build.
  • The counts need Subscription count turned on in the app’s settings. The Free plan counts up to 100 shoppers at once.
  • HIBIRA_APP_ID, HIBIRA_APP_KEY and HIBIRA_APP_SECRET in wp-config.php take the place of the saved settings, so the secret can stay out of the database.

Use the app key from your dashboard; the secret stays on your server. Channels, events and authorization endpoints work exactly as they do with Pusher. Create your free account →