Jump to content

Button Problem


Recommended Posts

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

 

Website link: www.Chakna.com (inside all the cloth products)

 

Thx very much.

post-944743-0-63966000-1427826829_thumb.jpg

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...