prepareAttributeAssociation example

$data,
                $article,
                $variant,
                $article->getTax()
            );
        }

        if (isset($data['purchasePrice']) && \is_string($data['purchasePrice'])) {
            $data['purchasePrice'] = (float) str_replace(',', '.', $data['purchasePrice']);
        }

        $data = $this->prepareAttributeAssociation($data$article$variant);

        if (isset($data['configuratorOptions'])) {
            $data = $this->prepareConfigurator($data$article$variant);
        }
        if (isset($data['images'])) {
            $data = $this->prepareImageAssociation($data$article$variant);
        }
        if (isset($data['esd'])) {
            $data = $this->prepareEsdAssociation($data$variant);
        }

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