Smartstore
Smartstore copied to clipboard
DRY: Add hasStoreScope parameter to LoadSetting and SaveSetting attributes
It is a BAD decision to do it this way:
// This module has no store scope configuration.
Services.WorkContext.CurrentCustomer.GenericAttributes.AdminAreaStoreScopeConfiguration = 0;
It is repetitive and overwrites the user setting.