File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Catalog/Block/Product/View Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public function getAdditionalData(array $excludeAttr = [])
79
79
$ product = $ this ->getProduct ();
80
80
$ attributes = $ product ->getAttributes ();
81
81
foreach ($ attributes as $ attribute ) {
82
- if ($ this ->shouldDisplay ($ attribute , $ excludeAttr )) {
82
+ if ($ this ->isVisibleOnFrontend ($ attribute , $ excludeAttr )) {
83
83
$ value = $ attribute ->getFrontend ()->getValue ($ product );
84
84
85
85
if ($ value instanceof Phrase) {
@@ -107,7 +107,7 @@ public function getAdditionalData(array $excludeAttr = [])
107
107
* @param array $excludeAttr
108
108
* @return bool
109
109
*/
110
- protected function shouldDisplay (
110
+ protected function isVisibleOnFrontend (
111
111
\Magento \Eav \Model \Entity \Attribute \AbstractAttribute $ attribute ,
112
112
array $ excludeAttr
113
113
) {
You can’t perform that action at this time.
0 commit comments