Set current store

Tweet, share & co

tweet fb share g+ share

Tags


Description

Set current store passing the integer id

Code

$storeId = 1;
Mage::app()->setCurrentStore($storeId);