Grabbing the store code from Magento can be quite easy. The following code has always done the trick for me.
<?php echo Mage::app()->getStore()->getCode(); ?>

Grabbing the store code from Magento can be quite easy. The following code has always done the trick for me.
<?php echo Mage::app()->getStore()->getCode(); ?>Here at Beckin, my web development studio, I put a lot of time into writing how to guides / articles that make tech easier to understand. If you found one useful, consider buying me a coffee ☕ — it’s a small way to say thanks and it motivates me to keep sharing.