Wednesday 14 December 2005 11:44:00 pm
Yes, for now there is no fetch function for orders. However you can create new siteaccess with access to shop/orderlist. or use public and override template: design/standard/templates/shop/orderlist.tpl There is array $order_list, you can look can compare current user_id with user_id from order
{let current_user=fetch( user, current_user )}
{section name="Order" loop=$order_list sequence=array(bglight,bgdark)}
{section show=eq( $Order:item.user_id, $current_user.contentobject_id )}
display something here
{/section}
{/secction}
{/let}
You will have to count of order per user in loop and store it in $order_list_count and pass to google navigator. This should work. Feel free to report new enhancement.
Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog
|