Store Context

From AbleCommerce Wiki
Jump to: navigation, search

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);