Store Context

From AbleCommerce Wiki
Revision as of 14:03, 30 November 2012 by Naveed (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);