cancel
Showing results for 
Search instead for 
Did you mean: 

Change store before create order

Change store before create order

Hello,

 

I created an observer in event "sales_order_place_before".I have a multistore and I want to remove all products of the quote and add products of other store view. I don´t know how to change of store Smiley Sad

 

 

Thank you and sorry for my english !

1 REPLY 1

Re: Change store before create order

store view shares products, so you don't have to remove and add again when swithcing stores, you can simply set store id to quote and Mage::app()->setCurrentStore()