explodePriceVariation example


    public function getArticlePriceVariations($configuratorSetId)
    {
        $variationRules = $this->get('models')
            ->getRepository(Article::class)
            ->getConfiguratorPriceVariationsQuery($configuratorSetId)
            ->getArrayResult();

        foreach ($variationRules as &$variationRule) {
            $variationRule = $this->explodePriceVariation($variationRule);
        }

        return $variationRules;
    }

    public function createPriceVariationAction()
    {
        try {
            $data = $this->Request()->getPost();

            /** @var PriceVariation $priceVariation */
            
Home | Imprint | This part of the site doesn't use cookies.