We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0734794 + 88ca0e2 commit 7bd9298Copy full SHA for 7bd9298
src/Model/Resolver/Products/DataPostProcessor/Attributes.php
@@ -286,15 +286,11 @@ protected function isAttributeSkipped(
286
Attribute $attribute,
287
bool $isSingleProduct
288
): bool {
289
- if ($isSingleProduct) {
290
- return !$attribute->getIsVisibleOnFront(); // skip attribute if is is not visible on FE
291
- }
292
-
293
/**
294
- * On PLP, KEEP attribute if it is used on PLP and is visible on FE.
295
- * This means if not visible on PLP or is not visible we should SKIP it.
+ * On PLP, KEEP attribute if it is used on PLP.
+ * This means if not visible on PLP we should SKIP it.
296
*/
297
- return !$attribute->getUsedInProductListing() || !$attribute->getIsVisibleOnFront();
+ return !$attribute->getUsedInProductListing();
298
}
299
300
0 commit comments