Share » Forums » Setup & design » problem with customerorderview.tpl

problem with customerorderview.tpl

problem with customerorderview.tpl

Friday 30 November 2007 3:22:29 am - 2 replies

Author Message

Pascal Specht

Friday 30 November 2007 4:18:04 am

Hi Christian,

At some point the customerorderview.tpl gets feeded by the corresponding PHP module, via the following code:

$Email = urldecode( $Email );
$productList =& eZOrder::productList( $CustomerID, $Email );
$orderList =& eZOrder::orderList( $CustomerID, $Email );

$tpl->setVariable( "product_list", $productList );
$tpl->setVariable( "order_list", $orderList );

I guess you will have to look at your php module that instantiates you template, and do something similar there.

Hope this helps,

</Pascal>

christian bencivenni

Friday 30 November 2007 5:24:43 am

mmmm...
thanks Pascal.
I hoped do not need to change .php

I'm searching a way to make a Fetch ezorder object but I don't know...

Any idea?

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu