Thread: Rebuild thumbs
View Single Post
  #7  
Old 06-15-2015, 11:41 PM
 
Roman Prisiazniuk Roman Prisiazniuk is offline
 

Member
  
Join Date: Jun 2015
Posts: 27
 

Default Re: Rebuild thumbs

Here is a code of ACategory.php
PHP Code:
namespace XLite\Module\XC\CustomSkin\View;

class 
ACategroy extends \XLite\View\ItemsList\Product\Customer\Category\ACategroy implements \XLite\Base\IDecorator
{

    protected function 
defineWidgetParams()
    {
        
parent::defineWidgetParams();

        
$this->widgetParams += array(
            
self::PARAM_PRODUCT_ID => new \XLite\Model\WidgetParam\ObjectId\Product('Product Id'0true),
            
self::PARAM_ICON_MAX_WIDTH => new \XLite\Model\WidgetParam\Int(
                    
'Maximal icon width'270true
                
),
            
self::PARAM_ICON_MAX_HEIGHT => new \XLite\Model\WidgetParam\Int(
                    
'Maximal icon height'270true
                
),
        );
    }

but it does not work
__________________
xcart5
Reply With Quote