Independentarts Posted June 2, 2014 Share Posted June 2, 2014 HI, I've been searching around for an answer to this, but i can't seem to find it All of my products have the same attributes, and therefore, it looks a little weird that they are displayed under every product. Is there anywhere in the coding that i can delete or add? thanks in advance, I/A Link to comment Share on other sites More sharing options...
vekia Posted June 2, 2014 Share Posted June 2, 2014 so if you don't want these attributes... why you defined them for products? Link to comment Share on other sites More sharing options...
Independentarts Posted June 2, 2014 Author Share Posted June 2, 2014 so if you don't want these attributes... why you defined them for products? because the products have combinations. its a t-shirt webshop so you can order the shirts in different colors, sizes and different print colors. but all the products can have the same 5 shirt colors and they all have the same sizes and most of them have different print colors to choose from. but i think it looks weird to have those colors displayed since they dont fit in with the theme. so i was wondering if there was a way to hide them. Link to comment Share on other sites More sharing options...
vekia Posted June 3, 2014 Share Posted June 3, 2014 hello sorry for no replies from me, i just missed your new post here okay so, if you hide color attribute, how customer will select for example RED t-shirt, or BLUE etc. ? Link to comment Share on other sites More sharing options...
Independentarts Posted June 3, 2014 Author Share Posted June 3, 2014 hello sorry for no replies from me, i just missed your new post here okay so, if you hide color attribute, how customer will select for example RED t-shirt, or BLUE etc. ? I dont want the attributes hidden in the product's page, i want them hidden when viewing a category. so i want to hide them from here: https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xpf1/v/t34.0-12/10443703_653470938065201_1556170726_n.jpg?oh=929c9412a54778d0a3660a45719b5666&oe=539013A9&__gda__=1401961465_a817322722289180e32cedaf95f07e41 not here: https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xpf1/v/t35.0-12/10426518_653470951398533_1525283134_o.jpg?oh=efd5d4fc538e1bd1647bd849b3b5456e&oe=538FC58D&__gda__=1401949533_7a976408eaced25c0a0a210994d0dec0 sorry for not adding them as attachments ( have no idea how ) thanks in advance Link to comment Share on other sites More sharing options...
vekia Posted June 3, 2014 Share Posted June 3, 2014 open file: themes/YOUR_THEME/product-list.tpl and remove / comment out this code: {if isset($product.color_list)} <div class="color-list-container">{$product.color_list} </div> {/if} 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