I'm definitely not a programmer, it's hard for me to schedule a television recording.
However, I have to see a list of attributes in the brief description of the list of products magento 1.9.
I created a custom attribute that has multiple variables that can be selected simultaneously.
Attribute title: Ingredients
Values attrivuto, salt, oil, pepper, etc. etc.
This attribute is enabled to be visible at the front end.
After a bit of research and several copy / paste and many attempts I came to this result.
By the way I used two different "get" that give two different results
In the file list.html, inside div class = "desc std" I entered the following code:
First custom example
php echo $ _product-> getResource () -> getAttribute (& # 39; MIEI_ATTRIBUTI_1 & # 39;) -> getStoreLabel ()?>: php echo $ _product-> getAttributeText (& # 39; MIEI_ATTRIBUTI_1 & # 39;)?>
If only "salt", the magento correctly returns "salt"
, but in this case there are more variables chosen and magento returns the word "Array" after the title
Instead of writing "salt, pepper, oil, etc."
SECOND CUSTOMIZED ATTRIBUTION
php echo $ _product-> getResource () -> getAttribute (& # 39; MIEI_ATTRIBUTI_2 & # 39;) -> getStoreLabel ()?>: php echo $ _product-> getData (& # 39; MIEI_ATTRIBUTI_2 & # 39;)?>
In this case, magento returns the "id" 1,2,3, etc., etc. instead of "salt, pepper, oil, etc."
I'm sorry English I used the google translator
How can I solve it?
Can you help me?