作者:桃花源主ITXB | 来源:互联网 | 2023-02-04 12:59
Iwanttogetthedefaultstoreidofcurrentlyactivewebsite.Itried我想获取当前活动网站的默认商店ID。我试过了Mage
I want to get the default store id of currently active website.I tried
我想获取当前活动网站的默认商店ID。我试过了
Mage::app()->getStoreId()
. It gets the current store but not the default store id of the current website. How to get it ? Any sugessions will be appreciated
3 个解决方案