Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Price comparators tag - ID of a future order ? 
 
leruss
Jr. Member
 
Total Posts:  21
Joined:  2008-08-13
 

Hi all,

I need to get the ID of an order to come on the page /checkout/onepage to add it to a tag required by a price comparator…

On the success page, I can use the code :

$orderId Mage::getSingleton('checkout/session')->getLastOrderId();

But no way to use this code on the /checkout/onepage template…

Is there a way to get the ID of the order when being in the checkout process ?

Thanks,

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top