Exemplo n.º 1
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[self::PARAM_LOCATION]->setValue($this->buildURL('addons_list_marketplace'));
     $this->widgetParams[self::PARAM_LABEL]->setValue('More add-ons');
     $this->widgetParams[self::PARAM_STYLE]->setValue('more-addons-button');
 }
Exemplo n.º 2
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[self::PARAM_LOCATION]->setValue($this->buildURL('addons_list_installed'));
     $this->widgetParams[self::PARAM_LABEL]->setValue('Show all');
     $this->widgetParams[self::PARAM_STYLE]->setValue('more-addons-button');
 }
Exemplo n.º 3
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[self::PARAM_LOCATION]->setValue($this->buildURL('checkout'));
     $this->widgetParams[self::PARAM_LABEL]->setValue('Checkout');
     $this->widgetParams[self::PARAM_STYLE]->setValue('regular-main-button checkout-button');
 }
Exemplo n.º 4
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[self::PARAM_LOCATION]->setValue($this->buildURL('product', '', array('id' => $this->getProduct()->getProductId(), 'page' => 'product_options', 'groupId' => '0')));
 }
Exemplo n.º 5
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(static::PARAM_METHOD => new \XLite\Model\WidgetParam\Object('Method', null, false, 'XLite\\Model\\Shipping\\Method'));
 }
Exemplo n.º 6
0
 /**
  * defineWidgetParams
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[static::PARAM_LOCATION] = new \XLite\Model\WidgetParam\String('Redirect to', $this->buildURL('checkout', 'start_express_checkout'));
     $this->widgetParams[static::PARAM_IN_CONTEXT] = new \XLite\Model\WidgetParam\Bool('Is In-Context checkout', $this->defineInContext());
 }
Exemplo n.º 7
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[static::PARAM_LOCATION]->setValue($this->buildURL('checkout'));
 }
Exemplo n.º 8
0
 /**
  * defineWidgetParams 
  * 
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[self::PARAM_LOCATION] = new \XLite\Model\WidgetParam\String('Redirect to', $this->buildURL('checkout', 'start_express_checkout'));
 }