Skip to content

Is there a specific reason for only loading product EAV attributes that are visible on frontend? #291

@junioradwise

Description

@junioradwise

In vendor/yireo/magento2-googletagmanager2/Config/Source/ProductAttributes.php:36 the following code is used:

$this->searchCriteriaBuilder->addFilter('is_visible_on_front', 1);

This means that only EAV attributes that are visible on frontend are rendered and able to be used to push to dataLayer. Is this on purpose as in our case we would like to push attributes that are not displayed on the frontent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions