larpstore Posted June 23, 2020 Share Posted June 23, 2020 I wanted to change the destination Url of the Brand Logo module. At the moment each brand image points to its own manufactures page (getmanufacturerLink($brand['id_manufacturer'). I wish to have all images pointing to my store page instead. How do I go about doing this? Thanks <section class="brands"> {if $brands} {assign var='sliderFor' value=5} <!-- Define Number of product for SLIDER --> {assign var='brandCount' value=count($brands)} {if $slider == 1 && $brandCount >= $sliderFor} <div class="customNavigation"> <a class="btn prev brand_prev"> </a> <a class="btn next brand_next"> </a> </div> <div class="products"> <ul id="brand-carousel" class="tm-carousel product_list"> {else} <ul id="brand-grid" class="brand_grid product_list grid row gridcount"> {/if} {foreach from=$brands item=brand name=brand_list} <li class="{if $slider == 1 && $brandCount >= $sliderFor}item{else}product_item col-xs-12 col-sm-4 col-md-3{/if}"> <div class="brand-image"> <a href="{$link->getmanufacturerLink($brand['id_manufacturer'], $brand['link_rewrite'])}" title="{$brand.name}"> <img src="{$link->getManufacturerImageLink($brand['id_manufacturer'])}" alt="{$brand.name}" /> </a> </div> {if $brandname} <span class="h3 product-title" itemprop="name"> <a class="product-name" itemprop="url" href="{$link->getmanufacturerLink($brand['id_manufacturer'], $brand['link_rewrite'])}" title="{$brand.name}">{$brand.name}</a> </span> {/if} </li> {/foreach} </ul> {else} <p>{l s='No brand' d='Shop.Theme.Global'}</p> {/if} </div> </section> Link to comment Share on other sites More sharing options...
El Patron Posted June 23, 2020 Share Posted June 23, 2020 clicking on brands is not the same as category, you lose all filtering, IMHO a brand should be a category....brands are highly overrated. Link to comment Share on other sites More sharing options...
larpstore Posted June 23, 2020 Author Share Posted June 23, 2020 I am not using it for Brands at all. I just want it to go to my store page no matter the image selected. Basically having the module point to the stores page url (http://artdesignmarielouise.com/fr/ou-acheter) 1 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