Home » Shopify » Tailoring Shopify by Hiding Collections and Products

Tailoring Shopify by Hiding Collections and Products

In your shopify online store if you want to hide some collections and their products from all guest customers and show that special collections and products to some special customer then you can customize these functionality using coding and some admin related changes in shopify. Using this you can offer some special products to your selected special customers. In this blog post we will discuss how to integrate this functionality in your shopify store. Suppose you have a medicine store and some medicine you don’t want to show all customers but some verified customers you want to show, then in that condition this feature you can use.

Why Need this Feature in Your Store?

There are some possible reasons of hide some collections and their products from all customers and display those customers that you want:

  • Special Offers: Offer your special or VIP customers with special access to some products and collections that you don’t want to show to all customers.
  • Inventory Management: To stop overselling of limited stock products you can hide a particular collection’s products from all customers and show only those that you want.
  • Targeted Marketing: Prepare your marketing strategies by offering special customers to special deals.

Implementation 

There are complete step for implement this functionality in your shopify store :

Step 1: Assign special tag to customers

First you need to assign a special tag to those customers that you want to have access to show special collections and their products. For this

  1. Logged in to your Shopify Admin.
  2. Click on Customers.
  3. Select the customer that you want to assign a tag.
  4. Add a tag like “special” and save.

Step 2: Create a Special Collection

After assigning a special tag to the customer you need to create a collection that you want to make special and add products that you want to hide from all customers. For this:

  1. Go to your Shopify Admin and click on products.
  2. Click on the Collections and then Create collection.
  3. Name your collection and add the products that you want.
  4. Save the collection.

Step 3: Add collection in navigation.

After creating the special collection you need to add this in your site’s navigation in any place that you want to show.For this

  1. Goto Shopify admin -> online store
  2. Click on Navigation and Main menu.
  3. Add Menu item, assign url and save.

Step 4: Edit the Theme code

To hide that special collection from the frontend from all customers and want to show only special customers, you need to apply changes in theme code:

  1. Go to shopify admin and Online Store > Themes.
  2. Select theme, click Actions and then Edit code.
  3. Edit the navigation related file and add some code like below.
  4. Edit the card product file for hide special collection products from collection page and search result page add some code.
  5. Edit the main-product file and add some code.

Step 5: Test the Implementation

To ensure everything is working correctly, you need to test without login and login with special customer credentials:

  1. Check that special collection in navigation, open special collection directly and special product page without login as a special customer .
  2. Login as a special customer and then check in navigation the special collection appears or not and products of that special collection showing or not and special product page displaying or not.

Step 6: Review Results

  1. Navigation without special customer Login
  2. Special collection product without special customer Login
  3. Special collection product after special customer Login
  4. Special collection page without special customer Login
  5. Special collection page After special customer Login
  6. Check that special collection in navigation, open special collection directly and special product page without login as a special customer .
  7. Login as a special customer and then check in navigation the special collection
    appears or not and products of that special collection showing or not and special
    product page displaying or not.

Conclusion

You can create a personalized shopping experience for your special customer by hiding some collections from normal customers and visible only for special customers and it manages the inventory and rewards loyalty effectively. Using this strategy you can increase your online shopify store’s functionality and increase customer relationships.

Ready to launch your Shopify store? We will create a standout site with our development and optimization services. Contact us to get started!

Leave A Comment