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
   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

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 ACCEPTED SOLUTIONS

Accepted Solutions

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" ?>
Was my answer helpful? You can accept it as a solution.
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer

View solution in original post

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>

View solution in original post

2 REPLIES 2

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" ?>
Was my answer helpful? You can accept it as a solution.
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer

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>