Jump to content

add text to the miniature list block


Recommended Posts

thank's,
i use the 1.7 version.

...   
public function displayProductListReviews($params)
    {
        $this->smarty->assign(array(
            'note' => '3.8',
            'nbParticipant' => '15245'
        ));

      
      return $this->hookDisplayFooterProduct();   
    }
    public function hookDisplayFooterProduct(){
        return $this->display(__FILE__, '/views/templates/hook/blockproductminiature.tpl');
    }
...

and in my tpl file (blockproductminiature.tpl) :

La participation est de {$nbParticipant}:
La note: {$note}/5 <br/>
{debug}

but this not work. 

 

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...