Timeline for Removing "Compare" from my template in Magento 2
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 7, 2016 at 15:50 | comment | added | Phoenix128_RiccardoT | Quite weird... but AFAIK they are still hardowrking on making all the code compliant with the guidelines. So maybe in the next future. | |
Mar 7, 2016 at 15:49 | comment | added | Fabian Schmengler | Agreed, under this conditions. I was just baffled that you cannot configure it, not even via layout XML action. | |
Mar 7, 2016 at 15:47 | comment | added | Phoenix128_RiccardoT | Yep, same conclusion. I think it would be better to override template file since it is an "aesthetic" modification. $showCompare = false; after the switch. | |
Mar 7, 2016 at 15:34 | comment | added | Fabian Schmengler |
Wow, it's really hard coded in the templates, I don't see any other way either, except overriding Magento\Catalog\Helper\Product\Compare and let all the get*Url() methods return an empty string.
|
|
Mar 7, 2016 at 15:06 | history | answered | Phoenix128_RiccardoT | CC BY-SA 3.0 |