# A custom URL link to the sold out message on single products in WooCommerce

**URL:** <https://community.mainwp.com/t/a-custom-url-link-to-the-sold-out-message-on-single-products-in-woocommerce/9998>\
**Category:** Code Snippets\
**Tags:** wordpress, woocommerce\
**Created:** [March 6, 2025, 8:49pm UTC](https://community.mainwp.com/t/a-custom-url-link-to-the-sold-out-message-on-single-products-in-woocommerce/9998 "2025-03-06T20:49:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastian-moran](https://community.mainwp.com/user_avatar/community.mainwp.com/sebastian-moran/32/16_2.png) [@sebastian-moran](https://community.mainwp.com/u/sebastian-moran)\
**Post date:** [March 6, 2025, 8:49pm UTC](https://community.mainwp.com/t/a-custom-url-link-to-the-sold-out-message-on-single-products-in-woocommerce/9998/1 "2025-03-06T20:49:56Z")

</div>

A custom URL link to the sold out message on single products in WooCommerce.

**Snippet Type**

`Execute on Child Sites`

**Snippet**

```auto
https://github.com/mainwp/Code-Snippets-Functions/blob/master/Execute%20a%20function%20on%20a%20child%20site/WooCommerce/add-link-to-sold-out-message-single-products.txt

```

---

<div class="post-metadata">

**Author:** ![system](https://community.mainwp.com/uploads/default/original/2X/4/4cfc87ac67e4ebdbfa0bbf0b19c8657f35a29a5b.png) [@system](https://community.mainwp.com/u/system)\
**Post date:** [April 5, 2025, 8:50pm UTC](https://community.mainwp.com/t/a-custom-url-link-to-the-sold-out-message-on-single-products-in-woocommerce/9998/2 "2025-04-05T20:50:30Z")

</div>

Closed on April 5, 2025, 8:50pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
