- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using a color attribute with images. I want to personalize the filter with the color image.
But I dont' know how acces to the attribute image url.
Thanks!
Gerard.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @gpifarre
Please use configurable swatches available in magento and set-up properly. Also use this link for reference
https://www.templatemonster.com/help/magento-how-to-add-and-manage-configurable-swatches.html#gref
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Acces to the attribute Image
Hi @gpifarre,
I am not sure if I understood your question.
If you are trying to get the thumbnail image for a product, you can use this code:
Mage::helper('catalog/image')->init($product, 'thumbnail');
Best regards.
Gabriel
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @gpifarre
Please use configurable swatches available in magento and set-up properly. Also use this link for reference
https://www.templatemonster.com/help/magento-how-to-add-and-manage-configurable-swatches.html#gref