public function renderPropertiesAction(ProductInterface $product)
    {
        $provider = $this->get('sonata.product.pool')->getProvider($product);

        return $this->render(sprintf('%s:properties.html.twig', $provider->getBaseControllerName()), [
            'product' => $product,
        ]);
    }
public function renderPropertiesAction(ProductInterface $product)
    {
        $provider = $this->get('sonata.product.pool')->getProvider($product);

        return $this->render(sprintf('%s:properties.html.twig', $provider->getBaseControllerName()), [
            'product' => $product,
        ]);
    }
public function renderPropertiesAction ( ProductInterface $ product ) { $ provider = $ this -> get ( 'sonata.product.pool' ) -> getProvider ( $ product ) ; return $ this -> render ( sprintf ( '%s:properties.html.twig' , $ provider -> getBaseControllerName ( ) ) , [ 'product' => $ product , ] ) ; }
Renders product properties.

@param ProductInterface $product

@return Response
Renders product properties .