Hot answers tagged

2

You can go with this extension. Not used it personally but demo seems promising. Extension Link


2

I have tuned the answer that you did find faulty. The change is minor but hopefully it resolve your issue. public function aroundExecute( \Magento\Catalog\Controller\Product\Compare\Add $subject, callable $proceed ) { $count = $this->helper->getItemCount(); if ($count >= self::$LIMIT_TO_COMPARE_PRODUCTS) { ...


1

In 3 steps of various difficulties: change the input that is in the product listing from an anchor to become a checkbox. Leaving the appearance as it is will be good though. when the checkbox is hit for either of the products in the category listing, this would update the compare sidebar widget in real time (at the moment, the page is reloaded and this is ...


1

I have found a solution that consists in mimicking the category product listing. Using the below would resolve your issue. /** * @var \Magento\Catalog\Block\Product\ImageBuilder */ private $imageBuilder; $item['image'] = $this->imageBuilder->create($item, 'category_page_grid')->toHtml(); and in the template <div data-bind="...


1

I have worked out a solution for your problem. To make this happening, I have taken over the Magento template for the compare product listing. The template gains awareness of the product attributes' groups from the attributes Magento has come up with the function below: /** * @param \Magento\Catalog\Api\Data\ProductInterface $product * @return ...


Only top voted, non community-wiki answers of a minimum length are eligible