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
call to replace anchor tags contains '/admin' in href

Form field settings as per substore

If you want any field required for one substore but not for another substore

Template : 

<label>{{field.label|msTranslate}}</label>
<div>
    <label class="radio-inline">
        <input ng-disabled="!sellerdata.metafields.standard_delivery" type="radio" ng-model='fields[field.name]'
               ng-model='fields[field.name]'
               value="standard_delivery"> Standard Delivery
    </label>
    <label class="radio-inline ms-pl-s">
        <input ng-disabled="!check_express" type="radio" ng-model='fields[field.name]'
               value="express_delivery">
        Express Delivery <span ng-show="!check_express">(Not available)</span>
    </label>

</div>

Conrtoller :

function($scope, app){

  if(ms.substore && ms.substore.alias == 'one'){
    $scope.field.settings.required = 0;
  }
  else{
    $scope.field.settings.required = 1;
  }

}

Share: