chrischnian Posted October 16, 2008 Share Posted October 16, 2008 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 More sharing options...
chrischnian Posted October 16, 2008 Author Share Posted October 16, 2008 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 More sharing options...
Recommended Posts