> For the complete documentation index, see [llms.txt](https://protectify.gitbook.io/protectify-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://protectify.gitbook.io/protectify-docs/how-to-hide-the-shipping-protection-product-from-recommendations.md).

# How to Hide the Shipping Protection Product from Recommendations

**Overview**\
After you publish Shipping Protection to your store, Protectify will automatically create a Shipping Protection product in your store’s product list. By default, this product may appear in your store’s product recommendation lists, allowing customers to purchase it directly. However, this experience may not be ideal for customers, so we recommend hiding this product from your store’s product recommendations.

**Steps:**

**Step 1:** In your Shopify admin, navigate to **Theme** and click **Customize**.

<figure><img src="https://2945643846-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FposmPLndH3eUqiZu5qtQ%2Fuploads%2FRHiR5L1lu9oDsc9iGe9y%2Fstep1.png?alt=media&amp;token=0a10a1c1-5707-45dc-af6d-a7227494f799" alt=""><figcaption></figcaption></figure>

**Step 2:** Click the three dots next to your theme name and select **Edit code**.

<figure><img src="https://2945643846-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FposmPLndH3eUqiZu5qtQ%2Fuploads%2FeILPNq3qFdcm1iSzfT9X%2Fstep2.png?alt=media&amp;token=8bf9f656-35fb-46c5-a73a-714c4ebdf3a8" alt=""><figcaption></figcaption></figure>

**Step 3:** Search for or select the **related-products.liquid** file.

<figure><img src="https://2945643846-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FposmPLndH3eUqiZu5qtQ%2Fuploads%2FtQETvfRIGp6oIxS1LDDX%2Fstep3.png?alt=media&amp;token=b513829a-8c0c-4e47-9ead-a51dee134d82" alt=""><figcaption></figcaption></figure>

**Step 4:** Locate and select the relevant code section.

<figure><img src="https://2945643846-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FposmPLndH3eUqiZu5qtQ%2Fuploads%2FM8zcp8G1mdiOGBDCym5q%2Fstep4.png?alt=media&amp;token=78a0ddbf-c3b8-4eba-bff7-1be749ed0d4f" alt=""><figcaption></figcaption></figure>

**Step 5:** Replace the selected code with the new code provided below.

```
<ul
        class="grid product-grid grid--{{ section.settings.columns_desktop }}-col-desktop grid--{{ section.settings.columns_mobile }}-col-tablet-down"
        role="list"
      >
        {% for recommendation in recommendations.products %}
          {% if recommendation.vendor contains "Protectify" %}
           {% continue %}
           {% else %}
          <li class="grid__item">
            {% render 'card-product',
              card_product: recommendation,
              media_aspect_ratio: section.settings.image_ratio,
              image_shape: section.settings.image_shape,
              show_secondary_image: section.settings.show_secondary_image,
              show_vendor: section.settings.show_vendor,
              show_rating: section.settings.show_rating
            %}
          </li>
          {% endif %}
        {% endfor %}
      </ul>
```

**Step 6:** After replacing the code, the final target code should look like this. Remember to click Save to save your changes, then check your store’s product recommendation list to ensure the Shipping Protection product is hidden.

<figure><img src="https://2945643846-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FposmPLndH3eUqiZu5qtQ%2Fuploads%2FV5gz1JDWF5RziAACcPbN%2Fstep6.png?alt=media&amp;token=2fad22ef-9f86-4f48-9849-3e87d1c46bbd" alt=""><figcaption></figcaption></figure>

***

*Note: For specific code snippets or further customization, please refer to your theme documentation or contact our support team at s*<mark style="color:purple;"><upport@protectifyapp.com></mark>*.*
