Definition at line 13 of file Config.php.
◆ __construct()
- Parameters
-
ScopeConfigInterface | $scopeConfig | |
StoreManagerInterface | $storeManager | |
Escaper | $escaper | |
Definition at line 47 of file Config.php.
◆ getDisplayActualPriceType()
getDisplayActualPriceType |
( |
| ) |
|
Return Msrp display actual type
- Returns
- null|string
Definition at line 89 of file Config.php.
91 return $this->scopeConfig->getValue(
92 self::XML_PATH_MSRP_DISPLAY_ACTUAL_PRICE_TYPE,
◆ getExplanationMessage()
getExplanationMessage |
( |
| ) |
|
Return Msrp explanation message
- Returns
- string
Definition at line 103 of file Config.php.
105 return $this->escaper->escapeHtml(
106 $this->scopeConfig->getValue(
107 self::XML_PATH_MSRP_EXPLANATION_MESSAGE,
111 [
'b',
'br',
'strong',
'i',
'u',
'p',
'span']
◆ getExplanationMessageWhatsThis()
getExplanationMessageWhatsThis |
( |
| ) |
|
Return Msrp explanation message for "Whats This" window
- Returns
- string
Definition at line 120 of file Config.php.
122 return $this->escaper->escapeHtml(
123 $this->scopeConfig->getValue(
124 self::XML_PATH_MSRP_EXPLANATION_MESSAGE_WHATS_THIS,
128 [
'b',
'br',
'strong',
'i',
'u',
'p',
'span']
◆ isEnabled()
Check if Minimum Advertised Price is enabled
- Returns
- bool @api
Definition at line 75 of file Config.php.
77 return (
bool)$this->scopeConfig->getValue(
78 self::XML_PATH_MSRP_ENABLED,
◆ setStoreId()
Set a specified store ID value
- Parameters
-
- Returns
- $this
Definition at line 63 of file Config.php.
◆ $escaper
◆ $scopeConfig
◆ $storeId
◆ $storeManager
◆ XML_PATH_MSRP_DISPLAY_ACTUAL_PRICE_TYPE
const XML_PATH_MSRP_DISPLAY_ACTUAL_PRICE_TYPE = 'sales/msrp/display_price_type' |
◆ XML_PATH_MSRP_ENABLED
const XML_PATH_MSRP_ENABLED = 'sales/msrp/enabled' |
#+ Minimum advertise price constants
Definition at line 18 of file Config.php.
◆ XML_PATH_MSRP_EXPLANATION_MESSAGE
const XML_PATH_MSRP_EXPLANATION_MESSAGE = 'sales/msrp/explanation_message' |
◆ XML_PATH_MSRP_EXPLANATION_MESSAGE_WHATS_THIS
const XML_PATH_MSRP_EXPLANATION_MESSAGE_WHATS_THIS = 'sales/msrp/explanation_message_whats_this' |
The documentation for this class was generated from the following file: