cancel
Showing results for 
Search instead for 
Did you mean: 

Additional order data

Additional order data

Hi, i created extension that save additional orderd data (receiver point) to database. After installing plugin, my extension don't save any additional data (my columns are empty).

 

To write my points i use Observer.php:

 

public function checkout_controller_onepage_save_shipping_method($observer) {
	$request = $observer['request'];
	$quote = $observer['quote'];
	$address = $quote->getShippingAddress();

	if ("xxx" == $address->getShippingMethod()) {
		$quote->setxxx1(*mydata1*);
		$quote->setxxx2(*mydata2*);
		$quote->setxxx3(*mydata3*);
		$quote->save();
	}
}

Had same problem with my local magento, but next day it suddenly worked...

I have check mydata's, all have good values.

 

Any help would be good Smiley Happy

 

@Edit

After few Flush Magento CacheFlush Cache Storage plugin started working...