explodedk Posted June 14, 2014 Share Posted June 14, 2014 This is a really long shot - but is it possible to script your way out of this suggestion : on my page - http://billigedufte.dk/13_calvin-klein i want to show a gender icon next to the reference field in the product-list view. i've made a mockup of what i want: I have a feature on each product called Køn: Mænd or Kvinder (gender: men or women) and if feature:Køn == Kvinder then it should show the female gender icon, and if feature is mænd it should show the male gender icon... Im not sure if this is even possible Link to comment Share on other sites More sharing options...
PSfever.com Posted June 15, 2014 Share Posted June 15, 2014 Hi, surely it is possible, but you will need to first assign features as an array to to Category page (in your controller file) then through a if condition check if the value/name of that feature is equal to something and based on this a new span with an image inside can show up. If you don't have the necessary knowledge for doing this, I'd recommend you to look for freelancer, sadly this is not job that can be solved in just a few minutes here on forum... Link to comment Share on other sites More sharing options...
vekia Posted June 15, 2014 Share Posted June 15, 2014 you've got categories based on gender ? Link to comment Share on other sites More sharing options...
explodedk Posted June 15, 2014 Author Share Posted June 15, 2014 (edited) Yes. Everything is in for her/eau de parfume. And for him/eau de toilette and so on... Edited June 15, 2014 by explodedk (see edit history) Link to comment Share on other sites More sharing options...
explodedk Posted June 16, 2014 Author Share Posted June 16, 2014 vekia ? Link to comment Share on other sites More sharing options...
PSfever.com Posted June 16, 2014 Share Posted June 16, 2014 Hi, I am certainly not Vekia, but I think the solution might be even easier then :-) If your categories are based on genders, it would be sufficient to create two arrays. One with IDs of categories for women, one with IDs of categories for men. Then in product-list.tpl you will simply create two conditions. Once if the ID of the default category of this product is equal to one of the ID out of the "women array", it would show up a particular jpg/png file. Else, if it's equal to "men array", show the other icon. If it equals to something else, leave the space blank. Link to comment Share on other sites More sharing options...
explodedk Posted June 16, 2014 Author Share Posted June 16, 2014 that's way out of my league Link to comment Share on other sites More sharing options...
PSfever.com Posted June 16, 2014 Share Posted June 16, 2014 Oh well, it does not get easier than this I think...Try posting a Job Offer here in forum someone (me including, maybe) will contact you with an offer. 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