removeAllConfiguratorVariants example

public function deleteAllVariantsAction()
    {
        $productId = (int) $this->Request()->getParam('articleId');
        if (empty($productId)) {
            $this->View()->assign([
                'success' => false,
            ]);

            return;
        }
        $this->removeAllConfiguratorVariants($productId);
        $this->View()->assign([
            'success' => true,
        ]);
    }

    /** * @return void */
    public function saveMediaMappingAction()
    {
        $imageId = (int) $this->Request()->getParam('id');
        
Home | Imprint | This part of the site doesn't use cookies.