Difference between revisions of "Store Context"

From AbleCommerce Wiki
Jump to: navigation, search
(New page: In past for AC 7.0.x versions we were initializing the store context like below: Token.Instance.InitStoreContext(StoreDataSource.Load(1)); However for AC Gold version its little differ...)
 
(No difference)

Latest revision as of 14:03, 30 November 2012

In past for AC 7.0.x versions we were initializing the store context like below:


Token.Instance.InitStoreContext(StoreDataSource.Load(1));


However for AC Gold version its little different and bit more simple:


AbleContext.Current.Store = StoreDataSource.Load(1);