public function __construct(\Magento\Catalog\Block\Product\Context $context, \Magento\Checkout\Model\Session $checkoutSession, \Magento\Catalog\Model\Product\Visibility $productVisibility, \Magento\Catalog\Model\Product\LinkFactory $productLinkFactory, \Magento\Quote\Model\Quote\Item\RelatedProducts $itemRelationsList, \Magento\CatalogInventory\Helper\Stock $stockHelper, \Celebros\ConversionPro\Helper\Data $conversionproHelper, \Celebros\ConversionPro\Helper\CrossSell $crossSellHelper, \Magento\ConfigurableProduct\Model\Product\Type\Configurable $confModel, array $data = [])
 {
     $this->helper = $conversionproHelper;
     $this->crossSellHelper = $crossSellHelper;
     $this->_confModel = $confModel;
     parent::__construct($context, $checkoutSession, $productVisibility, $productLinkFactory, $itemRelationsList, $stockHelper, $data);
 }
Beispiel #2
0
 /**
  * Crosssell constructor.
  * @param \Magento\Catalog\Block\Product\Context $context
  * @param \Magento\Checkout\Model\Session $checkoutSession
  * @param \Magento\Catalog\Model\Product\Visibility $productVisibility
  * @param \Magento\Catalog\Model\Product\LinkFactory $productLinkFactory
  * @param \Magento\Quote\Model\Quote\Item\RelatedProducts $itemRelationsList
  * @param \Magento\CatalogInventory\Helper\Stock $stockHelper
  * @param \Boxalino\Intelligence\Helper\P13n\Adapter $p13nHelper
  * @param \Boxalino\Intelligence\Helper\Data $bxHelperData
  * @param \Magento\Catalog\Model\ResourceModel\Product\Link\Product\CollectionFactory $factory
  * @param array $data
  */
 public function __construct(\Magento\Catalog\Block\Product\Context $context, \Magento\Checkout\Model\Session $checkoutSession, \Magento\Catalog\Model\Product\Visibility $productVisibility, \Magento\Catalog\Model\Product\LinkFactory $productLinkFactory, \Magento\Quote\Model\Quote\Item\RelatedProducts $itemRelationsList, \Magento\CatalogInventory\Helper\Stock $stockHelper, \Boxalino\Intelligence\Helper\P13n\Adapter $p13nHelper, \Boxalino\Intelligence\Helper\Data $bxHelperData, \Magento\Catalog\Model\ResourceModel\Product\Link\Product\CollectionFactory $factory, array $data = [])
 {
     $this->bxHelperData = $bxHelperData;
     $this->p13nHelper = $p13nHelper;
     $this->factory = $factory;
     parent::__construct($context, $checkoutSession, $productVisibility, $productLinkFactory, $itemRelationsList, $stockHelper, $data);
     $this->getItems(false);
 }
 /**
  * Crosssell constructor.
  * @param Context $context
  * @param Config $config
  * @param CrosssellModel $crosssell
  * @param ProductFactory $productFactory
  * @param Manager $moduleManager
  * @param Visibility $productVisibility
  * @param Session $checkoutSession
  * @param LinkFactory $productLinkFactory
  * @param RelatedProducts $itemRelationsList
  * @param StockHelper $stockHelper
  * @param array $data
  */
 public function __construct(Context $context, Config $config, CrosssellModel $crosssell, ProductFactory $productFactory, Manager $moduleManager, Visibility $productVisibility, Session $checkoutSession, LinkFactory $productLinkFactory, RelatedProducts $itemRelationsList, StockHelper $stockHelper, array $data = [])
 {
     $this->_config = $config;
     $this->_crosssell = $crosssell;
     $this->_productFactory = $productFactory;
     $this->_moduleManager = $moduleManager;
     parent::__construct($context, $checkoutSession, $productVisibility, $productLinkFactory, $itemRelationsList, $stockHelper, $data);
 }
 public function __construct(\Magento\Catalog\Block\Product\Context $context, \Magento\Checkout\Model\Session $checkoutSession, \Magento\Catalog\Model\Product\Visibility $productVisibility, \Magento\Catalog\Model\Product\LinkFactory $productLinkFactory, \Magento\Quote\Model\Quote\Item\RelatedProducts $itemRelationsList, \Magento\CatalogInventory\Helper\Stock $stockHelper, array $data = array())
 {
     $this->___init();
     parent::__construct($context, $checkoutSession, $productVisibility, $productLinkFactory, $itemRelationsList, $stockHelper, $data);
 }