Jump to content

How to display tags on a product page

Recommended Posts

I'd like to display tags for a particular product on the product page itself. I understand this is not out of the box, but I hoped I could leverage the the tag cloud to reveal the tags. Unfortunately, it seems I can only choose to display all tags for my store, rather than than the ones that apply to the specific product. Note: My goal is not to create a filter. Our brand ethos centers around sustainability and our customers have strong value alignments. I want customers to be able to see which products align to their values (eg. women-owned, carbon neutral, plastic-free). As a bonus, the tags allow you to click in and filter down on all products that match a tag. I was hoping to use tags as a more scalable and universal feature (rather than hard coding text onto each product page). In this way I can feed the tags back to our CRM and leverage the values for marketing and analytics. It's also easier to manage and make sure the tags remain standardized. I believe in building scalable foundations, and while hard coded buttons/tables could work, they aren't scalable, reportable, or easily managed. Has anyone had any success with this? Is there a plugin out there that may work? Anyone tried to display the tags via their own code? Thanks!

 

Screenshot 2023-10-25 at 6.43.13 PM.png

Screenshot 2023-10-25 at 6.42.36 PM.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

I think the effect you want is possible but I'm unaware of any code that actually does this. Escentially, I think, the pieces are there. They just need to be brought together with some custom code.

The code for this effect is not easy. I would categorize this as a moderately complex piece of code. The main trick is going to be how to marry up the in product detail tags with their human readable counter parts. In a page a tag is represented as tag-my-tag. In the user interface it is represented as My Tag. There are some complexities to this process. I've had some experience with this for categories.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.