Timeline for Magento 2 - How to know all valid attributes to use in addAttributeToSelect?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 8, 2020 at 12:39 | history | edited | Herve Tribouilloy | CC BY-SA 4.0 |
added 1 character in body
|
Oct 8, 2020 at 12:31 | vote | accept | Black | ||
Oct 8, 2020 at 11:55 | history | edited | Herve Tribouilloy | CC BY-SA 4.0 |
deleted 197 characters in body
|
Oct 8, 2020 at 11:08 | comment | added | Herve Tribouilloy | I'll bring an example.. was trying to rush it as I was seeing you screaming for an answer :-) | |
Oct 8, 2020 at 11:07 | comment | added | Black |
I used print_r($arr->getData()) and print_r($value->getData()) and it showed some interesting keys, but $arr->getData() does not contain the name. So it looks like it is not possible to select the attribute name.
|
|
Oct 8, 2020 at 11:05 | history | edited | Herve Tribouilloy | CC BY-SA 4.0 |
added 225 characters in body
|
Oct 8, 2020 at 10:59 | history | answered | Herve Tribouilloy | CC BY-SA 4.0 |