Quantcast
Channel: Magento Resource » design
Viewing all articles
Browse latest Browse all 10

How to determine Store ID for multi-type Magento site

$
0
0

Here is a quick reference for you, if you run Magento under Multi-language, Multi-Currency or Multi-Domain (Multi-Website).

Sometime you need pick up the Store ID do some (IF…ELSE…) work. Here is the code:

1
<?php $store_id = $this->helper('core')->getStoreId(); echo $store_id; ?>

Viewing all articles
Browse latest Browse all 10

Trending Articles