plugin setting

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
Hello All,

What is the difference between:
1- private readonly PayPalSmartPaymentButtonsSettings _settings;
AND
2- var storeScope = _storeContext.ActiveStoreScopeConfiguration;
   var settings = _settingService.LoadSetting<PayPalSmartPaymentButtonsSettings>(storeScope);

both load settings for a chosen store scope so what is the difference?

Thank you
3 years ago
Hello,

If you want to use setting specific storewise at that time you can use second case otherwise first.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.