Пример #1
0
 /**
  * Initializes the manager instance.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context Context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context);
     $site = $context->getLocale()->getSitePath();
     $this->replaceSiteMarker($this->searchConfig['index.text.value'], 'mindte."siteid"', $site);
     $this->replaceSiteMarker($this->searchConfig['index.text.relevance'], 'mindte2."siteid"', $site);
     $this->replaceSiteMarker($this->searchConfig['sort:index.text.relevance'], 'mindte2."siteid"', $site);
 }
Пример #2
0
 /**
  * Initializes the manager instance.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context Context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context);
     $site = $context->getLocale()->getSitePath();
     $this->replaceSiteMarker($this->searchConfig['index.attribute.code'], 'mindat."siteid"', $site);
     $this->replaceSiteMarker($this->searchConfig['index.attributecount'], 'mindat_cnt."siteid"', $site);
     $this->replaceSiteMarker($this->searchConfig['index.attributeaggregate'], 'mindat_agg."siteid"', $site);
 }
Пример #3
0
 /**
  * Initializes the manager instance.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context Context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context);
     $site = $context->getLocale()->getSitePath();
     $this->replaceSiteMarker($this->searchConfig['index.catalog.position'], 'mindca."siteid"', $site);
     $this->replaceSiteMarker($this->searchConfig['index.catalogaggregate'], 'mindca_agg."siteid"', $site);
     $this->replaceSiteMarker($this->searchConfig['index.catalogcount'], 'mindca_cnt."siteid"', $site);
 }
Пример #4
0
 /**
  * Initializes the manager instance.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context Context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context);
     $site = $context->getLocale()->getSitePath();
     $this->replaceSiteMarker($this->searchConfig['index.price.quantity'], 'mindpr."siteid"', $site);
     $this->replaceSiteMarker($this->searchConfig['index.price.value'], 'mindpr."siteid"', $site);
     $this->replaceSiteMarker($this->searchConfig['index.price.costs'], 'mindpr."siteid"', $site);
     $this->replaceSiteMarker($this->searchConfig['index.price.rebate'], 'mindpr."siteid"', $site);
     $this->replaceSiteMarker($this->searchConfig['index.price.taxrate'], 'mindpr."siteid"', $site);
 }