Data Loss in Progress Bar When Moving to New Tab in Magento Checkout

checkoutmagento-1.8onepage-checkouttabs

My requirement is to customize the Onepage checkout process and adding a new step between the “Payment Information” and “Review” Steps.

So I followed the following instruction.

http://www.fontis.com.au/blog/magento/adding-step-onepage-checkout

enter image description here

But after following this, my new tab is displayed on One Step Checkout Page. But When i click to my custom tab, the Side Bar that display Checkout progress is not showing any information it showed previously.

Please Help me.

Best Answer

This is an issue with the checkout.steps variable in the checkout.initialize method. You should add your custom step to the array of steps like so:checkout.steps = ["login", "billing", "shipping", "shipping_method", "payment","customtab", "review"]