Using Product Tags to Create Collections

As e-commerce inventory grows, it can be equally challenging for both retailers and their customers to keep track of what is on offer at any particular time. The solution is something Shopify calls ‘collections’, groups of items that are listed together based on some sort of product tag. If it helps, you can think of product tags like hash tags.

Using Product Tags to Create Collections

Product tags are easy to use once the function has been implemented within Shopify. However, therein is the rub. The function is not automatically available out-of-the-box. It either has to be implemented manually or the Shopify retailer has to choose a theme in which the tag function is built-in. Continue reading to learn more about both.

Themes with Built-In Functionality

Choosing a theme with built-in tag functionality is the easiest way to go. The Shopify Minimal theme is just one example. Right within the theme settings there is an option for turning product tags on and off at will. You just go into the settings and set your preference.

When product tags are in use, your customers can browse by tag simply by using the ‘browse by’ drop down menu that appears on product pages. They could browse based on whatever tags you have set up. Examples might be:

  • New arrivals
  • Bestsellers
  • Special offers
  • Discontinued products.

There really is no limit to the number and types of tags you can use. However, you will have to implement the product tag feature manually if you theme does not come with it built-in.

Enabling Product Tags Manually

Implementing the product tag feature manually is not hard even though it involves modifying a little bit of code. Do not be nervous about this, even if you have no coding experience. The process is explained in simple terms below. If you need more help, the Shopify documentation offers all the details.

To implement the product tag function manually, you’ll need to edit the theme.liquid file. Login to your Shopify Admin to get started. Once in, click on ‘Themes’ then locate the theme you want to add the function to. Click on ‘Actions’ followed by ‘Edit code’. You will be presented with a file directory; find and open the theme.liquid file.

Now you will need to scroll down near the bottom of the file to find the </body> tag that closes the main body of your theme’s pages. Place your cursor there and click. Next, open a new tab in your web browser and navigate to the following link:

Here you will find Shopify’s code written as a script. Copy the code, then return to the theme.liquid file and the line where you placed your cursor. Paste the code right there. It should appear before the </body> tag. Now just click ‘Save’ to finalize your changes. You have now implemented the tag function in your theme. The next step is to add drop-down menus to collection pages. Instructions for doing that will be discussed in the next blog post.

Leave a Reply

Your email address will not be published. Required fields are marked *