File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
app/code/Meta/BusinessExtension
Block/Adminhtml/System/Config
view/adminhtml/templates/system/config Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -202,4 +202,14 @@ public function getCommercePartnerIntegrationId()
202
202
{
203
203
return $ this ->systemConfig ->getCommercePartnerIntegrationId ($ this ->getStoreId ());
204
204
}
205
+
206
+ /**
207
+ * Retrieve the Commerce Partner External Business ID
208
+ *
209
+ * @return string
210
+ */
211
+ public function getExternalBusinessID ()
212
+ {
213
+ return $ this ->systemConfig ->getExternalBusinessId ($ this ->getStoreId ());
214
+ }
205
215
}
Original file line number Diff line number Diff line change 10
10
<p><b>DEBUG MODE</b></p>
11
11
<?php endif ; ?>
12
12
<?php if ($ block ->getIsFBEInstalled ()): ?>
13
+ <p>External Business ID: <?= $ escaper ->escapeHtml ($ block ->getExternalBusinessID ()) ?> </p>
13
14
<p>Commerce Account ID: <?= $ escaper ->escapeHtml ($ block ->getCommerceAccountId ()) ?> </p>
14
15
<p>Commerce Partner Integration ID: <?= $ escaper ->escapeHtml ($ block ->getCommercePartnerIntegrationId ()) ?> </p>
15
16
<p>Page ID: <?= $ escaper ->escapeHtml ($ block ->getPageId ()) ?> </p>
You can’t perform that action at this time.
0 commit comments