# Restrict some products to be shipped only to specific zipcode In WooCommerce

**URL:** <https://community.mainwp.com/t/restrict-some-products-to-be-shipped-only-to-specific-zipcode-in-woocommerce/7955>\
**Category:** Code Snippets\
**Tags:** wordpress, woocommerce\
**Created:** [November 27, 2023, 4:56pm UTC](https://community.mainwp.com/t/restrict-some-products-to-be-shipped-only-to-specific-zipcode-in-woocommerce/7955 "2023-11-27T16:56:29Z")\
**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:** [November 27, 2023, 4:56pm UTC](https://community.mainwp.com/t/restrict-some-products-to-be-shipped-only-to-specific-zipcode-in-woocommerce/7955/1 "2023-11-27T16:56:29Z")

</div>

Restrict some products to be shipped only to specific zipcode 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/restrict-some-products-to-be-shipped-only-to-specific-postcode-zipcode.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:** [December 27, 2023, 4:57pm UTC](https://community.mainwp.com/t/restrict-some-products-to-be-shipped-only-to-specific-zipcode-in-woocommerce/7955/2 "2023-12-27T16:57:16Z")

</div>

Closed on December 27, 2023, 4:57pm UTC

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