Issue
How do I get an image URL of an attribute option in Magento?
For example, we have attribute 'manufacturer' with options LG, Philips etc. Attribute options in Magento have a personal field for an image. I want to use that image as the logo of the manufacturer. How do I display that image on the product page?
Solution
Let me clarify - are you talking about Attributes (configured at admin panel: Catalog -> Attributes -> Manage Attributes) or about Custom Options (configured at admin panel: Catalog -> Manage Products -> select product -> Custom Options)?
Both do not have personal field for an image. That is why your question is quite confusing. Is it possible, that you have some custom extension installed, which provides that image functionality? If it is true, then you need to contact the extension's author, because only the author knows a proper method to use.
Just some references for your information:
- You can check this tutorial and free custom extension, which adds images to the dropdown Attributes. It displays images at frontend.
- You can check this solution at MagentoCommerce.com public forum, which will help you to add images to Custom Options.
Answered By - Andrey Tserkus Answer Checked By - Mary Flores (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.