Skip to main content
All Collections1-Click Addons
Hiding Addon Products from Search and SEO
Hiding Addon Products from Search and SEO
Updated over a week ago

Even if you haven't added your Shopify Product to any collections (and we recommend that you don't), it might still appear in your store's search results as well as Google search results.

We recommend that you hide the addon product from appearing in those places, too. This is useful as it will keep the addons exclusive to the cart / checkout process.

To hide an addon product from search and SEO, you can leverage Shopify's metafield functionality. Here's how:

1. Create a Metafield Definition

First, you need to create a metafield definition for the "seo.hidden" metafield. Navigate to your Shopify admin panel, go to "Settings" > "Custom data". Under "Metafields definitions", click "Products".

Then click "Add definition".

Now enter

  • Namespace seo.hidden

  • Type: Integer

Save.

3. Set the Metafield Value on the Product

Next, you'll need to set the value of the "seo.hidden" metafield for the addon product you want to hide.

In your Shopify Backend, go to "Products" and locate the addon product. Click on it to open the product details page. Scroll down to the "Product Metafields" section, where you will find the metafield you just created.

Now set its value to "1". Then save the product.

4.Optional: Verify that the Product is Hidden

Wait a few minutes and the product should be hidden.

To confirm that the addon product is hidden from search and SEO, visit the product page on your storefront. In the page source code, you should see the following meta tag:

html<meta name="robots" content="noindex,nofollow">

This tag instructs search engines not to index the page or follow any links on it, effectively hiding the product from search results and SEO.

Additionally, you can test your store's search functionality to ensure the addon product doesn't appear in the results.

By following these steps, you can keep your 1-Click Addons hidden from search and SEO while still offering them to customers in EliteCart, providing a seamless and exclusive upselling experience.

Did this answer your question?