Tuesday 02 August 2005 6:00:22 am
Hi Albert, You can`t access more parameters because only offset is available for view orderlist of module shop. This is not recommend but if you want to access more variables you will have to hack kernel\shop\module.php and add more params in
$ViewList["orderlist"] = array(
"functions" => array( 'administrate' ),
"script" => "orderlist.php",
"default_navigation_part" => 'ezshopnavigationpart',
"unordered_params" => array( "offset" => "Offset", "producto" => "Producto" ), //parameters
"params" => array( ) );
and also add in orderlist.php file
$producto = $Params['Producto'];
and change line
$viewParameters = array( 'offset' => $offset);
to
$viewParameters = array( 'offset' => $offset, 'producto' => $producto );
Now you should see two params, offset and producto and display it with {$view_parameters.producto}
Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog
|