Jump to content

(solved)pick color area messed up in IE browser with black&white;theme , please help


Recommended Posts

hello
pick color area of product page messed up in IE browser ,
i'm using prestashop 1.31 and black&white;theme . i tested with three different browser kern : trident (ie) , gecko (firefox), webkit . firefox shows prefet , IE messed up , and webkit shows a ? icon after colors
does anyone use black&white;theme has this same problem ?
thank you in advance

note:
i have changed pick color code in product.tpl from

        {if $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}


to

<!-- colors -->
       <!--   -->
       {if count($colors) >0 && count($colors) <=7}{/if}
       {if count($colors) >7 && count($colors) <=14}{/if}
       {if count($colors) >14 && count($colors) <=21}{/if}
       {if count($colors) >21 && count($colors) <=28}{/if}
       {if count($colors) >28 && count($colors) <=35}{/if}
       {if count($colors) >35 && count($colors) <=42}{/if}
       {if count($colors) >42}{/if} 

{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}



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...