Rulian Posted July 10, 2015 Share Posted July 10, 2015 (edited) Hi guys,Here's a (maybe not so) simple issue I can't figure out how to deal with:Currently, my products have 2 features: 'artist' and 'label'.I already display these features in the product list, thanks to this great tutorial:http://nemops.com/features-to-product-list-prestashop-16/#.VZ-CyPlmzuONow, I need to go deeper:I'd like these displayed features to be hyperlinks to all the products with the same feature value.Example of what I'd like to display for each product:Exodus (title)artist: Bob Marley <== link to all Bob Marley's recordslabel: Tuff Gong <== link to all the Tuff Gong recordsIs there a simple way to do this, by passing a value as an URL argument to the produt list, for example ?Something like: http://www.my-site.com/productlist.php?feature_id=2&feature_value_id=34 If not, what would be the best way to go? In my wildest dreams, the final URL would be SEO friendly, something like: http://www.my-site.com/artist/bob_marley Thank you,have a nice day ! Edited July 10, 2015 by Ruliane (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted July 10, 2015 Share Posted July 10, 2015 You can get all products with a certain feature with layered navigation. Unfortunately layered navigation doesn't create url's that can be re-used. The alternative - that I am using - is to have a matrix structure of categories in which a record might be both in the subcategory artists->Bob Marley and labels->Tuff Gong. To link to the other category you will still need a little extra coding: but that is rather easy to do. As an alternative you could use the "manufacturer" field for labels. Link to comment Share on other sites More sharing options...
Rulian Posted July 10, 2015 Author Share Posted July 10, 2015 (edited) You can get all products with a certain feature with layered navigation. Unfortunately layered navigation doesn't create url's that can be re-used. The alternative - that I am using - is to have a matrix structure of categories in which a record might be both in the subcategory artists->Bob Marley and labels->Tuff Gong. To link to the other category you will still need a little extra coding: but that is rather easy to do. As an alternative you could use the "manufacturer" field for labels. Hey, thank you for your quick reply. I already use the layered navigation, just because it's the only simple way to display products from sub categories (*sigh*). And I already use a matrix structure of categories for the format (CD, single, LP, mixtape) and style (ska, reggae, ragga, dubstep...). Right now, I don't want my customer to add a new category each time a new artist/label launch a new record. There's new artists/labels almost everyday, so a feature is perfect to store this info (at least, from my point of view). > As an alternative you could use the "manufacturer" field for labels. Yeah I started with this option: manufacturers for labels and suppliers for artists but it's still kind of a quirky approach to me (no offense). Once again, thank you for your help, and for contributing to the community. Right now, the solution I'm working on is creating a new kind of page, based on this tutorial: http://nemops.com/creating-new-pages-in-prestashop/#.VZ_lSvlmzuN That being said, I'm currently a little bit disappointed by this CMS... Edited July 10, 2015 by Ruliane (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now