![]() So instead he talked to me about regrets. It turns out he knew he was sick but didn’t want to tell me that. There was one more reminder given of living life to the fullest and not being afraid to try something new. Almost two decades later, we would have a conversation about the things in life he regretted. He would get this sly smile on his face and he said, that place holds a lot of dreams deferred.Īs I got older he explained he wished for me to never go to my grave with regrets. There came a time when I turned to him and asked what he meant. get address from quote to see whether is changed or not.When I was growing up my step dad used to say to me every time we passed by a cemetery “that piece of land holds all the riches, ideas and innovations in the world.”įor a while I would look at him strangely and let his comment pass over my head. $this->getOnepage()->getQuote()->setBillingAddress($newBillingAddress)->save() $newBillingAddress = Mage::getModel('sales/quote_address') ![]() Create a new quote address object and pass it to the quote Mage::getSingleton('customer/session')->setBeforeAuthUrl(Mage::getUrl('*/*/*', array('_secure'=>true))) Mage::getSingleton('checkout/session')->setCartWasUpdated(false) But debugging the code shows me that the address I get from the quote is still the old one. ![]() So I extended the indexAction() method of the OnepageController and added following lines to create a new quote address object and assign it to the quote object. I need to reset the billing address of a quote whenever the the customer comes to the one page checkout page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |