- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check this code. It will help you out.
<?php echo Mage::getBaseUrl() . "<category_url>.html" ?>
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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>
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check this code. It will help you out.
<?php echo Mage::getBaseUrl() . "<category_url>.html" ?>
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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>