Questions tagged [compare]

Questions about the "compare products" feature. Do not use this tag for questions about comparing anything else.

Filter by
Sorted by
Tagged with
46
votes
17answers
76k views

Magento 2: Safe and easiest way to disable Compare products & Wishlist Module

I am building Magento 2.0 only to sell 2 of my products online. The compare products and wishlist module is irrelevant for me. How I safely and easily remove those modules? I dont want to hack the ...
3
votes
1answer
539 views

Magento 1 How to Hide Empty or Null Attribute in Compare Page

I've realised there are many answer which actually are technically incorrect because they only are taking into account one product. They remove any attribute that is empty or null even if the second ...
1
vote
1answer
6k views

How to get global messages in compare products page, getMessagesBlock is empty

I'm trying to get global messages in compare products page, but none of the messages get rendered, instead all of them appear in any subsequent page I'm going, after producing messages with for ...
3
votes
2answers
1k views

How to add product to compare products using product id programmatically in Magento 2

How to add product to compare products using product id programmatically. Please give me suggestions.
2
votes
2answers
2k views

magento 2 - Set limit to the compared product

I need to set limit to the compared product, for example: max_limit 4, But now it is adding Number of products to compare list. Kindly suggest.
1
vote
3answers
2k views

how to get Compared Product collection in magento 2

How can I get the Products that are already added in the compare list Product Collection. For Visitor and as well as Login Customer. Can anyone guide me to solutions.
0
votes
2answers
1k views

hide empty attributes from compare product [duplicate]

How can i hide empty attributes from compare product? is it possible ? if yes how ? For better understanding i attached image please look in it. Thank you in advance.