Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Commit 951b9bf

Browse files
committed
Release version 2.0.18
Add missing class ISSUE: CS-4446
1 parent 80b8ff7 commit 951b9bf

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
namespace SendCloud\SendCloud\Block\System\Config\Form;
4+
5+
use Magento\Config\Block\System\Config\Form\Field;
6+
7+
/**
8+
* Class DynamicCheckoutDeprecatedMessage
9+
*
10+
* @package SendCloud\SendCloud\Block\System\Config\Form
11+
*/
12+
class DynamicCheckoutDeprecatedMessage extends Field
13+
{
14+
protected $_template = 'system/config/form/general_message.phtml';
15+
16+
/**
17+
* @return string
18+
*/
19+
public function getText()
20+
{
21+
if (empty($this->_request->getParam('store'))) {
22+
return "";
23+
}
24+
25+
return __("We allow store view connections to Sendcloud for legacy purposes. Dynamic Checkout delivery methods are deprecated and would not receive any updates in the future. It is recommended to use the global connection to enable service point delivery. Please be aware if you keep both global and store view connection to Sendcloud, you may have double orders for that store.");
26+
}
27+
}

0 commit comments

Comments
 (0)