Wrong method called for Add To Compare button #39754
Labels
Reported on 2.4.x
Indicates original Magento version for the Issue report.
Triage: Dev.Experience
Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
An incorrect method is used in
\Magento\Catalog\Ui\DataProvider\Product\Listing\Collector\Url::collect()
.It should be
\Magento\Catalog\Api\Data\ProductRenderInterface::getAddToCompareButton()
instead of\Magento\Catalog\Api\Data\ProductRenderInterface::getAddToCartButton()
https://github.com/magento/magento2/blame/9a7352b7dce3225b0313f0be150c2d4895256cec/app/code/Magento/Catalog/Ui/DataProvider/Product/Listing/Collector/Url.php#L82
The text was updated successfully, but these errors were encountered: