Jump to content

Box with Content from selected Product


Recommended Posts

Hey Guys

I will develop a Box, this was published the Features List and other Content.

How can I request a product is viewed?

So that if a product is the box with the product features is filled and if no product appears to be the box empty.

With it, there are only about a variable allowing me ProductID of the current product on there?

By Chris

Link to comment
Share on other sites

So I could solve the problem!

For all the times are the same.

Here's an example:

    function hookRightColumn($params)
   {
       global $smarty;

       if ($accuinfo = (isset($_GET['id_product'])))
           $smarty->assign(array(
           'accuinfo' => $accuinfo
       ));
       return $this->display(__FILE__, 'blockaccuinfo.tpl');
   }

Link to comment
Share on other sites

×
×
  • Create New...