php - How to save a Item Object in Magento to get it back later -


I want

  $ this-> _getCart () - & gt; GetItems ()  

and save it so that I can work with items after checkout! After checkout, I want to write item back in the cart.

Is anyone an idea to move forward?

It's easy:

Set the first item:

< Pre> Dana :: getSingleton ('core / session') - & gt; Setdata ('old_items', sort ($ item));

and then retrieve them:

unscreyize (dana :: getSingleton ('core / session') - & gt; getData (' Old_items'));

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -