View Single Post
  #3  
Old 01-19-2017, 04:16 AM
  ElegantXMods.com's Avatar 
ElegantXMods.com ElegantXMods.com is offline
 

Advanced Member
  
Join Date: Apr 2009
Location: Stirling, UK
Posts: 94
 

Default Re: Remove 'Quick view' from Crisp White Template

Hi Alex,
please check my attempts and see where I am most closer to a working code

PHP Code:
<?php
 
namespace XLite\Module\modx\NewArrivalsPage\Controller\Customer;



//abstract class AntiQuickLook extends \XLite\View\Product\ListItem implements \XLite\Base\IDecorator
////no result

//abstract class AntiQuickLook extends \XLite\Module\modx\NewArrivalsPage\Controller\Customer\AntiQuickLook implements \XLite\View\Product\ListItem
////XLite\Module\modx\NewArrivalsPage\Controller\Customer\AntiQuickLook cannot implement XLite\View\Product\ListItem - it is not an interface

abstract class AntiQuickLook extends \XLite\Module\modx\NewArrivalsPage\Controller\Customer\AntiQuickLook implements \XLite\Base\IDecorator
/////no result
{
    
/**
     * Return true if quick-look is enabled on the items list
     *
     * @return boolean
     */
    
protected function isQuickLookEnabled()
    {
        return 
false;
    }
}
__________________
John
ElegantXMods.com

QuickOrder AJAX-based search and ordering system now available
giving you complete control over how customers browse and search for your products. Click here for details.
PriceSlider - easily filter categories by price range - only $9.99 - details here

X-Cart 4.1, X-Cart 4.2 on Windows/IIS and Linux/Apache.
Reply With Quote