A.Hawk Posted March 31, 2015 Share Posted March 31, 2015 Hallo everyone of the Prestashop Community, i need some aid with an issue im having in the platform, the last programmer of the company put a button inside the product pages that shows you an image, but now we dont need it anymore, but i dont know how to take it off, i leave the images about it and the link to the website, pls help . Website link: www.Chakna.com (inside all the cloth products) Thx very much. Link to comment Share on other sites More sharing options...
tuk66 Posted April 1, 2015 Share Posted April 1, 2015 Remove the <a> tag between <ul id="color_to_pick_list" class="clearfix"> {assign var="default_colorpicker" value=""} {foreach from=$group.attributes key=id_attribute item=group_attribute} {assign var='img_color_exists' value=file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')} <li{if $group.default == $id_attribute} class="selected"{/if}> <a href="{$link->getProductLink($product)|escape:'html':'UTF-8'}" id="color_{$id_attribute|intval}" name="{$colors.$id_attribute.name|escape:'html':'UTF-8'}" class="color_pick{if ($group.default == $id_attribute)} selected{/if}"{if !$img_color_exists && isset($colors.$id_attribute.value) && $colors.$id_attribute.value} style="background:{$colors.$id_attribute.value|escape:'html':'UTF-8'};"{/if} title="{$colors.$id_attribute.name|escape:'html':'UTF-8'}"> {if $img_color_exists} <img src="{$img_col_dir}{$id_attribute|intval}.jpg" alt="{$colors.$id_attribute.name|escape:'html':'UTF-8'}" title="{$colors.$id_attribute.name|escape:'html':'UTF-8'}" width="20" height="20" /> {/if} </a> </li> {if ($group.default == $id_attribute)} {$default_colorpicker = $id_attribute} {/if} {/foreach} </ul> and <input type="hidden" class="color_pick_hidden" name="{$groupName|escape:'html':'UTF-8'}" value="{$default_colorpicker|intval}" /> in /themes/*/product.tpl. 1 Link to comment Share on other sites More sharing options...
A.Hawk Posted April 1, 2015 Author Share Posted April 1, 2015 Amazing im gonna try it right away =) Link to comment Share on other sites More sharing options...
Recommended Posts