Hi,I wanna hide a product from search results

Hi,I wanna hide a product from search results

sao
Explorer
237 0 22

Ho,please help me ..I needed to create a duplicate of a product,but this variant I wanna hide it from my search results, how I can make it?

Replies 5 (5)

DeepVyas
Shopify Partner
745 7 7

how I can make it?

 


How many such products do you have on your store? 
Because achieving this your pagination result wouldn't work as expected. 


Shopify Developer | Ⓢ : deepvyas71 | ✉ : deepvyas71@gmail.com

Small_Task_Help
Shopify Partner
767 25 67

Hi,

 

You can use robots.txt or noindex meta for this, also at GSC(Google search console) you need to remove those products 

To Get Shopify Experts Help, E-mail - hi@ecommercesmalltask.com
About Us - We are Shopify Expert Agency
At Google My Business - Ecommerce Small Task - Hire Shopify Developers Ahmedabad

BSS-TekLabs
Shopify Partner
1940 561 656

- Here is the solution for you @sao 
- Please follow these steps:

Step 1: Create a custom definition

From your shop’s admin screen, click Settings at the bottom left of the main menu. Click Custom Data > Products

BSSTekLabs_0-1721217928231.png

 

Click Add Definition.

BSSTekLabs_1-1721217944756.png

Name the definition ‘Hide from Search’ (or a similar name of your choice).

Under Namespace and key, enter: seo.hidden

Click Select type and choose Integer and One value.

In the Access option, select Storefronts.

Your screen should look like the below:

BSSTekLabs_2-1721217961401.png

 

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution .
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
BSS Commerce - Full-service eCommerce Agency

For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase


Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell

BSS-TekLabs
Shopify Partner
1940 561 656

Step 2: Add metafield to add-on product

Once you’ve added the meta field, a new panel will show up at the very bottom of the product edit screen. Click the metafield and change it to a 1, then Save your product.

BSSTekLabs_3-1721217994495.png

All done, your product will no longer show up when someone searches for it in your shop’s search bar, and search results

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you. @sao 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution .
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
BSS Commerce - Full-service eCommerce Agency

For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase


Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell

KieranR
Shopify Partner
393 34 119

💯 answer from @BSS-TekLabs 

 

Side note - setting seo.hidden=1 does two things:

  1. Hides product from showing in your internal site search results.
  2. Hides that product page from showing in Google organic search results.
    This is delayed because the inserted noindex tag in <head> takes time (usually days to weeks) for Google to pick up and action. But you can speed this up by using GSC to request a recrawl of a single page or do a page removal.
Part time Shopify SEO, based in NZ. Sometimes freelance outside the 9-5.