coolpapes Posted April 22, 2015 Share Posted April 22, 2015 I can't figure out how the order of the little color picker boxes on the product list is determined. The colors are displayed in one order on the product list and a different order on the product page. Here's a link to the product list: http://discountwallc.../1880-geometric The order on the product page is the order of the colors in the list of values in the BO but the order on the product list makes no sense. I am using 1.6.0.8 but have updated product-list-colors.tpl with the latest forge update. I just cannot figure this out. Any help would be greatly appreciated. Thank you. Link to comment Share on other sites More sharing options...
Paulito Posted April 22, 2015 Share Posted April 22, 2015 Hello It would be so much better for you if you post your topic in just one forum. Posting a topic in more than one forum might be great for you but it makes it harder for other members to find a solution to the same/similar problem. Hope you do not mind me mentioning this. Paul Link to comment Share on other sites More sharing options...
coolpapes Posted April 22, 2015 Author Share Posted April 22, 2015 I initially posted this in the ecommerce section but then thought it would be better here but then couldn't figure out how to delete the first one. If you tell me how I'll go ahead and delete the other post. Thanks Link to comment Share on other sites More sharing options...
Paulito Posted April 22, 2015 Share Posted April 22, 2015 No problem Paul Link to comment Share on other sites More sharing options...
coolpapes Posted April 24, 2015 Author Share Posted April 24, 2015 I think the problem is in the product-list-colors.tpl : <ul class="color_to_pick_list clearfix"> {foreach from=$colors_list item='color'} <li> <a href="{$link->getProductLink($color.id_product, null, null, null, null, null, $color.id_product_attribute)|escape:'html':'UTF-8'}" id="color_{$color.id_product_attribute|intval}" class="color_pick"style="background: {$color.color};"> {if file_exists($col_img_dir|cat:$color.id_attribute|cat:'.jpg')} <img src="{$img_col_dir}{$color.id_attribute|intval}.jpg" alt="{$color.name|escape:'html':'UTF-8'}" title="{$color.name|escape:'html':'UTF-8'}" width="36" height="36" /> {/if} </a> </li> {/foreach} </ul> I can't find where the $colors_list array is set, not that I would know what to do if I did find it. Can anyone help? I need to get this figured out. Thank you. Link to comment Share on other sites More sharing options...
coolpapes Posted May 11, 2015 Author Share Posted May 11, 2015 I still haven't figures this out. Does anyone have any suggestions? 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