badyl Posted September 28, 2010 Share Posted September 28, 2010 Hi. I'm trying to get information about $id_order (number of active order) for my script. I've placed script in last step of the order, inside file "order-confirmation.tpl":[removed]<!--active_order_id = '{$id_order = Order::getOrderByCartId(intval($id_cart))}';//-->[removed]It works fine, but only when I pay with "bankwire". When I try to use "cashondelivery" then $id_order is null. Maybe You can help? Do I need to place my script in other file? Or maybe there is other method to get $id_order than "getOrderByCartId"? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now