Skip to content

Commit 6cb4d1b

Browse files
authored
ENGCOM-5110: [Shipping] Adjusting the Contact Us Xpath #22823
2 parents c8fd5ca + 06e19f1 commit 6cb4d1b

File tree

1 file changed

+8
-2
lines changed
  • app/code/Magento/Shipping/Block/Tracking

1 file changed

+8
-2
lines changed

app/code/Magento/Shipping/Block/Tracking/Popup.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
use Magento\Framework\Stdlib\DateTime\DateTimeFormatterInterface;
1010

1111
/**
12+
* Tracking popup
13+
*
1214
* @api
1315
* @since 100.0.2
1416
*/
@@ -105,13 +107,15 @@ public function formatDeliveryTime($time, $date = null)
105107
*/
106108
public function getContactUsEnabled()
107109
{
108-
return (bool)$this->_scopeConfig->getValue(
109-
'contacts/contacts/enabled',
110+
return $this->_scopeConfig->isSetFlag(
111+
'contact/contact/enabled',
110112
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
111113
);
112114
}
113115

114116
/**
117+
* Get support email
118+
*
115119
* @return string
116120
*/
117121
public function getStoreSupportEmail()
@@ -123,6 +127,8 @@ public function getStoreSupportEmail()
123127
}
124128

125129
/**
130+
* Get contact us url
131+
*
126132
* @return string
127133
*/
128134
public function getContactUs()

0 commit comments

Comments
 (0)