# Remove the product permalink from product archives when there is no description in WooCommerce

**URL:** <https://community.mainwp.com/t/remove-the-product-permalink-from-product-archives-when-there-is-no-description-in-woocommerce/8582>\
**Category:** Code Snippets\
**Tags:** wordpress, woocommerce\
**Created:** [March 25, 2024, 5:01pm UTC](https://community.mainwp.com/t/remove-the-product-permalink-from-product-archives-when-there-is-no-description-in-woocommerce/8582 "2024-03-25T17:01:09Z")\
**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 25, 2024, 5:01pm UTC](https://community.mainwp.com/t/remove-the-product-permalink-from-product-archives-when-there-is-no-description-in-woocommerce/8582/1 "2024-03-25T17:01:09Z")

</div>

Remove the product permalink from product archives when there is no description 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/remove-product-link-from-archives-if-the-product-has-no-description.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 24, 2024, 5:01pm UTC](https://community.mainwp.com/t/remove-the-product-permalink-from-product-archives-when-there-is-no-description-in-woocommerce/8582/2 "2024-04-24T17:01:30Z")

</div>

Closed on April 24, 2024, 5:01pm UTC

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