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

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -