sArticlesComparisons example

$this->additionalTextService = $container->get(AdditionalTextServiceInterface::class);
        $this->searchService = $container->get(ProductSearchInterface::class);
        $this->queryAliasMapper = $container->get(QueryAliasMapper::class);
        $this->frontController = $container->get('front');
        $this->legacyStructConverter = $container->get(LegacyStructConverter::class);
        $this->legacyEventManager = $container->get(LegacyEventManager::class);
        $this->session = $container->get('session');
        $this->storeFrontCriteriaFactory = $container->get(StoreFrontCriteriaFactoryInterface::class);
        $this->productNumberService = $container->get(ProductNumberServiceInterface::class);
        $this->listingLinkRewriteService = $container->get(ListingLinkRewriteServiceInterface::class);

        $this->productComparisons = new sArticlesComparisons($this$container);
    }

    /** * Delete products from comparision chart * * @param int $article Unique product id - refers to s_articles.id */
    public function sDeleteComparison($article)
    {
        $this->productComparisons->sDeleteComparison($article);
    }

    
Home | Imprint | This part of the site doesn't use cookies.