cancel
Showing results for 
Search instead for 
Did you mean: 

Home Page Brand Images that on click each link to a set of products of the brand

SOLVED

Home Page Brand Images that on click each link to a set of products of the brand

I am new to magento, and I am trying to add a link to the images that I put to the home page, to link the images to the products that it represents. When the user click Adidas for example he should be redirected to a page where he sees all the adidas Items. Can someone guide me on how this can be done? Thank you in advance.

2 REPLIES

Re: Home Page Brand Images that on click each link to a set of products of the brand

@ibrahimkarakira

 

 

Check this code. It will help you out.

 

<?php echo Mage::getBaseUrl() . "<category_url>.html" ?>
Found something useful, please give "Kudos" or "Accept as Solution" for Token of Appreciation.
Free Magento Extensions : https://magecomp.com/free-magento-extensions.html

Re: Home Page Brand Images that on click each link to a set of products of the brand

I am doing it using the content in the CMS... but I used the code below which doesn't use php, but it uses the base_url and links the image to the category.

<li><a href="{{config path="web/secure/base_url"}}accessories/eyewear.html"><img alt="An eye for detail - Click to Shop Eye Wear" src="{{media url="wysiwyg/slide-1.jpg"}}" /></a></li>