Jump to content

[SOLVED] product.tpl->colors not showing


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}


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 :)

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More