Exemplo n.º 1
0
 /**
  * Initialize handler
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->relatedTargets['product'][] = 'upselling_products';
 }
Exemplo n.º 2
0
 /**
  * Initialize handler
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->relatedTargets[\XLite\Core\Request::getInstance()->id ? 'categories' : 'front_page'][] = 'featured_products';
 }