cancel
Showing results for 
Search instead for 
Did you mean: 

How to add tags to products

SOLVED

How to add tags to products

Hi all. I wonder if there is any option in Magento 2 to use some kind of tags or key words, something similar like on istock.com. First I thought it could be an attribute in Magento, but I would like to have some more tags on same products. For instance, tag values would be like: sad, funny, kids, toys, birthday, smile,joke.... I know I could classify all of them into attributes like: seriiousness, age, activity...but that makes it to strict and and I don't even know all attribute values at this point. So I would need some kind of tagging, which would help filtering the products. Any ideas on this? Much thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to add tags to products

@tofi 


I see. Thank you for the clarification. 

In that case, best is to create a attribute, assign a default value to it and move it to your product attribute set and it will be applied to your entire catalogue. 

 

The other option is to create a new attribute, don't assign any value, export your entire catalogue as a CSV file and add attribute values to the CSV. Once done, just import the same csv and magento would have updated the product information for you. 

 

 

 

Magento Certified Solution Specialist | Lead Magento developer
If this response was helpful to you, consider giving kudos to this post

View solution in original post

6 REPLIES 6

Re: How to add tags to products

In my opinion, it's best to use attributes because Magento gives you more control on them - you can show/hide them on the product page and use them for layered navigation as well. 

 

Other option is to look for a third-party extension but I don't think there is one available in the market 

Magento Certified Solution Specialist | Lead Magento developer
If this response was helpful to you, consider giving kudos to this post

Re: How to add tags to products

ShoaibRehman89 thanks for quick reply. You're probably right, but I wonder what problems, or how much trouble is it to add new attributes and their values to existing products. Let's say I would add this attributes later. Is it simple as Import from csv file and selecting option "add/update" or is it much more complicated than that? Much thanks in advance.

Re: How to add tags to products

@tofi 


YOu're welcome. 

Magento doesn't have attribute migration as a native functionality so probably you'll have to get it done manually. One other way is to use Magento data migration tool to migrate the entire website content to M2.
You could also hire a developer to migrate attribute & data from M1 database to M2. 

Magento Certified Solution Specialist | Lead Magento developer
If this response was helpful to you, consider giving kudos to this post

Re: How to add tags to products

Thanks ShoaibRehman89, maybe I haven't explained good enough... I already am on Magento 2.1 and am currently uploading products via csv file to it, so I don't need any migration yet. What I was thinking was this, now all my products have required attributes (type,color,size) and one optional parameter "seriousness" for filtering purposes only. If later, when I already will have 1000 products inside, decide that I would need another optional attribute, let's say "age", can I assign values of this attribute to all existing products, via csv file? Does this go, or how much trouble will I have Smiley Wink Much thanks again for your help.

Re: How to add tags to products

@tofi 


I see. Thank you for the clarification. 

In that case, best is to create a attribute, assign a default value to it and move it to your product attribute set and it will be applied to your entire catalogue. 

 

The other option is to create a new attribute, don't assign any value, export your entire catalogue as a CSV file and add attribute values to the CSV. Once done, just import the same csv and magento would have updated the product information for you. 

 

 

 

Magento Certified Solution Specialist | Lead Magento developer
If this response was helpful to you, consider giving kudos to this post

Re: How to add tags to products

Thanks, the second option looks like my best bet, will try it on sample data.