SMFHacks.com

SMF Store => Support => Feature Requests => Topic started by: Senkusha on April 27, 2009, 12:14:08 pm

Title: Linked Keywords
Post by: Senkusha on April 27, 2009, 12:14:08 pm
Hi, I have a request (which I hope to have working code for soon  I now have working code.  You can see it in action at my site -- link is in my signature.).

What I would like is to have a Keywords field added.  Personally for my use, having it on the Category level would work great, but I guess for Products if others needed that support.

What the keywords would do, is parse the description, anywhere it finds a matching keyword, it would translate it into a hyperlink.  By clicking on that hyperlink, you'd be given a listing of all other products (categories) that have those keywords defined.

For example, I run an anime store, and I've got all my products categorized by anime title.  If I type in the keywords (in the category of say "Ranma 1/2") of "Romantic Comedy, Martial Arts, 13+", if I click on "Romantic Comedy", I'll be redirected to a new index page with a listing of other categories that have the keyword "Romantic Comedy" defined.

By adding a feature like this, you could essentially automatically create "Related Products".

What do you think?
Title: Re: Linked Keywords
Post by: SMFHacks on April 27, 2009, 07:39:47 pm
Could be done. So it pareses the description of the category and the product and checks if links need to be created to keywords?
And you need a keywords field added to the category.

I also like the display on your site where you have a category image and description near the top of each of your categories.
Title: Re: Linked Keywords
Post by: Senkusha on April 27, 2009, 09:04:09 pm
Yes.  Here is the example in action.  I'm also going to add a keywords to the products entry, and add another database table to act as an explanitory page...much like a Wiki.  Also, I'm probably going to replace the Related items once I do that, so it will automatically generate the related items (based on an exact or near exact match of *all* the keywords defined.)

Ah My Goddess (http://www.ayeka.net/forum/index.php?action=store;cat=6)

(Thanks, I'm glad you like my little modifications.  I can give you the code if you'd like)

Update: My coding is now finished!  I now have keywords for the categories, and products, and I've also added a wiki page for each keyword, and finally, I added a link to an existing media gallery, downloads, and message board discussions.