willrose84 Posted May 21, 2010 Share Posted May 21, 2010 Hi i need to make the pruduct image in product- list change to a different one on roll over any help would be great i list the image code below. {$category->name|escape:'htmlall':'UTF-8'} {if $products} {include file=$tpl_dir./product-sort.tpl} {/if} <!-- MODULE Home Featured Products -->{if isset($p) AND $p} {if $smarty.get.id_category|intval} {assign var='requestPage' value=$link->getPaginationLink('category', $category, false, false, true, false)} {assign var='requestNb' value=$link->getPaginationLink('category', $category, true, false, false, true)} {elseif $smarty.get.id_manufacturer|intval} {assign var='requestPage' value=$link->getPaginationLink('manufacturer', $manufacturer, false, false, true, false)} {assign var='requestNb' value=$link->getPaginationLink('manufacturer', $manufacturer, true, false, false, true)} {elseif $smarty.get.id_supplier|intval} {assign var='requestPage' value=$link->getPaginationLink('supplier', $supplier, false, false, true, false)} {assign var='requestNb' value=$link->getPaginationLink('supplier', $supplier, true, false, false, true)} {else} {assign var='requestPage' value=$link->getPaginationLink(false, false, false, false, true, false)} {assign var='requestNb' value=$link->getPaginationLink(false, false, true, false, false, true)} {/if}{if isset($orderby) AND isset($orderway)}<!-- Sort products -->{if $smarty.get.id_category|intval} {assign var='request' value=$link->getPaginationLink('category', $category, false, true)}{elseif $smarty.get.id_manufacturer|intval} {assign var='request' value=$link->getPaginationLink('manufacturer', $manufacturer, false, true)}{elseif $smarty.get.id_supplier|intval} {assign var='request' value=$link->getPaginationLink('supplier', $supplier, false, true)}{else} {assign var='request' value=$link->getPaginationLink(false, false, false, true)}{/if}<!-- /Sort products -->{/if} <!-- Pagination --> {if $start!=$stop} {if $p != 1} {assign var='p_previous' value=$p-1} goPage($requestPage, $p_previous)}"> {l s='Previous'} {else} {l s='Previous'} {/if} {if $start>3} goPage($requestPage, 1)}">1 ... {/if} {section name=pagination start=$start loop=$stop+1 step=1} {if $p == $smarty.section.pagination.index} {$p|escape:'htmlall':'UTF-8'} {else} goPage($requestPage, $smarty.section.pagination.index)}">{$smarty.section.pagination.index|escape:'htmlall':'UTF-8'} {/if} {/section} {if $pages_nb>$stop+2} ... goPage($requestPage, $pages_nb)}">{$pages_nb|intval} {/if} {if $pages_nb > 1 AND $p != $pages_nb} {assign var='p_next' value=$p+1} goPage($requestPage, $p_next)}">{l s='Next'} {else} {l s='Next'} {/if} {/if}{/if} <!-- /Pagination -->{$HOOK_LEFT_COLUMN} {if isset($products) AND $products} {assign var='liHeight' value=360} {assign var='nbItemsPerLine' value=5} {assign var='nbLi' value=$products|@count} {assign var='nbLines' value=$nbLi/$nbItemsPerLine|ceil} {assign var='ulHeight' value=$nbLines*$liHeight} {foreach from=$products item=product name=products} {assign var='productLink' value=$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)} {if $product.new == 1}{l s='NEW'}{/if} {$product.name|truncate:30|escape:'htmlall':'UTF-8'} {displayWtPrice p=$product.price} {/foreach} {else} {l s='No featured products' mod='homefeatured'} {/if}<!-- /MODULE Home Featured Products --> Link to comment Share on other sites More sharing options...
Djolhan Posted May 23, 2010 Share Posted May 23, 2010 Just go in your global.css to see what is on the :hover link and change it to feat your need 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