Well I made a mistake! I had a typo in my class. I have now successfully used your suggestion, and decorated the class \XLite\View\Product\Details\Customer\AttributesMod ify using the same code as above just changing the namespace and the extended class.
So I tried your other suggestion in order to further my knowledge. In my Main.php I have:
Code:
public static function runBuildCacheHandler()
{
parent::runBuildCacheHandler();
\XLite\Core\Layout::getInstance()->removeClassFromLists('\XLite\View\Product\Details\Customer\AttributesModify');
\XLite\Core\Layout::getInstance()->removeClassFromLists('\XLite\View\Product\AttributeValues');
}
I tried removing both classes just in case. Nothing happens. Any idea?