protected function setDataDescriptionIndexProduct()
    {
        $description = $this->data_product['description'];

        if (!empty($description)) {
            $exploded = $this->explodeText($description);
            if (!empty($exploded[1])) {
                $description = $exploded[1];
            }
        }

        $rendered = $this->render('product/description', array('description' => $description));
        $this->setData('description', $rendered);
    }
protected function setDataDescriptionIndexProduct()
    {
        $description = $this->data_product['description'];

        if (!empty($description)) {
            $exploded = $this->explodeText($description);
            if (!empty($exploded[1])) {
                $description = $exploded[1];
            }
        }

        $rendered = $this->render('product/description', array('description' => $description));
        $this->setData('description', $rendered);
    }
protected function setDataDescriptionIndexProduct ( ) { $ description = $ this -> data_product [ 'description' ] ; if ( ! empty ( $ description ) ) { $ exploded = $ this -> explodeText ( $ description ) ; if ( ! empty ( $ exploded [ 1 ] ) ) { $ description = $ exploded [ 1 ] ; } } $ rendered = $ this -> render ( 'product/description' , array ( 'description' => $ description ) ) ; $ this -> setData ( 'description' , $ rendered ) ; }
Sets the product description
Sets the product description