简体   繁体   中英

How do I get image url of attribute option in Magento?

For example, we have attribute manufacturer with options LG, Philips etc. Attribute's options in Magento have personal field for image. I want use that image as logo of manufacturer. How do I display that image in product page.

Please help!

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:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM