Helpcenter +918010117117 https://cdn1.storehippo.com/s/573db3149f0d58741f0cc63b/ms.settings/5256837ccc4abf1d39000001/57614ef64256dc6851749879-480x480.png" support@storehippo.com https://www.facebook.com/StoreHippohttps://twitter.com/StoreHippohttps://www.linkedin.com/company/hippoinnovations/https://plus.google.com/+Storehippo/posts
B4,309-10 Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurgaon India

ms.substore

If you have multiple substores, this object contains the details of the current substore. You can use this object in theme widgets, Site pages or in startup widgets to execute logic specific to substores.


Attributes

An attribute is used withsyntax ms-data like: 'ms-data-product', 'ms-data-pagesize', 'ms-data-uniqueId,' 'ms-data-category', 'ms-data-entity', and many more.

ValueDescription
nameName of the substore
aliasAlias of the substore

Examples

Add content specific to substore in site pages

<div ng-if="ms.substore.alias == 'china'">
    Privacy Policy for China
</div>

<div ng-if="ms.substore.alias == 'india'">
    Privacy Policy for India
</div>