---
title: "How to Play a Sound When a WooCommerce Pop-Up Opens"
description: Play a sound when a WooCommerce popup opens and another when it closes. A Pro feature.
url: "https://wpfactory.com/docs/woocommerce-popup-audio/"
updated: "2026-09-27"
category: Pro Features
---

# How to Play a Sound When a WooCommerce Pop-Up Opens

To play a sound when a pop-up opens in Popups for WooCommerce: Add to Cart, Checkout & More Pro, go to WPFactory > Popups, open the Audio group in the General section, tick Enable, and paste a sound URL into Opening (and optionally Closing). Save changes and trigger a pop-up to test. This is a Pro feature.

![Audio group in the Popup Notices General section](https://wpfactory.com/wp-content/uploads/woocommerce-popup-audio-1.png)

### Before you start

- WooCommerce, active.
- [Popups for WooCommerce: Add to Cart, Checkout & More](https://wpfactory.com/item/popup-notices-for-woocommerce/) Pro.
- A hosted sound file URL for opening, and optionally one for closing (for example an MP3 in your media library).

### Step-by-step

1. Go to **WPFactory > Popups** (also reachable at **WooCommerce > Settings > Pop-up Notices**).
2. In the **General** section, open the **Audio** group.
3. Tick **Enable**.
4. Paste a sound URL into **Opening**, and optionally into **Closing**.
5. Save changes and trigger a pop-up to test.

### Options reference

| Setting | Option ID | Default |
| --- | --- | --- |
| Enable audio | `ttt_pnwc_opt_audio_enable` | No |
| Opening sound URL | `ttt_pnwc_opt_audio_opening` | Empty |
| Closing sound URL | `ttt_pnwc_opt_audio_closing` | Empty |

**Note:** browsers restrict autoplay audio until the visitor has interacted with the page. A sound tied to an add-to-cart click generally plays, while a sound on a pop-up that appears before any interaction may be blocked by the browser.

### Ready to set this up?

Audio is a Pro feature of [Popup Notices](https://wpfactory.com/item/popup-notices-for-woocommerce/). [Get Popup Notices Pro](https://wpfactory.com/item/popup-notices-for-woocommerce/).

Related articles

- [How to Style WooCommerce Pop-Up Notices with the Customizer](https://wpfactory.com/docs/woocommerce-popup-notices-custom-style/)
- [How to Load WooCommerce Pop-Ups Only on Specific Pages](https://wpfactory.com/docs/woocommerce-popup-restrictive-loading/)
- [How to Auto-Close WooCommerce Pop-Ups After a Set Time](https://wpfactory.com/docs/woocommerce-popup-auto-close/)
- [How to Prevent Duplicate WooCommerce Pop-Ups with Cookies](https://wpfactory.com/docs/woocommerce-popup-cookies/)
- [How to Show an Add to Cart Pop-Up on Shop and Archive Pages](https://wpfactory.com/docs/woocommerce-ajax-add-to-cart-popup/)
