auto generate tags from product description

Jake3645
New Member
4 0 0

I'm opening an online comic shop and am wondering if there's any code I can implement to take a table of character names and auto generate tags for group filtering 

example

Characters

Star-Lord (Peter Quill)
Drax the Destroyer (Arthur Douglas)
Groot
Fang
Rocket Raccoon
Wolverine (Laura Kinney)
Gamora
Brood (Alien Race)
Scout (Gabrielle Kinney)
Jonathan the Unstoppable (Jonathan)

 

and auto generate a tag for example "Character_Star-Lord (Peter Quill)" but for each character 

just trying to save myself some time so I don't have to go through and type them all in my tags for better organization on my store

Replies 2 (2)
BananaMoon
Excursionist
23 1 1

Hello,

Using liquid variables, you can use variables names like {{title.book}} with the provided for/loop. Hence it isquite easy to code with liquid.

Now with that foundation, you don't need to code a lot. You can simply state collection "pants" automatically, which must contain pants in tags.

Easy.

Jake3645
New Member
4 0 0

I’m pretty new to coding I’ve really only modified already existing code. Would you be able to show an example?