0

is there a chance to get (only) all products assigned to a tag by a URL-request like it is done with the request url.com?q=mysearch

Like, if I had a tag "mysearch" assigned to 23 products and one different product was named "mysearch super-pants" the user gets displayed 24 products with url.com?q=mysearch

Would a different param filter that maybe? Like url.com?t=mysearch

Thanks!

0

Do you want magento's default tag functionality? You could add the product attribute tag as multi select and enable it for layered navigation. Than you can do something like this:

url.com/clothes/?tag=31

Maybe this is not ideal because you want to use the tag name instead of tag value for this. There are a lot of layered navigation modules available who provide this kind of functionality to have this "nicer" url work. For example Amasty's layered navigation and ManaDev's layered navigation.

If you don't want this then you could think about writing a frontend module where you catch the tag name as url parameter and display the correct products accordingly. There's some code snippet in this post you can look at, this is using magentos default tags.

Get products by product tags

There are a lot of options depending on what you want exactly. Above are some ways to do it. If you require more information just let me know :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.