Jump to content

[SOLVED] product.tpl->colors not showing


breezer

Recommended Posts

Well im creating my own custom theme the thing is that
When i try to add the color part

       {if $colors}
       <!-- colors -->


{l s='Pick a color:' js=1}


           {foreach from=$colors key='id_attribute' item='color'}
{if file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')}{/if}
           {/foreach}




       {/if}


only thing showing up is the text pick color... I used firebug to debug and find any possible error, but there were none and for some reason the squares display are set to be hidden?
what might I have done to accomplish this?
All help is very very very appreciated :)
Regards

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...