# Hide Add-on Products

## A. **Hide Add charge product from the All Collection Page**

### Step 1: Find Avis add charge

When creating an Add charge product with Avis, our app will automatically generate the "Avis-add-charge" Type. Please check and add this Type to all Add Charge products you have created.

<figure><img src="https://3264408981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ClFZbSMFYUfUOKXAOru%2Fuploads%2Fr20CAHRr1GBcTFom4OK3%2FScreenshot%202023-05-25%20at%2010.10.39.png?alt=media&#x26;token=5a93d7be-6d78-42e2-8692-cecd77a0f6d3" alt=""><figcaption></figcaption></figure>

### Step 2: Create a new collection without Avis Add charge&#x20;

**Step 2.1** From the *Shopify admin page*, click Products > Collections.&#x20;

**Step 2.2** In the ***Collection***, create a new collection named “*All products*“.

<figure><img src="https://3264408981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ClFZbSMFYUfUOKXAOru%2Fuploads%2FoavLZTyGlzPWyPG0oicx%2Fimage.png?alt=media&#x26;token=8a94f1c1-4435-4727-a89d-619dee3a2f15" alt=""><figcaption></figcaption></figure>

Set the condition to remove products with the Product type “Avis-add-charge” as below:    ***“Type” – “is not equal to” – “Avis-add-charge”.***

**Step 2.3** Scroll down to the ***Search engine listing** preview* part, and click ***Edit** web SEO.*&#x20;

<figure><img src="https://3264408981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ClFZbSMFYUfUOKXAOru%2Fuploads%2Frkoraj2xGhwwcgY2bETr%2Fimage.jpg?alt=media&#x26;token=f8bb0950-e5e3-4ba5-a6d8-a6e006a91aa7" alt=""><figcaption></figcaption></figure>

**Step 2.4** In the ***URL handle*** field, enter “*all*“.

<figure><img src="https://3264408981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ClFZbSMFYUfUOKXAOru%2Fuploads%2FKIsaUC3Y88uFMxspoSEP%2Fimage.jpg?alt=media&#x26;token=3284f016-ff3d-4da2-808a-b52a6b28d509" alt=""><figcaption></figcaption></figure>

**Step 2.5** Click ***Save*** to finish.[<br>](https://p8x8r3f6.stackpathcdn.com/wp-content/uploads/2021/08/all-pro-3.png)

## B. Hide Add charge product from Search bar

### Step 1: Open Settings

**Step 1.1** From your Shopify admin, go to **Settings**

<figure><img src="https://3264408981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ClFZbSMFYUfUOKXAOru%2Fuploads%2FGd0ESIrpZDMh2OTyKWTS%2FScreenshot_380.png?alt=media&#x26;token=2c635fd2-2d08-43c7-8314-13b5f9246451" alt=""><figcaption></figcaption></figure>

**Step 1.2** In **Settings**, navigate to **Metafields and metaobjects** → **Products**

<figure><img src="https://3264408981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ClFZbSMFYUfUOKXAOru%2Fuploads%2FHRLcHEJck2GabQFvsTDr%2Fimagedml37.jpg?alt=media&#x26;token=d812b8a1-1cd4-4579-833b-db23e259e163" alt=""><figcaption></figcaption></figure>

### **Step 2**: Add definition

<figure><img src="https://3264408981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ClFZbSMFYUfUOKXAOru%2Fuploads%2FPnRr9DO8rfqKKEuAQK2z%2Fimaged5myb.jpg?alt=media&#x26;token=b34e317c-b39f-4018-b38a-984ca2bc6892" alt=""><figcaption></figcaption></figure>

### **Step 3**: Select type -> Integer

<figure><img src="https://3264408981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ClFZbSMFYUfUOKXAOru%2Fuploads%2FneESTxgnvoxAfK6v74zM%2FUntitled%20(2).png?alt=media&#x26;token=9934993b-39a7-447f-a410-ab62449eb145" alt=""><figcaption></figcaption></figure>

### **Step 5**: Fill in the information below and hit "Save"

* Name: **SEO Hidden** > Hit the tag "*custom.seo\_hidden*"&#x20;
* Namespace and key: **seo.hidden**
* Minimum value: **1**&#x20;
* Maximum value: **1**

<figure><img src="https://3264408981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ClFZbSMFYUfUOKXAOru%2Fuploads%2FO7PHGkjk1adwWY3Qcxjn%2Fimagek15xk.jpg?alt=media&#x26;token=b3fbe349-cb28-404b-8dbc-097172a8604a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3264408981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ClFZbSMFYUfUOKXAOru%2Fuploads%2FoD7l7x6XR2xvTlQseElP%2Fimagextkvv.jpg?alt=media&#x26;token=189e470c-0e91-4601-9f4b-aa786574a019" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you run into an Error message stating that the the **seo.hidden** metafield hasbeen used somewhere already, you can use the link below to continue.

Replace the "yourdomain.myshopify.com" part with your actual domain to make this link work: <https://yourdomain.myshopify.com/admin/settings/custom\\_data/product/metafields/migrate/seo/hidden>
{% endhint %}

## C. Hide Add charge product from Google Search

### Step 1: Find Avis add charge

* In your Shopify admin, go to Products
* Filter products by Type = “Avis-add-charge”

<figure><img src="https://3264408981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ClFZbSMFYUfUOKXAOru%2Fuploads%2FFhZdSW8jdkCbt4PdwpGH%2Fimage.png?alt=media&#x26;token=1d1eb2f9-d885-48a1-a0d0-075ac16d2462" alt=""><figcaption></figcaption></figure>

### Step 2: Bulk edit

**Step 2.1** Select all add-on products ⇒ Click **Bulk edit**

<figure><img src="https://3264408981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ClFZbSMFYUfUOKXAOru%2Fuploads%2FEvzmrijKJahR8SuTAH1p%2Fimage.png?alt=media&#x26;token=b6404d23-584f-44e0-8ba2-b27e1161ddf9" alt=""><figcaption></figcaption></figure>

**Step 2.2** Click **Columns**, scroll down, and select **Meta description (SEO)**

<figure><img src="https://3264408981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ClFZbSMFYUfUOKXAOru%2Fuploads%2FZQZSHQBFcjBYtCxs8NkN%2Fimage.png?alt=media&#x26;token=ce92fb1f-d71a-44c4-8a56-29d53eee5233" alt=""><figcaption></figcaption></figure>

### Step 3: Add meta description

In the **Meta description field**, enter:

`<meta name="robots" content="noindex">`

<figure><img src="https://3264408981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ClFZbSMFYUfUOKXAOru%2Fuploads%2Fvju8cvw4MMtt6NYRT0LF%2Fimage.png?alt=media&#x26;token=4c461bd5-b55b-40d1-abd4-aed16105a99e" alt=""><figcaption></figcaption></figure>

### Step 4: Save changes

<figure><img src="https://3264408981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ClFZbSMFYUfUOKXAOru%2Fuploads%2FYVv0j0YP7PBvTVF1BiCT%2Fimage.png?alt=media&#x26;token=f6c9f85c-2ba6-487a-b9c8-a2ce95de1cd2" alt=""><figcaption></figcaption></figure>
